[MPlayer-users] feature requests

D Richard Felker III dalias at aerifal.cx
Tue Mar 22 06:11:53 CET 2005


On Mon, Mar 21, 2005 at 11:02:50PM -0600, Bret Hughes wrote:
> On Mon, 2005-03-21 at 22:37, D Richard Felker III wrote:
> > On Mon, Mar 21, 2005 at 10:04:43PM -0600, Bret Hughes wrote:
> 
> > > There are lots of different applications once you get away from the I am
> > > sitting at this computer and want to watch a dvd mindset.
> > 
> > Without sound, this all is pretty easy. The problem is that mplayer
> > uses sound as the timer, and syncs video to the soundcard's rate of
> > playing the audio. Drift happens when there are minor differences (or
> > major, with the crappy soundcards sold today...) in the clocks on the
> > soundcards so they don't run at the exact samplerate, but 0.1-1.0% off
> > or something...
> > 
> > A good player would be able to sync to an external reference clock
> > (this is actually needed for watching streaming media, btw) and
> > dynamically resample the sound to correct for soundcard errors.
> > Unfortunately mplayer can't do this.
> 
> I wonder, Is this an architectural issue or something that could be
> integrated at some future date.

It could be "fixed" with ugly hacks without too much trouble, I
suspect. Fixing it properly depends on a rewrite of mplayer.c IMO. :)

Rich




More information about the MPlayer-users mailing list