[MPlayer-dev-eng] [PATCH] fix for -srate bug

Ed Wildgoose lists at wildgooses.com
Wed Oct 20 01:06:10 CEST 2004


>>Thanks for the thoughts.  However, I am still interested in your 
>>thoughts on how to use the lavc resampler?
>>    
>>
>
>i don't know how to use it since i haven't examined the code. but i'm
>fairly sure it will be both faster and and same or better quality than
>both mplayer's current code and libsamplerate.
>  
>

Can you take a look at Michael Niedermayer's post to this thread.  He 
has done a very interesting comparison of libsample rate and lavc (or at 
least that's what I think he has done?).

His conclusion seems to be that the lavc resampler is very fast and has 
pretty decent quality, but fails due to running at 16bit resolution (I 
assume this means 16 bit internally, since I think libsamplerate still 
spits out 16 bit output if that's what you feed in).  SNR is 
correspondingly reduced.

To me, the output quality is not as good resampled as it is at native 
rates (but I think it need not be like that).  Since we now seem to be 
agree that we are talking about only a few percent CPU on a pentium 500 
to do audio resampling, then I don't think it's unworkable to consider 
investigating an option to trade a little CPU for higher quality audio? 
(But not forcing it on those who dont want it of course)

Curious as to whether you have any thoughts on this?

Ed W




More information about the MPlayer-dev-eng mailing list