чт, 14 дек. 2023 г., 03:24 Terje J. Hanssen <terjejhanssen@gmail.com>:


Den 14.12.2023 01:03, skrev Andrew Randrianasulu:
Installed SVT-AV1 1.5.0 from Slackbuilds on my Slackware 15.0 i586

it works, but at around 0.8 fps for 720p video

ffmpeg -i MLP_animation_sleepsong_IeIDCNS-VUw.webm -s 1280x720  -an -f yuv4mpegpipe   - | SvtAv1EncApp -i - -b mlp.ivf --passes 1 --rc 1 --tbr 1000


after looking at code I see all asm there is 64bit :)

this explains why it is much faster on x86_64.

Anyway, even 0.8 fps is ok for short (few mins) clips, I guess.

I did also notice:

The encoder supports a wide range of speed-efficiency tradeoffs and scales fairly well across many CPU cores.
https://trac.ffmpeg.org/wiki/Encode/AV1#SVT-AV1

Since SVT-AV1 is designed to scale well across cores/processors, fast encoding is best performed on machines with a sufficient number of threads.
https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Ffmpeg.md#example-1-fastrealtime-encoding

yeah, it encodes slightly faster on 8core arm/aarch64 tablet (up to 2.5 fps on 1440*1080p mpeg2 m2ts file).

Still, when I copied our av1.webp profile under different name and replaced libaom part of first line with libsvtav1 (and removed rest of options) encode never finished? It never made it past 96%

Not sure if it was termux-specific or cingg in general does not work with this specific encoder?

I also tried rav1e in same way - using shared ffmpeg build already available on termux. It also not worked :(