I am trying to make a bunch of png's into a video using avconv, the png's are numbered like filename_<number>
so I usually just use the command:
avconv -r 10 -i filename_%d.png -b:v 1000k test.mp4
I now want to make a video from a subset of the files filename_8
- filename_50
lets say, so I've copied these files into a new directory and tried the same command but now I get the error:
filename_%d.png: No such file or directory
I assume this is because the numbering doesn't start from 1?
How can I achieve this?
avconv -r 10 -start_number 8 -i filename_%d.png -b:v 1000k test.mp4
You will need a recent 9.x version of avconv for the -start_number
option; it is not in version 0.8.x. Alternatively you could use a recent version of ffmpeg. Or rename the files to start with a number between 0 and 4, as it will check for those names by default.