← Home ← Back to /g/

Thread 107159362

42 posts 30 images /g/
Anonymous No.107159362 [Report] >>107159393 >>107162525 >>107162641 >>107164542 >>107168489
ITT: We discuss AV1 compression of 4K UHD blu-rays.

Given how much the SVT-AV1 encoder has been improving over the years we're at a point where even low end CPUs make it possible to compress 4K video at acceptable speeds. I found a test file great for testing encodes on that has a lot of motion.

blu-ray 4K UHD test file specs: 10-bit HEVC, ~67 Mbps, 2 minutes 25 seconds, ~1.1 GB
https://thedigitaltheater.com/greenland-migration-2026-trailer-page/

quick SVT-AV1 encode parameters: ffmpeg -i input.mkv -c:v libsvtav1 -pix_fmt yuv420p10le -preset 8 -crf 20 -c:a libopus -b:a 192k -ac 2 AV1_10b_crf20_preset_8.webm
SVT-AV1 encode bitrate/filesize: ~7 Mbps/ ~0.1 GB
SVT-AV1 PSNR: 48.6685 dB
SVT-AV1 encode SSIM: 0.9893
https://files.catbox.moe/twi2kn.webm

This was encoded on a 2019 35W i5-9500T (6 cores at 2.2-3.7 GHz) which achieved an encode speed of about 15 FPS encoding 4K UHD 10-bit AV1 video at preset 8.
Anonymous No.107159383 [Report] >>107162729
It's honestly fucking nuts that AV1 makes it possible to compress massive 4K UHD video that ISN'T anime down to less than 10 Mbps with little quality degradation. According to this chart there should only be a small amount of quality loss bordering on being visually lossless (we can't tell the source and lossy encode apart).
Anonymous No.107159393 [Report] >>107159425
>>107159362 (OP)
A bit unrelated, is av1 decode with ffplay good enough to be ran on CPU? Only the latest GPUs use it, but I don't see myself selling my 2080Ti for AV1.
Anonymous No.107159425 [Report] >>107159441
>>107159393
My free chink phone played the AV1 encode just fine. I don't see software AV1 playback being a problem unless it's like a dual-core pentium. Most 4K smart TVs definitely won't be able to handle it but slap on a intel N100 or better mini PC on that bad boy and you're golden.

https://openbenchmarking.org/test/pts/dav1d
Anonymous No.107159441 [Report] >>107159494
>>107159425
Lmao, ok, i had an HDR10 av1 file and my chink smart tv was not happy with it. I guess even an i7 skylake should be able to do it just fine.
Anonymous No.107159479 [Report] >>107159494
ai generated dogshit encoding settings
Anonymous No.107159482 [Report] >>107159494
kys DAIZ
Anonymous No.107159494 [Report]
>>107159441
Sadly mpeg-la probably tried to sabotage AV1 and did everything they could to shill their stillborn VVC fetus which probably caused a lot of OEMs to not adopt AV1 hardware early on thinking VVC was going to succeed.

>>107159479
>>107159482
Hello VVC shills, what took you so long?
Anonymous No.107159502 [Report] >>107159509 >>107159738 >>107169243
let's see libaom's performance
Anonymous No.107159506 [Report]
>>107158868
kekkkkk kill yourself frogposter
Anonymous No.107159509 [Report]
>>107159502
Holy shit, that motherfucker would probably give you 0.99+ SSIM at ~5Mbps for 4K. I salute the brave anon who will wait a day for the encode to finish.
Anonymous No.107159738 [Report]
>>107159502
To my eyes AOM looked blockier than SVT without any additional detail retention, on some testing I did with full HD anime, 4K live action and some SD DVDs roughly 5-8 months ago (SVT-AV1 3.0.2).

I'll take new screenshots later today, gotta zzZZZ
Anonymous No.107159845 [Report] >>107159906
Can a C2D comfortably play AV1?
Anonymous No.107159906 [Report]
>>107159845
Not 4K AV1. Maybe 720p if you overclock a little.
Anonymous No.107161150 [Report] >>107161260 >>107162429 >>107162517
what's the appeal of this?
What do anons find so appealing about ffmpeg / video encoding?
I don't watch movies or have a high resolution monitor.
Anonymous No.107161260 [Report]
>>107161150
they are unemployed and have nothing to fill their day with
Anonymous No.107162429 [Report]
>>107161150
UHD blu-rays are massive, 60-80 GB so you can't store many of them per TB of space. Compressing them with a small hit to quality allows you to store 10X more per TB.

Also even if you're too poor for a 4K monitor/TV it's nice future proofing for when you can.
Anonymous No.107162517 [Report] >>107162953
>>107161150
Also the thought of software compressing 4K used to be a joke because 10 years ago all we had was x265 which required $1,000+ CPUs if you wanted more than 1 FPS encode speed.
Anonymous No.107162525 [Report] >>107162601
>>107159362 (OP)
>We discuss AV1
you need AV2 https://aomedia.org/press%20releases/AOMedia-Announces-Year-End-Launch-of-Next-Generation-Video-Codec-AV2-on-10th-Anniversary/
Anonymous No.107162601 [Report] >>107162610
>>107162525
I doubt AV2 will encode 4K quickly on 10 year old CPUs. Also why the hell do you need 4K movies to be smaller than 5-7 GB currently already possible with AV1?

I genuinely don't see the use case for AV2 until we get to 8K and even then we'll still use AV1 for that for a while.
Anonymous No.107162610 [Report]
>>107162601
>why the hell do you need 4K movies to be smaller than 5-7 GB currently already possible with AV1?
storage prices are increasing again now so saving space is good
Anonymous No.107162641 [Report] >>107162646 >>107162729 >>107164894 >>107168343
>>107159362 (OP)
How do you use ffmpeg to get vmaf score? I just do ffmpeg -i target.mp4 -i master.mp4 -lavfi vmaf -f null, but some sources specify vmaf options as well.
Anonymous No.107162646 [Report] >>107162658 >>107164665
>>107162641
>vmaf
vvhite male asian female
Anonymous No.107162658 [Report]
>>107162646
noooo
Anonymous No.107162729 [Report]
>>107162641
It's better to use the github vmaf from netflix directly but SSIM scores above 0.99 are still good rough approximations of the upper high quality stratos of video codec quality. See >>107159383
Anonymous No.107162852 [Report]
Shame we can't post the AV1 WebMs normally
Anonymous No.107162953 [Report]
>>107162517
you still need that for more than 1fps in slow or slower
Anonymous No.107164542 [Report] >>107164656
>>107159362 (OP)
Some heterosexual encoding parameters, for people with big-boy CPUs:

ffmpeg -hwaccel auto -y -i twi2kn.webm -c:a libopus -c:v libsvtav1 -preset 4 -crf 47 -g 240 -pix_fmt yuv420p10le -svtav1-params tune=0:film-grain=8 twi2kn.mkv
(989 kb/s overall bit rate, with incredible visual quality. Seriously, you need to see this yourself.)

ffmpeg -i twi2kn.mkv -i twi2kn.webm -filter_complex "psnr" -f null /dev/null
(average:26.129893)

ffmpeg -i twi2kn.mkv -i twi2kn.webm -filter_complex "ssim" -f null /dev/null
(All:0.947495)
Anonymous No.107164656 [Report] >>107164736
>>107164542
>-hwaccel
>libsvtav1
????

Also 0.99+ SSIM or go bust.
Anonymous No.107164665 [Report]
new av1-svt release when? they merged a bunch of the av1-svt-psy shit into the mainline which is actually great. I don't want to have to use someone's fork to do that shit.
>>107162646
glad I'm not the only brain-poisoned moron who's had this thought
Anonymous No.107164736 [Report]
>>107164656
>>-hwaccel
That's for GPU decoding. Frees a bit more CPU for encoding.
>0.99+ SSIM
Useless. I'm not doing archiving here.
Anonymous No.107164894 [Report] >>107168343
>>107162641
github gdavila/easyVmaf
Anonymous No.107166639 [Report]
Bumping because nothing else good on 4chan rite nao
Anonymous No.107168343 [Report] >>107168528
>>107162641
>>107164894
VMAF
or
SSIM
or
PSNR
for med-high quality???...are there any tool doing video comparisons using SSIMULACRA2?
Anonymous No.107168489 [Report] >>107168540
>>107159362 (OP)
>SVT-AV1 encode SSIM: 0.9893

It's less than 0.99 though
Anonymous No.107168528 [Report] >>107168932
>>107168343
SS2 is for images and VMAF is for video. Your eyeballs are the ultimate judge but you should aim for as high as you can tolerate. VMAF 90 seems like a good starting point.
Anonymous No.107168540 [Report]
>>107168489
.99 is kinda stupid high for small screens though.
Anonymous No.107168750 [Report] >>107169125
Is AV1 worth it for DVD quality? I got a lot of DVDs and my x264 encodes are about 1 to 2 GiB. VP9 is much slower to encode, but it seems similar and smaller. Wondering if I should reencode my DVDs with AV1 instead.
Anonymous No.107168932 [Report]
>>107168528
SSIMU2 is the metric's commonly used abreviation, "SS2" is OP's tripcode/name that he no longer uses
Anonymous No.107169125 [Report]
>>107168750
Probably not. AV1 is a monster at 4K and still does pretty well at 1080p. Below that you get diminishing returns unfortunately.

You should compare a 10-bit x264 vs 10-bit AV1 rip. Some people say you get more color banding with 10-bit x264 but idk, all my movies are 1080p minimum.
Anonymous No.107169128 [Report]
is there a chart like this but plotting quality vs bitrate?
with both of them selecting a right encoder, bitrate and preset for the situation seems like it could be pretty easy
JonSneeders !q710i/bPrg No.107169243 [Report]
>>107159502
It's marginal.