[FFmpeg-devel] [FFmpeg-cvslog] avfilter: add arbitrary audio FIR filter

Tobias Rapp t.rapp at noa-archive.com
Wed May 10 10:33:45 EEST 2017


On 10.05.2017 09:12, Muhammad Faiz wrote:
> On Wed, May 10, 2017 at 1:55 AM, Paul B Mahol <git at videolan.org> wrote:
>> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jan 26 17:03:08 2017 +0100| [49bbfb9d13936ee8bb7fee9983ca3710dc683a2e] | committer: Paul B Mahol
>>
>> avfilter: add arbitrary audio FIR filter
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>>
>>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49bbfb9d13936ee8bb7fee9983ca3710dc683a2e
>> ---
>>
>>  configure                      |   3 +
>>  doc/filters.texi               |  43 ++++
>>  libavfilter/Makefile           |   1 +
>>  libavfilter/af_afir.c          | 535 +++++++++++++++++++++++++++++++++++++++++
>>  libavfilter/af_afir.h          |  83 +++++++
>>  libavfilter/allfilters.c       |   1 +
>>  libavfilter/version.h          |   2 +-
>>  libavfilter/x86/Makefile       |   2 +
>>  libavfilter/x86/af_afir.asm    |  60 +++++
>>  libavfilter/x86/af_afir_init.c |  35 +++
>>  10 files changed, 764 insertions(+), 1 deletion(-)
>>
>>  [...]
>
> segfault with this filtergraph
>
> aevalsrc        = 'if(n, 0, 1)',
> firequalizer    =
>     delay       = 0.023:
>     fixed       = off:
>     wfunc       = nuttall:
>     gain        = 'if(between(f, 1000, 5000), -INF, 0)',
> atrim = end_sample = 2048 [ir];
>
> aevalsrc='0.5*sin(3000*t*t)':d=10.3 [data];
>
> [data][ir]
> afir

Not really related to this report, but in general it would be nice to 
have some fate tests for the afir filter.

Regards,
Tobias



More information about the ffmpeg-devel mailing list