diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-08-09 16:44:12 +0400 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-08-12 16:09:59 +0400 |
commit | 69c4bee8fa56e5da7fc30198c7c1352c6c4a55c0 (patch) | |
tree | ad6cec35cac202201e4b4e2875d99f5e9f2f917b /libavcodec/libx264.c | |
parent | d70e51225062239c250ab6bc935b9711cf97c615 (diff) |
libx264: Include hint for possible values for configuring libx264
The output of the x264 commandline tool contains the most uptodate
description of the possible values for the -preset, -tune and -profile
options.
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r-- | libavcodec/libx264.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index bcf8b1f688..fea67f164a 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -362,10 +362,10 @@ static av_cold int X264_init(AVCodecContext *avctx) #define OFFSET(x) offsetof(X264Context, x) #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "preset", "Set the encoding preset", OFFSET(preset), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, - { "tune", "Tune the encoding params", OFFSET(tune), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, - { "profile", "Set profile restrictions", OFFSET(profile), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, - { "fastfirstpass", "Use fast settings when encoding first pass", OFFSET(fastfirstpass), FF_OPT_TYPE_INT, { 1 }, 0, 1, VE}, + { "preset", "Set the encoding preset (cf. x264 --fullhelp)", OFFSET(preset), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, + { "tune", "Tune the encoding params (cf. x264 --fullhelp)", OFFSET(tune), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, + { "profile", "Set profile restrictions (cf. x264 --fullhelp) ", OFFSET(profile), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE}, + { "fastfirstpass", "Use fast settings when encoding first pass", OFFSET(fastfirstpass), FF_OPT_TYPE_INT, { 1 }, 0, 1, VE}, { NULL }, }; |