diff options.c @ 11689:2312dfbe9251 libavcodec

Add intra refresh and crf-max support to the libavcodec libx264 wrapper. Minor version bump.
author darkshikari
date Thu, 06 May 2010 22:38:18 +0000
parents 3da317f52661
children 872971445121
line wrap: on
line diff
--- a/options.c	Thu May 06 20:38:42 2010 +0000
+++ b/options.c	Thu May 06 22:38:18 2010 +0000
@@ -411,6 +411,8 @@
 {"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},
 };