From e1839283bc9a660f65a0e828ca044d926cbaf5dc Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 20 May 2019 18:18:33 -0300 Subject: [PATCH] doc: add basic documentation for libdav1d Signed-off-by: James Almer --- 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 +@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.