[FFmpeg-devel] [PATCH 2/5] fftools/cmdutils: Print filter input/output formats in help output

Soft Works softworkz at hotmail.com
Wed Oct 13 10:22:13 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Paul B Mahol
> Sent: Wednesday, October 13, 2021 9:18 AM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 2/5] fftools/cmdutils: Print
> filter input/output formats in help output
> 
> what about more complicated filters?

I guess you mean like this:

Filter amix
  Audio mixing.
    Inputs:
        dynamic (depending on the options)
    Outputs:
       #0: default (audio) [flt, fltp, dbl, dblp]
amix AVOptions:
  inputs            <int>        ..F.A...... Number of inputs. (from 1 to 32767) (default 2)
  duration          <int>        ..F.A...... How to determine the end-of-stream. (from 0 to 2) (default longest)
     longest         0            ..F.A...... Duration of longest input.
     shortest        1            ..F.A...... Duration of shortest input.
     first           2            ..F.A...... Duration of first input.
  dropout_transition <float>      ..F.A...... Transition time, in seconds, for volume renormalization when an input stream ends. (from 0 to INT_MAX) (default 2)
  weights           <string>     ..F.A....T. Set weight for each input. (default "1 1")
  normalize         <boolean>    ..F.A....T. Scale inputs (default true)


More information about the ffmpeg-devel mailing list