summaryrefslogtreecommitdiffstats
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-04-30 19:27:54 +0100
committerMark Thompson <sw@jkqxz.net>2017-08-20 12:56:24 +0100
commit9c878651dbc8c795894740af74670b591551f619 (patch)
treec0628af9daccaf2fcac85ba233f618eb78b8fc2a /doc/encoders.texi
parente7053f3316f53fc31d25384e3b6c89c96f8a5b20 (diff)
downloadffmpeg-streaming-9c878651dbc8c795894740af74670b591551f619.zip
ffmpeg-streaming-9c878651dbc8c795894740af74670b591551f619.tar.gz
vaapi_encode: Move quality option to common code
Use AVCodecContext.compression_level rather than a private option, replacing the H.264-specific quality option (which stays only for compatibility). This now works with the H.265 encoder in the i965 driver, as well as the existing cases with the H.264 encoder. (cherry picked from commit 19388a7200e5d99c703271f05dba1c806720e808)
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index f20be54..420c796 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -2554,7 +2554,13 @@ The following standard libavcodec options are used:
@item
@option{rc_init_occupancy} / @option{rc_initial_buffer_occupancy}
@item
+@option{compression_level}
+
+Speed / quality tradeoff: higher values are faster / worse quality.
+@item
@option{q} / @option{global_quality}
+
+Size / quality tradeoff: higher values are smaller / worse quality.
@item
@option{qmin}
(only: @option{qmax} is not supported)
@@ -2575,9 +2581,6 @@ The following standard libavcodec options are used:
@option{level} sets the value of @emph{level_idc}.
@table @option
-@item quality
-Set the local encoding quality/speed tradeoff (range 1-8, higher values are faster; not all
-systems implement all levels).
@item low_power
Use low-power encoding mode.
@end table
OpenPOWER on IntegriCloud