Answers.Body: <p>The two devices that recorded the videos weren't synchronised together, so their clocks will drift over time.  There's no way to guarantee perfect synchronisation, but if you have audio recorded on both, you could use something like <a href="https://helpx.adobe.com/premiere-pro/using/create-multi-camera-source-sequence.html" rel="nofollow noreferrer">Premiere's multi-cam workflow</a> to sync the footage.  If it drifts, you'll have to do some manual editing and recutting to get it back into sync.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-12T11:07:17.647Z
Answers.Text: Thanks, hadn't thought of it that way.
Answers.UserDisplayName: user5688333
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-09T12:40:07.683Z
Answers.LastActivityDate: 2023-05-09T12:40:07.683Z
Answers.UserDisplayName: tomh
Body: <p>I'm trying to sync the audio and video of 2 different files, one is a 15 FPS webcam stream with audio and the other is a screen share with 5 FPS. This is an educational setting.</p>
  <p>I'm trying to do the math in my head on what causes the audio desync, is it the 10FPS difference?</p>
  <p>I first extracted the audio from the webcam mp4 and inserted it into the video using mkvmerge, then used handbrake to encode it in constant fps and it didn't work. I tried 5, 15 and 30 fps in handbrake.</p>
  <p>The question is, is there a way I can sync these by messing with FPS or some other property, or d I need to manually determine how desynced the audio is and manually shift it?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-12T15:16:23.567Z
Comments.Text: To repeat the answer, when files are recorded independently, they will almost always have sync issues. A full video editor is really the only solution if you must have perfect sync. In the future, an application that records both files and accounts for syncing along the way will save you this headache.
Comments.UserDisplayName: user3643
Tags: <audio><framerate><sync><handbrake>
Title: 2 video files, one has the audio with 15FPS, the other has the video with 5FPS, audio is out of sync
UserDisplayName: user5688333
ThreadText: # 2 video files, one has the audio with 15FPS, the other has the video with 5FPS, audio is out of sync
  
  (Asked by: username_0 on 2023-05-09)
  
  I'm trying to sync the audio and video of 2 different files, one is a 15 FPS webcam stream with audio and the other is a screen share with 5 FPS. This is an educational setting.
  
  I'm trying to do the math in my head on what causes the audio desync, is it the 10FPS difference?
  
  I first extracted the audio from the webcam mp4 and inserted it into the video using mkvmerge, then used handbrake to encode it in constant fps and it didn't work. I tried 5, 15 and 30 fps in handbrake.
  
  The question is, is there a way I can sync these by messing with FPS or some other property, or d I need to manually determine how desynced the audio is and manually shift it?
  
  **Tags:** audio, framerate, sync, handbrake
  
  > **Comments:**
  > **username_1**: To repeat the answer, when files are recorded independently, they will almost always have sync issues. A full video editor is really the only solution if you must have perfect sync. In the future, an application that records both files and accounts for syncing along the way will save you this headache.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-05-09. Score: 1 | Accepted answer
  
  The two devices that recorded the videos weren't synchronised together, so their clocks will drift over time. There's no way to guarantee perfect synchronisation, but if you have audio recorded on both, you could use something like [Premiere's multi-cam workflow](https://helpx.adobe.com/premiere-pro/using/create-multi-camera-source-sequence.html) to sync the footage. If it drifts, you'll have to do some manual editing and recutting to get it back into sync.
  
  > **Comments:**
  > **username_0**: Thanks, hadn't thought of it that way.  
  
  ---
  
  