You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some videos 1920x1080 whose displaymatrix implies a -90 degree rotation. In order to apply VMAF to 1920x1080 instead of 1080x1920 I can remove the rotation metadata beforehand using -display_rotation 0 and then run ab-av1 with that "un-rotated" file as input.
Now I tried to get rid of the intermediate rotation step by passing --enc-input '-display_rotation=0' which causes the encode to work properly but VMAF fails with:
Thanks for replying. I figured out a better option in meantime - -noautorotate flag to ffmpeg causes it to not look at file metadata which achieves same effect (as long as video was physically 1920x1080 and the displaymatrix is the only thing making it vertical) - won't help for videos which are actually 1080x1920 instead.
Feel free to close if you think this isn't generally applicable. FWIW pre-processing files isn't too bad - specially because it allows inspecting files before doing the crf-search or vmaf calculations to make sure things are sane.
alexheretic
changed the title
enc-input should be applied to reference too
Should be able to configure vmaf/xpsnr ffmpeg args (or enc-input should be applied to reference too)
Jan 1, 2025
I have some videos 1920x1080 whose displaymatrix implies a -90 degree rotation. In order to apply VMAF to 1920x1080 instead of 1080x1920 I can remove the rotation metadata beforehand using
-display_rotation 0
and then run ab-av1 with that "un-rotated" file as input.Now I tried to get rid of the intermediate rotation step by passing
--enc-input '-display_rotation=0'
which causes the encode to work properly but VMAF fails with:Note the presence of
displaymatrix: rotation of -90.00 degrees
in the reference input but absence in the distorted file.Is this expected?
The text was updated successfully, but these errors were encountered: