Answers.Body: <p>It sounds like the video frame rate probably got messed up.  You need to make sure you compress the video to the same framerate in webm as the source is.  Also, m4v and mp4 are synonyms, you don't need to alter the file, you can just change the extension.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-01-20T21:21:17.777Z
Answers.Text: Hi AJ, simply changing the file extension worked for the m4v and mp4 conversion! Thanks! And I did notice that the images in the webm version were kind of ugly. Looks like my mp4 file has a bitrate of 241 kb/s, and the webm (I didn't specify any options in the command) came out at 79. How do I keep them the same?
Answers.UserDisplayName: eljefejb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-01-21T18:18:13.317Z
Answers.Text: @eljefejb Refer to the [FFmpeg vpx (WebM) Encoding Guide](https://trac.ffmpeg.org/wiki/vpxEncodingGuide).
Answers.UserDisplayName: llogan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-01-20T18:37:07.203Z
Answers.LastActivityDate: 2014-01-20T18:37:07.203Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I have a few videos I have to convert for a website. They are PowerPoint slides with a narration track over top. The originals I have to work with are in m4v format. I have converted them to mp4 and webm, but it seems like the video in the converted files plays too quickly. The audio doesn't match up. I used ffmpeg to convert to mp4 format. Is there an option I could pass in to keep the audio and video together?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-01-20T19:15:38.827Z
Comments.Text: Please show your actual `ffmpeg` commands and the complete `ffmpeg` console outputs. What player(s) and browser(s) are you testing the output with?
Comments.UserDisplayName: llogan
Tags: <ffmpeg>
Title: How to keep audio and video in sync?
UserDisplayName: eljefejb
ThreadText: # How to keep audio and video in sync?
  
  (Asked by: username_0 on 2014-01-20)
  
  I have a few videos I have to convert for a website. They are PowerPoint slides with a narration track over top. The originals I have to work with are in m4v format. I have converted them to mp4 and webm, but it seems like the video in the converted files plays too quickly. The audio doesn't match up. I used ffmpeg to convert to mp4 format. Is there an option I could pass in to keep the audio and video together?
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: Please show your actual `ffmpeg` commands and the complete `ffmpeg` console outputs. What player(s) and browser(s) are you testing the output with?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-01-20. Score: 1
  
  It sounds like the video frame rate probably got messed up. You need to make sure you compress the video to the same framerate in webm as the source is. Also, m4v and mp4 are synonyms, you don't need to alter the file, you can just change the extension.
  
  > **Comments:**
  > **username_0**: Hi AJ, simply changing the file extension worked for the m4v and mp4 conversion! Thanks! And I did notice that the images in the webm version were kind of ugly. Looks like my mp4 file has a bitrate of 241 kb/s, and the webm (I didn't specify any options in the command) came out at 79. How do I keep them the same?  
  > **username_1**: @username_0 Refer to the [FFmpeg vpx (WebM) Encoding Guide](https://trac.ffmpeg.org/wiki/vpxEncodingGuide).  
  
  ---
  
  