News for hackers. Stuff that matters.
Re:AV1 Video Codec by sli on Monday May 09, 2022 @10:12PM (#31322594)
Funny seeing this here. I was playing with ffmpeg settings earlier and decided to encode a game highlight with AV1. It's only 20 seconds and seven hours later, it's just about done. I'm certain I can twiddle more settings to make it faster, but at this point I can't give in to the slow speed. Only ~21 frames to go!
Re:AV1 Video Codec by someemptyspace on Monday May 09, 2022 @10:51PM (#31322877)
The ffmpeg page for AV1[1] seems to recommend the SVT-AV1 encoder. Using the SVT-AV1 encoder and -crf 17 I was able to get an 8x encoding speed (about 250 FPS) with a very basic set of options similar to this:

ffmpeg -i input.mp4 -c:a copy -c:v libsvtav1 -crf 17 svtav1_test.mp4

Hopefully using the SVT-AV1 encoder helps speed up your encoding.

[1]: https://trac.ffmpeg.org/wiki/Encode/AV1

Re:AV1 Video Codec by espadrine on Tuesday May 10, 2022 @07:46AM (#31325920)
I concur, both options help a lot. I noticed that the ffmpeg packages are sometimes a bit outdated, yielding a gigantic gap between what the stock ffmpeg can do, and what a freshly compiled one does.

Also, having more cores helps a lot with SVT-AV1.

Re:AV1 Video Codec by btdmaster on Tuesday May 10, 2022 @03:00AM (#31324332)
Re:AV1 Video Codec by prvc on Tuesday May 10, 2022 @12:19AM (#31323410)
For some reason, none of the AV1 encoders choose sensible (practically useful without adjustment) settings as the default, but such settings do exist, rest assured.
Re:AV1 Video Codec by userbinator on Monday May 09, 2022 @10:44PM (#31322822)
I've only played with some of the earlier codecs and studied them in detail, but I wonder what exactly makes it so slow? Is it basically doing a lot of bruteforcing to find the best way to compress each frame?
Re:AV1 Video Codec by adgjlsfhk1 on Monday May 09, 2022 @11:46PM (#31323214)
yes.
Re:AV1 Video Codec by hoseja on Tuesday May 10, 2022 @02:24AM (#31324080)
Probably worth it at scale.
Re:AV1 Video Codec by ddorian43 on Tuesday May 10, 2022 @03:43AM (#31324559)