Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an H.264 video stream and an AAC audio stream that are to be multiplexed into an MKV file. I've got this going mostly fine using mkvmerge on Linux, however for each set of streams I find that the audio stream is too fast, by 1 second per hour. These videos are 2.5 hours end to end so by the end the audio is 2.5 seconds ahead.

I know that the audio is fast, as opposed to the video being slow, but for that comparatively tiny offset, I don't really care which of the two streams is changed, but can anyone suggest a method under Linux that can force these two streams to be exactly the same length?

share|improve this question

I suspect the easiest way to achieve that would be to just mux in the video with a slightly higher frame rate. That should have the effect of slightly increasing the speed of the video.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .