[FFmpeg-devel] [PATCH] avfilter: add multiband compand filter

Michael Niedermayer michael at niedermayer.cc
Sun May 14 04:40:40 EEST 2017


On Sat, May 13, 2017 at 10:05:35PM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  doc/filters.texi          |  16 ++
>  libavfilter/Makefile      |   1 +
>  libavfilter/af_mcompand.c | 672 ++++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c  |   1 +
>  4 files changed, 690 insertions(+)
>  create mode 100644 libavfilter/af_mcompand.c
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 5985db6..189831f 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -3064,6 +3064,22 @@ lowpass=c=LFE
>  @end example
>  @end itemize
>  
> + at section mcompand
> +Multiband Compress or expand the audio's dynamic range.
> +
> +The input audio is divided into bands using 4th order Linkwitz-Riley IIRs.
> +This is akin to the crossover of a loudspeaker, and results in flat frequency
> +response when absent compander action.
> +
> +It accepts the following parameters:
> +
> + at table @option
> + at item args
> +This option syntax is:
> +attack,decay,{attack,decay..} soft-knee points crossover_frequency [delay [initial_volume [gain]]] | attack,decay ...
> +For explanation of each item refer to compand filter documentation.
> + at end table
> +
>  @anchor{pan}
>  @section pan

this fails to build
doc/filters.texi:3079: misplaced {
doc/filters.texi:3079: misplaced }
doc/filters.texi:3079: misplaced {
doc/filters.texi:3079: misplaced }
make: *** [doc/ffplay-all.html] Error 1
make: *** Waiting for unfinished jobs....
make: *** [doc/ffprobe-all.html] Error 1
doc/filters.texi:3079: misplaced {
doc/filters.texi:3079: misplaced }
make: *** [doc/ffserver-all.html] Error 1
doc/filters.texi:3079: misplaced {
doc/filters.texi:3079: misplaced }
make: *** [doc/ffmpeg-all.html] Error 1


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Modern terrorism, a quick summary: Need oil, start war with country that
has oil, kill hundread thousand in war. Let country fall into chaos,
be surprised about raise of fundamantalists. Drop more bombs, kill more
people, be surprised about them taking revenge and drop even more bombs
and strip your own citizens of their rights and freedoms. to be continued
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170514/433dcf6c/attachment.sig>


More information about the ffmpeg-devel mailing list