[FFmpeg-user] Image sequence naming convention
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Dec 9 00:03:49 CET 2014
S Andreason <sandreas41 <at> gmail.com> writes:
> > ffmpeg -r 30 -i frame-%d.ppm -c:v h264 -s 640x480 out.avi
>
> You'll need each frame numbered in sequential order.
> The date sequence won't work as is.
> frame-1.ppm frame-2.ppm frame-3.ppm etc...
>
> and unless there is a new filter for loading non-RAW
> files, I'd suggest a script to batch
> > convert frame-1.jpg frame-1.ppm
This seems to be a very bad idea since different
colour spaces are involved and FFmpeg should be
able to read the jpg file.
If renaming the source files is impossible, using
a glob pattern could be an alternative.
Carl Eugen
More information about the ffmpeg-user
mailing list