[FFmpeg-user] bandpass filter question/remark

Olivier Langlois olivier at trillion01.com
Wed Mar 5 21:09:32 CET 2014


With this filter_complex "bandpass=f=2200:width_type=h:w=2000"

I get:

[bandpass @ 0x8e63e30] Value 2000.000000 for parameter 'w' out of range
[0 - 999]
    Last message repeated 1 times
[bandpass @ 0x8e63e30] Error setting option w to value 2000.
[Parsed_bandpass_0 @ 0x8e66300] Error applying options to the filter.
[AVFilterGraph @ 0x8e61b50] Error initializing filter 'bandpass' with
args 'f=2200:width_type=h:w=2000'

I want to use this filter to filter out anything that isn't voice. Am I
unreasonnable with my filter arguments?

By looking libavfilter/af_biquads.c, I have changed my arguments to

"bandpass=f=2200:width_type=q:w=1.1" which is a different way to express
the same thing and it did accept my params that way.




More information about the ffmpeg-user mailing list