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

Ed Wildgoose lists at wildgooses.com
Sat Oct 30 14:01:56 CEST 2004


Hi Michael,


>>>my resampler is already supported, just try -af
>>>lavcresample=<samplerate>:<filter_length>:<linear_flag>:<polyphase_size>:<
>>>cutoff>
>>>      
>>>
>>Aha.  Interesting.  Can you provide the numbers for this filter to match
>>those that were in your test?
>>    
>>
>
>the code changed somewhat in the meantime so its not trivial ...
>but <samplerate>:32:1:10 or <samplerate>:32:0:14 might be similar
>  
>

I am just fiddling with this new resampler right now.  So far it looks 
pretty good, but I need to set things up a little better to do some back 
to back testing against the base setup.  CPU usage though is about the 
same with this resampler compared to the built in mplayer resampler

I have found one small bug though.  If I set the "linear_flag" to 1, and 
then try to resample from 48K to 44K, then the output is played back too 
slowly (as though it doesn't reduce the number of samples correctly)

Thanks

Ed W




More information about the MPlayer-dev-eng mailing list