[MPlayer-users] Re: Re: Cache doesn't refill
Nico Sabbi
nsabbi at tiscali.it
Mon Jun 14 08:33:13 CEST 2004
Stefan Seyfried wrote:
>On Fri, Jun 11, 2004 at 06:59:08PM +1000, Adam Nielsen wrote:
>
>
>>>MPlayer syncs video to the clock of the soundcard IIRC. If your
>>>soundcard is a bit too fast, your cache will run out sooner or later
>>>since the broadcast comes in with a steady framerate. It is well known
>>>that soundcards are pretty bad wrt their clock accuracy.
>>>
>>>
>>This should be pretty easy to test: mplayer -nosound. If there are no
>>cache underruns, it's definitely the sound card.
>>
>>
>
>not really. IIUC, mplayer -nosound is "free-wheeling" the video, based on
>rtc. But you cannot be sure that your RTC is the same as that of the
>broadcaster. You basically need to check if your cache is filling up or
>draining out slowly and adjust your playback speed (by resampling sound
>for example) to keep sync over a long time.
>VLC does this IIRC.
>
>
if only mplayer did sync to a master clock we could use the PCR :)
In any case with -nosound and using the RTC there are no problems:
yesterday I let mplayer play for hours without any underrun.
Nico
More information about the MPlayer-users
mailing list