
For example:įfmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4 You have to manually set the SAR value to 1:1 to make the players display it in the way you want.



That said, this does actually open up the idea that I could conceivably open the video in some video editing application, rotate it 90 degrees one way, rotate it again back 90 degrees the other way, and then save it and that would maybe save the correct resolution in Windows, but I'm not sure how well that would work or if it would do anything to the video quality. As such, it opens up with the wrong aspect ratio in, for example, Hitfilm Express (top and bottom of the video are cut off with black bars on the sides) and Flowframes (video appears very 'squashed' with black bars at the top and bottom) as they both think the video is 1920W x 1080H. But if I right-click on the "properties" of the file it says that the Frame Width is 1920 and the Frame Height is 1080, which it isn't - the width is 1080 and the height is 1920. What I mean by this is that if I click on the video and open it in, say, Windows Photo and Video viewer or whatever the default program is, it displays just fine. It may have an option to let you convert the video to any custom resolution you want.Possibly - the issue isn't so much that the video isn't at the right resolution, it's that the file information is wrong.

There's a free video editing app called HandBrake: HandBrake: Open Source Video Transcoder
