summaryrefslogtreecommitdiff
path: root/doc/encoders.texi
diff options
context:
space:
mode:
authorBohan Li <bohanli@google.com>2021-02-08 20:04:41 -0800
committerJan Ekström <jeebjp@gmail.com>2021-02-10 11:52:46 +0200
commit82aab8a4eec33ee92c92c7679a4d7e6f03b109b4 (patch)
treea90e0ae9ef3d1ed6e07923f2f3e541590f3d5410 /doc/encoders.texi
parente0fd35d867752e6fcc7329a7d4f5e5fc619f2634 (diff)
avcodec/libaomenc: add support for setting arbitrary libaom options
A new key & value API lets us gain access to newly added parameters without adding explicit support for them in our wrapper. Add an option utilizing this functionality in a similar manner to other encoder libraries' wrappers. Signed-off-by: Bohan Li <bohanli@google.com>
Diffstat (limited to 'doc/encoders.texi')
-rw-r--r--doc/encoders.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/encoders.texi b/doc/encoders.texi
index c2ba7d3e6f..8fb573c416 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1684,6 +1684,17 @@ Enable interintra compound. Default is true.
@item enable-smooth-interintra (@emph{boolean}) (Requires libaom >= v2.0.0)
Enable smooth interintra mode. Default is true.
+@item aom-params
+Set libaom options using a list of @var{key}=@var{value} pairs separated
+by ":". For a list of supported options, see @command{aomenc --help} under the
+section "AV1 Specific Options".
+
+For example to specify libaom encoding options with @option{-aom-params}:
+
+@example
+ffmpeg -i input -c:v libaom-av1 -b:v 500K -aom-params tune=psnr:enable-tpl-model=1 output.mp4
+@end example
+
@end table
@section libsvtav1