Closed veikk0 closed 4 days ago
Looking through the ab-av1 repository, I can't really find a reason why VMAF calculation is done with pipes instead of a single FFmpeg command.
If the reason is pixel format conversion, then the format filter is the way to go. I believe -pix_fmt
is an alias for the format filter anyway and more of a legacy option, but it's more convenient when typing a command for a simple encode.
Yep pixel format & vfilter. It may be worth trying to crunch it into a single call. I'd need to regression test such a change.
Nice! I'll do some before-after testing too and report back.
I'm having an issue with extremely low (~1) VMAF scores when using an FFmpeg built from recent git code. The score is always this low with any CRF, and ab-av1 keeps going lower and lower until the size of
max-encoded-percent
is reached and it exits.I've tracked the issue down to the following FFmpeg commit: https://github.com/FFmpeg/FFmpeg/commit/c94e9d03b44d21282418dfb6c84f4f7942d4db03
Calculating VMAF normally using FFmpeg still works fine.