i would like to ask whether acceptable resolutions are based on each video encoder or based on video format (for ffmpeg in particular).
For example the following generates a result video
while this doesn'tCode:ffmpeg -y -f lavfi -i rgbtestsrc -t 2 -c:v mpeg4 -f mp4 -s 6400x4800 a.a
because in the first one i have used the video encoder mpeg4 while in the second one i have used the video encoder h264.Code:ffmpeg -y -f lavfi -i rgbtestsrc -t 2 -c:v h264 -f mp4 -s 6400x4800 a.a
Does this mean that mpeg4 will work with a resolution 6400x4800 for all possible video formats (and not only mp4) ?
+ Reply to Thread
Results 1 to 3 of 3
I can't say for sure, but I do think the codec has something to do with which resolutions are supported. I believe h264 is a little newer than mpeg4, and may have better support for some things where mpeg4 is lacking.
Firstly, H.264 = mpeg-4 AVC
H.264 has a max resolution of 4,096×2,304 @56.3 fps @ lvl 5.1.
Even so, the limit per level can be pushed, but there are limits as you discovered.
These limits are for playback compatibility.
Either ffmpeg enforces the limits for compatibility sake or it's just unsupported.