[MPlayer-users] audio leads video

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jul 25 13:41:09 CEST 2009


Geoffrey Leach <geoff <at> hughes.net> writes:

> My problem. I am recording digital television off-the-air using an HD 
> HomeRun tuner, which produces an MPEG2 file. On some of the recordings 
> (from particular channels, all the time) when they are replayed using 
> mplayer (log attached) the audio leads the video by several seconds.

After reading the log, I suspect a better explanation would be:
Heavy, increasing A/V-desync although frames are dropped.
[...]

> The mplayer command being used is:
> 
> player -mc 0.2 -autosync 30 -dr -tskeepbroken -ao alsa::device=hw=0.3 
> -vo vdpau -vc ffmpeg2 -alang eng -zoom -fs foo.mp2

Could you test
mplayer -noconfig all foo.mp2
mplayer -noconfig all -demuxer lavf foo.mp2
mplayer -noconfig all -vc ffmpeg12vdpau foo.mp2
?
Watch the counter of dropped frames (on the right of the status line) to see for
which configuration your setup is not fast enough. I have an E8400 and a NVIDIA
video card as well, and it is possible to overload the system (720p60 is quite
some load).
You may want to watch the output of top at same time.

Carl Eugen




More information about the MPlayer-users mailing list