Closed JordanMcCulloch closed 3 years ago
I remember we discussed AV1
encoder/decoder alternatives with @Javernaut back in December 2019. One of the projects we talked about was dav1d and it was depending on meson
and ninja
. I was not very keen to depend on another build system in build scripts so I didn't make a change then.
These days, popularity of AV1
increases each day. So, I think we need to re-consider supporting alternative encoders/decoders. I don't know how fast is libaom 2.x
but I remember that libaom 1.x
was very slow and it was nearly impossible to use it.
Regarding the alternatives; there are two encoder alternatives (librav1e
, libsvtav1
) and two decoder alternatives (libsvtav1
, dav1d
). Do you know which of these are better than the other?
Thanks tanersener for looking into this!
Essentially, the comparisons online that are available are months old, and are therefore out of date due to the regular performance improvements being made.
Hence why enabling multiple will allow people to do their own tests. But in general:
[1] https://github.com/xiph/rav1e/releases/tag/v0.4.0 [2] https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/e55a80da3872bf7ee6523452c41b5f01817dad43 [3] https://code.videolan.org/videolan/dav1d/-/releases/0.8.0
please add libsvtav1
I'm not sure how we can add SVT-AV1
at the moment. SVT-AV1
doesn't support 32-bit architectures. They are not in the project scope. See AOMediaCodec/SVT-AV1/issues/1231.
Yeah, we can add support for libdav1d
.
I think updating libaom to the latest, and adding in libdav1d (decoder) and librav1e (encoder) would be an amazing base point.
@tanersener https://chromium.googlesource.com/codecs/libgav1/ libgav1 -- an AV1 decoder libgav1 is a Main profile (0) & High profile (1) compliant AV1 decoder. More information on the AV1 video format can be found at aomedia.org.
This project will be retired. Please consider switching to FFmpegKit. Support for libdav1d
is added in FFmpegKit
.
Description
Since AV1 is the successor to VP9, this is a simple request for both MobileFFmpeg AND MobileFFmpeg LTS to make use of the following AV1 releases:
1) Update 'libaom' to the latest version 2.0.1 [1] following steps in [2].
2) Add 'libsvtav1' support following steps in [4], as 'SVT-AV1' is regularly being improved by Netflix and Intel and is faster than 'libaom'.
3) Add 'librav1e' support following steps in [5], since 'rav1e' is even faster than 'libaom' under certain situations.
Environment
[1] https://aomedia.googlesource.com/aom/+/refs/tags/v2.0.1 [2] https://www.ffmpeg.org/general.html#Alliance-for-Open-Media-_0028AOM_0029 [3] https://trac.ffmpeg.org/wiki/Encode/AV1 [4] https://www.ffmpeg.org/general.html#SVT_002dAV1 [5] https://www.ffmpeg.org/general.html#rav1e