I'm having problems with mplayer. The audio is about 4-5 seconds slower than the actual video. I've tried -autosync, -speed, -fps, none of which help. Anyone have any ideas? No matter which video I play, I still have the same results. From the start of the video, the audio is lagged.

closed as unclear what you're asking by mdpc, sebasth, Rui F Ribeiro, dhag, Toby Speight Jan 30 '18 at 16:38

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Does this happen for all videos or just one? When you say "slower" do you mean the audio gradually desyncs or that it's an unchanging fixed time behind the picture from the very beginning? – roaima Jan 30 '18 at 0:12
  • Yes. All videos. It's slow from the beginning of the video. – ignatius Jan 31 '18 at 1:43
  • Please add that to your question, along with any other information you think is relevant. (Don't write here in the comments.) For example, is there a short video we can download that has this issue on your machine? The edit will trigger a review and if there's enough information people may vote to reopen. – roaima Jan 31 '18 at 7:56
  • If it happens in all the videos, a sound drive problem is likely. Mplayer development says, it is the problem of the sound hardware of the sound driver writers. My opinion is that mplayer is so sensitive for that only because it is a single-threaded app even today. Play with the options and if it doesn't work: 1) try another player 2) the better option, because mplayer is otherways really good: try to use some daemon-based solution for audio playing (pulseaudio, for example). The important thing is here, that mplayer should not lock while it writes for the data stream writing to the soundcard. – peterh Feb 2 '18 at 2:45
  • Btw, also also -framedrop or hardframedrop could help. – peterh Feb 2 '18 at 2:47

Browse other questions tagged or ask your own question.