diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-05-06 22:38:18 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-05-06 22:38:18 +0000 |
commit | e8c7fca90c7474e2352efcbf4d71e19a85abc238 (patch) | |
tree | 4a5b1675f07340eb0f4d71a0353f86b5ee16e152 /libavcodec/options.c | |
parent | 46174079c9c1e83048b278b3790cccddcacb2325 (diff) | |
download | ffmpeg-e8c7fca90c7474e2352efcbf4d71e19a85abc238.tar.gz |
Add intra refresh and crf-max support to the libavcodec libx264 wrapper.
Minor version bump.
Originally committed as revision 23038 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 6835352c30..3b50d2c689 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -411,6 +411,8 @@ static const AVOption options[]={ {"aq_strength", "specify aq strength", OFFSET(aq_strength), FF_OPT_TYPE_FLOAT, 1.0, 0, FLT_MAX, V|E}, {"rc_lookahead", "specify number of frames to look ahead for frametype", OFFSET(rc_lookahead), FF_OPT_TYPE_INT, 40, 0, INT_MAX, V|E}, {"ssim", "ssim will be calculated during encoding", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_SSIM, INT_MIN, INT_MAX, V|E, "flags2"}, +{"intra_refresh", "use periodic insertion of intra blocks instead of keyframes", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_REFRESH, INT_MIN, INT_MAX, V|E, "flags2"}, +{"crf_max", "in crf mode, prevents vbv from lowering quality beyond this point", OFFSET(crf_max), FF_OPT_TYPE_FLOAT, DEFAULT, 0, 51, V|E}, {NULL}, }; |