user23318: I have pngs starting from temp0000.png and ending at temp7085.png.
After reading the ffmpeg manual I tried the command:

ffmpeg -i temp%d.png -i a.mp3 -framerate 60  -start_number 0000 output.webm

But get the error:

Could find no file with path 'temp%d.png' and index in the range 0-4
temp%d.png: No such file or directory

What must I change please?

user1871: temp%d expands to temp0, temp1 ... temp10 ... and so on.
For temp0000, you need temp%04d
and the full command should be
ffmpeg -framerate 60 -i temp%4d.png -i a.mp3 -pix_fmt yuv420p output.webm


23318: <p>I have pngs starting from <code>temp0000.png</code> and ending at <code>temp7085.png</code>.</p>

<p>After reading the <a href="https://ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f" rel="nofollow noreferrer">ffmpeg manual</a> I tried the command:
<code>
ffmpeg -i temp%d.png -i a.mp3 -framerate 60  -start_number 0000 output.webm
</code></p>

<p>But get the error:
<code>
Could find no file with path 'temp%d.png' and index in the range 0-4
temp%d.png: No such file or directory
</code></p>

<p>What must I change please?</p>
 1871: <p><code>temp%d</code> expands to <code>temp0</code>, <code>temp1</code> ... <code>temp10</code> ... and so on.</p>

<p>For temp0000, you need <code>temp%04d</code></p>

<p>and the full command should be</p>

<pre><code>ffmpeg -framerate 60 -i temp%4d.png -i a.mp3 -pix_fmt yuv420p output.webm
</code></pre>
