[FFmpeg-devel] [PATCH 1/2] swresample/resample: use uniform normalization

Muhammad Faiz mfcc64 at gmail.com
Wed Mar 1 16:42:30 EET 2017


On Wed, Mar 1, 2017 at 9:24 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> this gives better frequency response
>
> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
> ---
>  libswresample/resample.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>

Test case, from 44100 to 705600 (16*44100)
ffmpeg -filter_complex "aevalsrc='if(n-300,0,1)',
aresample=osr=705600:filter_size=16" -f f32le - | ./freq-resp >
freq-resp.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freq-resp.c
Type: text/x-csrc
Size: 582 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170301/b3a00089/attachment.c>


More information about the ffmpeg-devel mailing list