master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.4k stars 147 forks source link

probe defaults cause issues with svt-av1 #822

Open gibbly opened 2 months ago

gibbly commented 2 months ago

Using preset 12 on svt-av1 with some settings causes blocking artifacts, particularly with 10 bit color and low crf values. This leads to vmaf calculations being wildly incorrect and causes av1an to pick inappropriately low crf values for effected scenes when using target-quality

Easy fix: set the preset for probes to 8, which doesn't seem to have this issue

Better fix: make speed/preset for probes user configurable

These were encoded at preset 12, crf 4, and pix_fmt yuv420p10le

mpv-shot0006 mpv-shot0005

luigi311 commented 2 months ago

you can use --probe-slow as a work around as it will use your encoding settings for the probes.