pixop / video-compare

Split screen video comparison tool using FFmpeg and SDL2
GNU General Public License v2.0
969 stars 44 forks source link

Add black bars instead of stretching #39

Closed alehel closed 1 year ago

alehel commented 1 year ago

If I compare two videoes where 1 video has black bars and the other doesn't, the one without gets stretched to match aspect ratio of the one with. This happens a lot when I'm comparing my encodes to the original original file as I always crop out black bars when encoding. It would be usefull if video-compare could add an equal amount of black bars to the top/bottom of a video instead of stretching it so that the correct aspect ratio is maintained.

jonfryd commented 1 year ago

@alehel,

You can use the -land -r options with FFmpeg filters (crop/pad) to address that.

alehel commented 1 year ago

Wonderful. Thanks :)