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

Muhammad Faiz mfcc64 at gmail.com
Wed Mar 8 16:59:47 EET 2017


On Wed, Mar 8, 2017 at 7:15 PM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> On Wed, Mar 8, 2017 at 10:16 AM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>> On Tue, Mar 7, 2017 at 4:04 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>> On Mon, Mar 6, 2017 at 5:06 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>>> On Fri, Mar 3, 2017 at 3:58 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>>>> On Wed, Mar 1, 2017 at 10:24 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>>>>> this gives better frequency response
>>>>>>
>>>>>> update swresample fate and other fates
>>>>>> that depend on resampling
>>>>>>
>>>>>> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
>>>>>> ---
>>>>>>  libswresample/resample.c     |  14 +--
>>>>>>  tests/fate/libswresample.mak | 276 +++++++++++++++++++++----------------------
>>>>>>  tests/ref/acodec/roqaudio    |   2 +-
>>>>>>  tests/ref/acodec/s302m       |   6 +-
>>>>>>  tests/ref/lavf/dv_fmt        |   8 +-
>>>>>>  tests/ref/lavf/gxf           |   8 +-
>>>>>>  tests/ref/lavf/mxf           |  12 +-
>>>>>>  7 files changed, 163 insertions(+), 163 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
>>>>>
>>>>>
>>>>> gnuplot result attached
>>>>
>>>> ping
>>>
>>> I will push this tomorrow if no one object
>>>
>>> thanks
>>
>> Pushed
>
>
> This seems to have tripped up fate on some boxes, ie. here:
> http://fate.ffmpeg.org/report.cgi?time=20170308111534&slot=x86_64-netbsd-gcc46

Should be fixed at
https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=fe57bf7cd6ac8ffd8bcc398d50150cab1e55f84c

Thank's


More information about the ffmpeg-devel mailing list