Version 1.8 was released in December. Version 1.5 in portage does not work very well, I recompressed a x264 video and it got much bigger, while the current git sources do what I expect instead and create a much smaller video. Also, they heavily optimized speed (50%) and quality in version 1.6, 1.7 and 1.8. Please update the ebuild. Reproducible: Always
1.8.0 and 2.1.2 are available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay
(In reply to Ștefan Talpalaru from comment #1) > 1.8.0 and 2.1.2 are available in my overlay: > https://github.com/stefantalpalaru/gentoo-overlay Thank you, I tested it. I suggest to disable PGO and LTO for x86_32 builds since it is very slow. The 32 bit builds are not officially supported based on the warning emitted by CMake during the configuration, the question is whether we can disable `svt-av1` flag for ffmpeg for 32-bit builds only since it makes no sense, but on the other hand, we really want it for 64-bit builds...
> I suggest to disable PGO and LTO for x86_32 builds since it is very slow. Not as slow as it used to be. Anyway, you can either have a slow build or slow video encoding. If you're desperate enough to encode AV1 on a 32-bit machine - depriving yourself of all ASM optimisations - you might as well squeeze any performance you can out of LTO and PGO.
(In reply to Ștefan Talpalaru from comment #3) > > I suggest to disable PGO and LTO for x86_32 builds since it is very slow. > > Not as slow as it used to be. > > Anyway, you can either have a slow build or slow video encoding. If you're > desperate enough to encode AV1 on a 32-bit machine - depriving yourself of > all ASM optimisations - you might as well squeeze any performance you can > out of LTO and PGO. I do not care about 32 bit build but it is pulled by 32bit ffmpeg (multilib profile + 32bit wine). It seems that AVX512 is not enabled, I just got AVX2 in 64 bit ffmpeg when encoding a video on AMD 7950X.
Look into disabling the "svt-av1" ffmpeg USF flag and using the external SVT-AV1 encoder instead: https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Ffmpeg.md#piping-from-ffmpeg-into-the-standalone-encoder
(In reply to Ștefan Talpalaru from comment #5) > Look into disabling the "svt-av1" ffmpeg USF flag and using the external > SVT-AV1 encoder instead: > https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Ffmpeg.md#piping- > from-ffmpeg-into-the-standalone-encoder Thank you for a workaround, it works. I noticed that AVX512 is not enabled if PGO is enabled and the resulting performance is as a result slightly worse as it uses only AVX2.
> I noticed that AVX512 is not enabled if PGO is enabled Unrelated. AVX512 has its own USE flag ("cpu_flags_x86_avx512f") and it's one of those CPU-specific flags that you generate with "cpuid2cpuflags". See also https://wiki.gentoo.org/wiki/CPU_FLAGS_* (but I put that var in "make.conf", not in its own little file)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138b7cea22f55b10d94888a0c677dafb2ac20d97 commit 138b7cea22f55b10d94888a0c677dafb2ac20d97 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-12 03:06:17 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-12 03:29:41 +0000 media-libs/svt-av1: add 2.1.2 Prerequisite for handbrake update. Major version bump because they are moving to having soname increment when it is supposed to, and tying it to the major version. https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2099 Closes: https://bugs.gentoo.org/922694 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> media-libs/svt-av1/Manifest | 1 + media-libs/svt-av1/svt-av1-2.1.2.ebuild | 46 +++++++++++++++++++++++++++++++++ media-libs/svt-av1/svt-av1-9999.ebuild | 2 +- 3 files changed, 48 insertions(+), 1 deletion(-)