summaryrefslogtreecommitdiff
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-02-10 19:46:54 +0000
committerMark Thompson <sw@jkqxz.net>2019-02-25 23:32:23 +0000
commitf4d7bd6cdbcf9027a36a73531baf7e3885644ee6 (patch)
tree3345e9cd8c8c8ee195d5a3179620be1e1cbbe90a /doc/encoders.texi
parent9d5ca71ec2efddfa0d30ae88db66fd0bd3f1f33b (diff)
vaapi_encode: Support more RC modes
Allow setting the mode explicitly, and try to make a sensible choice given the available parameters if not.
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index e86ae69cc5..29625ba07c 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -2824,6 +2824,30 @@ Set the B-frame reference depth. When set to one (the default), all B-frames
will refer only to P- or I-frames. When set to greater values multiple layers
of B-frames will be present, frames in each layer only referring to frames in
higher layers.
+
+@item rc_mode
+Set the rate control mode to use. A given driver may only support a subset of
+modes.
+
+Possible modes:
+@table @option
+@item auto
+Choose the mode automatically based on driver support and the other options.
+This is the default.
+@item CQP
+Constant-quality.
+@item CBR
+Constant-bitrate.
+@item VBR
+Variable-bitrate.
+@item ICQ
+Intelligent constant-quality.
+@item QVBR
+Quality-defined variable-bitrate.
+@item AVBR
+Average variable bitrate.
+@end table
+
@end table
Each encoder also has its own specific options: