Largest input image size when encoding a video?
FFmpeg is tripping up at this statement in Imgutils.c in function av_image_check_size()

if ((int)w&gt;0 &amp;&amp; (int)h&gt;0 &amp;&amp; (w+128)*(uint64_t)(h+128) &lt; INT_MAX/8) return;  [ else error() ]


where INT_MAX is defined in limits.h as at least 32767 (2^15-1), or greater depending upon your compiler.

Compiling with a 64-bit compiler will permit larger images.