Version 4 (modified by 12 months ago) ( diff ) | ,
---|
dav1d
dav1d is an AV1 decoder which is much faster than libaom in BLFS. Note that unlike libaom, it does not contain an encoder.
Download link:
https://downloads.videolan.org/pub/videolan/dav1d/1.2.0/dav1d-1.2.0.tar.xz
Build process is simple MNNI.
TODO: Run the test suite
Use dav1d with libavif
Just append -DAVIF_CODEC_DAV1D=ON
to the cmake
command for libavif provided by the BLFS book.
Use dav1d with gstreamer
We need the gstreamer plugin for dav1d which is a part of gst-plugins-rs.
Download link: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/archive/0.10.7/gst-plugins-rs-0.10.7.tar.gz
Dependencies: dav1d, gst-plugins-base, rustc, and an Internet connection
Build and install process:
cd video/dav1d cargo build --release sudo install -vm755 ../../target/release/libgstdav1d.so /usr/lib/gstreamer-1.0
Note: The build process downloads crates from crates.io and gitlab.freedesktop.org.
With the dav1d plugin I can play 4K AV1 video smoothly, but with the libaom plugin many frames are dropped.