Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 a separate video and audio file. The audio basically would cover only a part of the video. They differ greatly in length with the video being much longer. (My video is several hours long while the audio is 10 minutes.)

Is it possible with mplayer to seek the video to a given second to start, and start the external audio file from the beginning, synced to this point?

Note that I could do video editing but that's not my point, and I don't need a permanent solution.

What I've tried is e.g. mplayer -ss 1:30:00 -delay -5400 big_video.mkv -audiofile tiny_audio.flac but it hang. I've tried it with smaller values and the audio seemed to be seeked too, not just the video.

share|improve this question
If the audio is not synced, why don't you play it separately? – Karoly Horvath May 2 '13 at 12:44
@yi_H because I don't know how could I sync the video playback with the audio then. Playing separately may introduce a small delay at startup. The user (me:)) may also want to pause the playback, or do a fastforward or backward. – n611x007 May 2 '13 at 14:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.