How to have ffmpeg calculate the width after modifying by set height ratio?
问题 After finding the resolution was the source of all my webm to MP4 codec conversion errors on my Android. I came across another problem. To break down my question: What all MP4 resolutions are supported on most devices? I know they go by p from certain height value for them to work. 720p /?X720 for example. Is there an easier way to calculate the width based from the height change while keeping the ratio? ffmpeg -i old.webm -t 00:00:03 -s 320x240 new.mp4 I currently use the -s setting