
Higher than that gets very fast but you aren't going to get the phenomenal quality you are looking for. If that's too slow for you, you can kick it up a notch to 8 or so. If this is too slow for you, try using a preset of 6. If your original source doesn't have film grain in it, omit the film-grain parameter.

To use it, get the latest build of ffmpeg and SVTAV1, then run something like ffmpeg -i infile.mp4 -c:v libsvtav1 -preset 4 -crf 30 -g 240 -pix_fmt yuv420p10le -svtav1-params tune=0:film-grain=8 -c:a -b:a 128k libopus outfile.webm Or if you really want efficiency, you can try SVTAV1, which is a generation more advanced than VP9 and HEVC.

At least, for other encoders, levels in the 20-30 range are more reasonable. Try following the constant quality two-pass encode instructions on this page.Ī crf of 4 sounds ridiculously low to me.

I'm not aware of any reason to encode to VP8 in 2022. I believe this command tells ffmpeg to use the VP8 codec instead of the more advanced VP9 that is more common and better.
