convert image sequence using ffmpeg
<p>I have been using ffmpeg to convert a sequence of jpegs to a video using the following syntax</p>

<pre><code>ffmpeg -f image2 -i frame%d.jpg -vcodec mpeg4 -b 800k video.avi
</code></pre>

<p>it works a treat, however if the filenames dont start at 0 and then pursue in accending order I get weird results. for example the first file in the directory is frame1 and last file is fram 61.I should point out that im always using a list of jpegs which accend in incrental order. for example a list of files called frame1, fram2, fram3 etc.</p>

<p>the following works fine</p>

<pre><code>frame1.jpg to frame9.jpg
</code></pre>

<p>frame1.jpg to frame10.jpg 
frame2.jpg to frame8.jpg 
frame2.jpg to frame10.jpg 
frame2.jpg to frame11.jpg 
frame2.jpg to frame17.jpg 
frame2.jpg to frame20.jpg 
frame2.jpg to frame30.jpg 
frame2.jpg to frame61.jpg </p>

<p>the following doesnt work</p>

<pre><code>26 to 57 fail
</code></pre>

<p>11 to 61 fail
10 to 61 fail
20 to 61 fail
24 to 61 fail</p>

<p>Can I modify the arguments for ffmpeg so that it will make the video regardless of the filenames? (frame%d) </p>
