pixop / video-compare

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

The video narrows when using "-w 1280x720p" #52

Closed sergiohzph closed 11 months ago

sergiohzph commented 11 months ago

image

As you can see, the video ends up distorted, how do I prevent it from looking like this and how do I make it look good? I want to adjust the window because otherwise the video goes out of my screen, the video is in 1080p resolution, and my screen is 1440p resolution, it is not big enough to be able to see the whole video.

jonfryd commented 11 months ago

Hi @016R35H,

It looks like you are using the horizontally stacked mode. The aspect ratio should be correct if you either pass -w 2560x720, -w 2560x or -w x720 (as per the README: "If either width or height is left out, the missing value will be calculated from the other specified dimension so that aspect ratio is maintained") instead of -w 1280x720.

sergiohzph commented 11 months ago

Hi @016R35H,

It looks like you are using the horizontally stacked mode. The aspect ratio should be correct if you either pass -w 2560x720 or -w x720 (as per the README: "If either width or height is left out, the missing value will be calculated from the other specified dimension so that aspect ratio is maintained") instead of -w 1280x720.

Thanks for your fast response, yeah I just realised it after a while that I simply had to set the resolution horizontally only.