[FFmpeg-cvslog] doc: add basic documentation for libdav1d

James Almer git at videolan.org
Tue May 21 00:21:51 EEST 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon May 20 18:18:33 2019 -0300| [e1839283bc9a660f65a0e828ca044d926cbaf5dc] | committer: James Almer

doc: add basic documentation for libdav1d

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1839283bc9a660f65a0e828ca044d926cbaf5dc
---

 doc/decoders.texi | 26 ++++++++++++++++++++++++++
 doc/general.texi  |  7 +++++++
 2 files changed, 33 insertions(+)

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
 
+ at 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}.
+
+ at subsection Options
+
+The following option is supported by the libdav1d wrapper.
+
+ at table @option
+
+ at item framethreads
+Set amount of frame threads to use during decoding. The default value is 0 (autodetect).
+
+ at item tilethreads
+Set amount of tile threads to use during decoding. The default value is 0 (autodetect).
+
+ at item filmgrain
+Apply film grain to the decoded video if present in the bitstream. The default value
+is true.
+
+ at 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}.
 
+ at 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.



More information about the ffmpeg-cvslog mailing list