[FFmpeg-user] FFmpeg terminates if input image index > 4

Moritz Barsnick barsnick at gmx.net
Wed Sep 9 20:40:09 CEST 2015

On Wed, Sep 09, 2015 at 18:20:40 +0000, adwait deshpande wrote:
> Hi,
> Running 'ffmpeg -i %08d.ppm -libx264 -r 30 vid1.mp4' terminates with the 
> message "Could find no file with path %08d.ppm and index in the range 0-4".
> I know that this is caused because the first file that matches the pattern 
> is 00000552.ppm and that renaming the files so that they start from 
> 00000000.ppm fixes the problem.
> I wanted to know if there is a workaround for this without having to 
> rename it separately from the command prompt and without using 
> glob matching (I'm running this on a Windows machine).

"-start_number 552" perhaps?

    Set the index of the file matched by the image file pattern to
    start to read from. Default value is 0. 


More information about the ffmpeg-user mailing list