[MPlayer-users] Re: A-V sync problem of mplayer

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Apr 15 12:01:49 CEST 2006


David Jacques wrote:

>Hi,Nico Sabbi,
>  The file format is normal mpeg2 ts, it was recorded from a satellite card.
>  
>

as I suspected

>I think it is dealt by ~/libmpdemux/demux_ts.c and ~/libmpeg2.
>  
>
yes, it is.
The problem here is that mplayer decodes data as fast as it can
(ignoring the correlation between dts, pts and pcr), and sooner or later 
it will
starve for data, audio and video pts will diverge too much and you will 
have
an ugly still frame as "video stream".

I'm afraid that in order to fix this problem mplayer will have to be 
modified to
begin decoding only when the right "time" comes (pcr >= dts)




More information about the MPlayer-users mailing list