<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>

CC BY-SA 3.0
2014-01-20T21:21:17.777Z
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?
eljefejb
CC BY-SA 3.0
2014-01-21T18:18:13.317Z
@eljefejb Refer to the [FFmpeg vpx (WebM) Encoding Guide](https://trac.ffmpeg.org/wiki/vpxEncodingGuide).
llogan
CC BY-SA 3.0
2014-01-20T18:37:07.203Z
2014-01-20T18:37:07.203Z
AJ Henderson
<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>

CC BY-SA 3.0
2014-01-20T19:15:38.827Z
Please show your actual `ffmpeg` commands and the complete `ffmpeg` console outputs. What player(s) and browser(s) are you testing the output with?
llogan
<ffmpeg>
How to keep audio and video in sync?
eljefejb
# 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).  

---

