[MPlayer-users] Re: Re: Cache doesn't refill

Stefan Seyfried seife at gmane0305.slipkontur.de
Mon Jun 14 02:29:17 CEST 2004


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.
-- 
Stefan Seyfried




More information about the MPlayer-users mailing list