[FFmpeg-devel] [PATCH] avutil/opt: display a better default value for int/int64 options
Clément Bœsch
u at pkh.me
Sun Oct 18 16:14:51 CEST 2015
On Sat, Oct 17, 2015 at 05:24:03PM +0200, Moritz Barsnick wrote:
> 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. ;)
I'm not sure this is a good idea; it might encourage people to use these
numbers.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151018/30e29450/attachment.sig>
More information about the ffmpeg-devel
mailing list