FFMPEG - Width/ Height Not Divisible by 2 (Scaling to Generate MBR Output)
问题 I am trying to generate multilple variants of videos in my library (Mp4 formats) and have renditions planned ranging from 1080p to 240p and popular sizes in between. For that I am taking a video with a AxB resolution and then running through a code (on bash) which scales them to desired following sizes - 426x240 640x360 842x480 1280x720 1920x1080, with different bitrates of course, and then saves as Mp4 again. Now, this works just fine if source video has height and width divisible by 2, but