[Mplayer-users] changing audio playback rate

Oskar Liljeblad osk at hem.passagen.se
Fri Apr 20 00:58:00 CEST 2001


On Friday, April 20, 2001 at 00:34, Arpi wrote:
[..]
> > physical      mplayer
> > time          output
> > 00:00:00   => A:   2.7  V:   2.7  A-V:  0.002  ct: -0.007   66  37%   5%  5.8% 
> > 00:01:00   => A:  57.6  V:  57.6  A-V:  0.002  ct: -0.025  1381  29%   5%  5.0% 
> Hmm, it's interesting. there is no A-V correction... so it means that audio
> and video are in sync. but it differs from realtime, so your audio card runs
> on different rate than it was initialized to.
> 
> what to do?
> 1. try with -noalsa option (it disables timer)

No effect...

00:00:00  A:  18.1  V:  18.1  A-V:  0.002  ct:  0.079  436  30%   5%  5.0% 
00:00:30  A:  45.3  V:  45.3  A-V:  0.003  ct:  0.026  1086  29%   4%  4.9% 

> 2. measure time with stopwatch using mplayer -nosound

Hm, this fixed the timing problem!

00:00:00 V:   3.3   81  35%   5%  0.0% 
00:00:30 V:  32.5  781  29%   5%  0.0% 

I find it strange though that xine plays the audio at correct
rate (I think), and so does Windoze media player...
If there's another DIVX player for linux I'll try it...

> i'm very interested in the results.
[..]
> > My guess would be that mplayer has messed up timing somehow...
> timing is based on your audio card. so it plays at wrong rate, it will
> mess up the whole timing. if you use -nosound, then system timer will be
> used.
> 
> > Want a piece of the DivX file?
> I think it plays well for me. But upload it to thot.banki.hu, i'll check.

It should be there now, oskie-20010420.avi (8000000 bytes).

thanks,
Oskar (osk at hem.passagen.se)

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list