summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-05-20 18:18:33 -0300
committerJames Almer <jamrial@gmail.com>2019-05-20 18:21:33 -0300
commite1839283bc9a660f65a0e828ca044d926cbaf5dc (patch)
tree2e75a26c12d489a9b7ed485cae77b9de3b79a4a3
parent8d9910a23ab3433dbbddb9076129745f6964c1c4 (diff)
doc: add basic documentation for libdav1d
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--doc/decoders.texi26
-rw-r--r--doc/general.texi7
2 files changed, 33 insertions, 0 deletions
diff --git a/doc/decoders.texi b/doc/decoders.texi
index 704bd60b9f..0582b018b0 100644
--- a/doc/decoders.texi
+++ b/doc/decoders.texi
@@ -47,6 +47,32 @@ top-field-first is assumed
@end table
+@section libdav1d
+
+dav1d AV1 decoder.
+
+libdav1d allows libavcodec to decode the AOMedia Video 1 (AV1) codec.
+Requires the presence of the libdav1d headers and library during configuration.
+You need to explicitly configure the build with @code{--enable-libdav1d}.
+
+@subsection Options
+
+The following option is supported by the libdav1d wrapper.
+
+@table @option
+
+@item framethreads
+Set amount of frame threads to use during decoding. The default value is 0 (autodetect).
+
+@item tilethreads
+Set amount of tile threads to use during decoding. The default value is 0 (autodetect).
+
+@item filmgrain
+Apply film grain to the decoded video if present in the bitstream. The default value
+is true.
+
+@end table
+
@section libdavs2
AVS2-P2/IEEE1857.4 video decoder wrapper.
diff --git a/doc/general.texi b/doc/general.texi
index d2324612c2..ec437230e3 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -97,6 +97,13 @@ Raw codec2 files are also supported.
To make sense of them the mode in use needs to be specified as a format option:
@code{ffmpeg -f codec2raw -mode 1300 -i input.raw output.wav}.
+@section dav1d
+
+FFmpeg can make use of the dav1d library for AV1 video decoding.
+
+Go to @url{https://code.videolan.org/videolan/dav1d} and follow the instructions for
+installing the library. Then pass @code{--enable-libdav1d} to configure to enable it.
+
@section davs2
FFmpeg can make use of the davs2 library for AVS2-P2/IEEE1857.4 video decoding.