AV1 looks like crap, sorry.
Last time I used it with these
libaom 3.5 final release options and it smears out the details like there's no tomorrow:
Code:
./aomenc --end-usage=q --cq-level=12 --cpu-used=4 --threads=16 --bit-depth=10 --lag-in-frames=48
--enable-fwd-kf=1 --enable-qm=1 --enable-chroma-deltaq=1 --quant-b-adapt=1 --mv-cost-upd-freq=2
--sharpness=3 --enable-keyframe-filtering=2 --arnr-strength=1 --disable-trellis-quant=0 -o out.webm out.y4m
cq-level=12 !!! That's almost lossless.
I'm disappointed as hell. Now trying vvenc-1.6.1 which is slow as hell but on a first attempt it looks much better:
Code:
./vvencapp --preset slower -qp 20 -i out.y4m --output=bit.266
Edit: at qp=20 the bitrate matches the bitrate of the original H.264 video. LOL.
Modern codecs are something. Weird.
Truth to be told I don't know how to use x264 properly. My source is encoded at 40Mbit/sec. I can only get comparable quality if I encode it at ... 35MBit/sec despite the source being produced by a terrible HW encoder and the result produced by the latest revision of x264 with the following flags:
Code:
ffmpeg -i source.mp4 -c:a copy -c:v libx264 -preset veryslow -x264opts keyint=180:min-keyint=30:bframes=16 -crf 17 -tune grain result.mkv