[FFmpeg-user] FFMpeg encoding error: "height not divisible by 2" - Recommended dimesion 1680 x ??? with aspect 16:9

Ben bxstover at yahoo.co.uk
Mon Oct 22 10:32:57 EEST 2018

I wanted to encode (and resize) an existing MP4 file into a new MP4 video and a width of 1680 * ... and an aspect ratio of 16:9
The used codec is H.264

Since the calculated height therefore is (1680/16)*9=945 I entered this for the ffmpeg command and got an error:

"height not divisible by 2"

Hmm, can this really be?

What is the recommended height otherwise?

Is there no auto-adjustment in ffmpeg?


More information about the ffmpeg-user mailing list