[FFmpeg-devel] [PATCH] avutil/opt: display a better default value for int/int64 options

Moritz Barsnick barsnick at gmx.net
Sat Oct 17 17:24:03 CEST 2015


On Sat, Oct 17, 2015 at 14:54:31 +0200, Clément Bœsch wrote:
> % ./ffmpeg -h encoder=aac
>   -aac_coder         <int>        E...A... Coding algorithm (from -1 to 3) (default twoloop)
>      faac                         E...A... FAAC-inspired method
>      anmr                         E...A... ANMR method
>      twoloop                      E...A... Two loop searching method
>      fast                         E...A... Constant quantizer

If it could also map the numbers ("from -1 to 3") to the enumerated
values, it would make it a lot easier to understand:

>   -aac_coder         <int>        E...A... Coding algorithm (from -1 to 3) (default twoloop (2))
>      faac (0)                     E...A... FAAC-inspired method
>      anmr (1)                     E...A... ANMR method
>      twoloop (2)                  E...A... Two loop searching method
>      fast (3)                     E...A... Constant quantizer

Or something like that - I'm not sure in what format I would actually
want to see it. No patch provided either, sorry. ;)

Moritz


More information about the ffmpeg-devel mailing list