[FFmpeg-devel] [PATCH] libx264: list available presets

Nicolas George nicolas.george at normalesup.org
Fri Jul 13 08:18:05 CEST 2012

Le quintidi 25 messidor, an CCXX, Lou Logan a écrit :
> +Use a preset to select encoding settings. Possible values are (in
> +descending order of speed): ultrafast, superfast, veryfast, faster,
> +fast, medium, slow, slower, veryslow, placebo. Default is "medium".

> +    { "preset",        "Select encoding preset: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo. (cf. x264 --fullhelp)",   OFFSET(preset),        AV_OPT_TYPE_STRING, { .str = "medium" }, 0, 0, VE},

Including the full list will only mean that it will become out-of-sync at
some point in the future when they add new ones. Probably soon, according to
Murphy's law.

IMHO, the second best solution would be to point to x264 docs on their
website... except they do not have docs on their website. The best I can
find is this:
(the #l486 will go out of sync, but not by much and that is less a problem).

The best solution would be to get libx264 to return the list of profiles, or
possibly even better the help text too.

Also, there is the same problem with profiles and tunes.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120713/06225fca/attachment.asc>

More information about the ffmpeg-devel mailing list