mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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.
This commit is contained in:
parent
d70e512250
commit
69c4bee8fa
@ -362,10 +362,10 @@ static av_cold int X264_init(AVCodecContext *avctx)
|
|||||||
#define OFFSET(x) offsetof(X264Context, x)
|
#define OFFSET(x) offsetof(X264Context, x)
|
||||||
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
|
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
|
||||||
static const AVOption options[] = {
|
static const AVOption options[] = {
|
||||||
{ "preset", "Set the encoding preset", OFFSET(preset), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE},
|
{ "preset", "Set the encoding preset (cf. x264 --fullhelp)", 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},
|
{ "tune", "Tune the encoding params (cf. x264 --fullhelp)", OFFSET(tune), FF_OPT_TYPE_STRING, { 0 }, 0, 0, VE},
|
||||||
{ "profile", "Set profile restrictions", OFFSET(profile), 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},
|
{ "fastfirstpass", "Use fast settings when encoding first pass", OFFSET(fastfirstpass), FF_OPT_TYPE_INT, { 1 }, 0, 1, VE},
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user