summaryrefslogtreecommitdiffstats
path: root/libavcodec/options.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2011-04-11 17:00:35 -0700
committerMichael Niedermayer <michaelni@gmx.at>2011-04-12 03:54:28 +0200
commit8eeed0db05966e94bfff53b2010b8c7d4e52e3f9 (patch)
treeb101ba746167b11ec948958fd1af9542dfefdbf8 /libavcodec/options.c
parenta299a261de798ddc694111e539c32f0413a02bd8 (diff)
downloadffmpeg-streaming-8eeed0db05966e94bfff53b2010b8c7d4e52e3f9.zip
ffmpeg-streaming-8eeed0db05966e94bfff53b2010b8c7d4e52e3f9.tar.gz
vpxenc: add CQ_LEVEL mapping
via the equivalent AVCodecContext::crf modifying the range allowed by options.c (0-51 -> 0-63) update configure check to require libvpx 0.9.6 (Bali) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r--libavcodec/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c
index 404398f..c749f43 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -367,7 +367,7 @@ static const AVOption options[]={
{"all" , NULL, 0, FF_OPT_TYPE_CONST, AVDISCARD_ALL , INT_MIN, INT_MAX, V|D, "avdiscard"},
{"bidir_refine", "refine the two motion vectors used in bidirectional macroblocks", OFFSET(bidir_refine), FF_OPT_TYPE_INT, 1, 0, 4, V|E},
{"brd_scale", "downscales frames for dynamic B-frame decision", OFFSET(brd_scale), FF_OPT_TYPE_INT, DEFAULT, 0, 10, V|E},
-{"crf", "enables constant quality mode, and selects the quality (x264)", OFFSET(crf), FF_OPT_TYPE_FLOAT, DEFAULT, 0, 51, V|E},
+{"crf", "enables constant quality mode, and selects the quality (x264/VP8)", OFFSET(crf), FF_OPT_TYPE_FLOAT, DEFAULT, 0, 63, V|E},
{"cqp", "constant quantization parameter rate control method", OFFSET(cqp), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, V|E},
{"keyint_min", "minimum interval between IDR-frames (x264)", OFFSET(keyint_min), FF_OPT_TYPE_INT, 25, INT_MIN, INT_MAX, V|E},
{"refs", "reference frames to consider for motion compensation (Snow)", OFFSET(refs), FF_OPT_TYPE_INT, 1, INT_MIN, INT_MAX, V|E},
OpenPOWER on IntegriCloud