For single images, could use a generic ASCII order
If you're trying to make an animation by combining individual frame
images, there's the %03d approach and the glob approach, but even the
glob approach seems to look for a numerical sequence in the file
names. If that sequence is discontinuous it breaks the importing. If
there's more than 1 number in the file names only the last one can
have the %03d. Having something that will just accept the files in
the order they ASCII sort in would be good.
I ran into this before too, this time I've got a bunch of files I
split out of animated GIFs with Gifsicle that I want to put into an
animation. Not every possible number is present, that seems to cause
a problem. My only option is to rename all the files to feed ffmpeg
an unbroken sequence.
This kind of sequence doesn't work:
> 2017-02-14 0:09 GMT+01:00 Alan Corey <[hidden email]>:
>> This kind of sequence doesn't work:
> This does not work with gif (they are not "images" in the
> FFmpeg sense), you have to first convert them into
> another format (png).
Oh great, another step. Well as an animated GIF they're just too big.
I set up a cron job and grabbed a storm's NWS animated GIFs, split
them apart with Gifsicle and now I want to make about 2 days worth of
radar pictures into a 30 second or so video. Convert to the rescue I
guess. So I have a lot of renaming ahead anyway. Rectangle mode in
the Joe editor makes turning ls output into mass renaming scripts
But my point was the way ffmpeg handles file names, it would be nice
to have a way to ignore numbers in them. The last problem I had with
it was with PNG files from Povray, each had a sequence number followed
by a frame number. ls put them in the right order, ffmpeg needed them
to be renamed.
ffmpeg-user mailing list
[hidden email] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".