user6067: Whenever I try the command
ffmpeg -y -r 1 -i File01.jpg -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4

I get the failing result:
[swcaler @ 000000000347fe0] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0000000002da3c0] using SAR=1/1
[libx264 @ 0000000002da3c0] frame MP size (938x678) > level limit (36864)

and a corrupt file which cant be read.
Is there a maximum size of the resolution that can be created?

user3295: That's way more than h.264 can handle. The maximum resolution for h.264 is 4096×2304 with Level 5.1 or 5.2.
http://en.wikipedia.org/wiki/H.264#Levels
There are lossless codecs who can theoretically handle this video resolution but it would make no sense to do this. There is no hardware capable of playing videos in this resolution at any acceptable frame rate.
Atleast none that is in any way affordable by a normal human being.

6067: <p>Whenever I try the command</p>

<pre><code>ffmpeg -y -r 1 -i File01.jpg -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4
</code></pre>

<p>I get the failing result:</p>

<pre><code>[swcaler @ 000000000347fe0] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0000000002da3c0] using SAR=1/1
[libx264 @ 0000000002da3c0] frame MP size (938x678) &gt; level limit (36864)
</code></pre>

<p>and a corrupt file which cant be read.
Is there a maximum size of the resolution that can be created?</p>
 3295: <p>That's way more than h.264 can handle. The maximum resolution for h.264 is 4096×2304 with Level 5.1 or 5.2.
<a href="http://en.wikipedia.org/wiki/H.264#Levels" rel="nofollow">http://en.wikipedia.org/wiki/H.264#Levels</a></p>

<p>There are lossless codecs who can theoretically handle this video resolution but it would make no sense to do this. There is no hardware capable of playing videos in this resolution at any acceptable frame rate.
Atleast none that is in any way affordable by a normal human being.</p>
