[FFmpeg-user] fun with windows cmd and ffmpeg wildcards
Κωνσταντίνος Γεωργοκίτσος
kgeorgokitsos at gmail.com
Tue May 17 12:04:51 CEST 2016
Dear all,
On Windows 10 command line cmd.exe with a recent ffmpeg build
(ffmpeg-20160308-git-5061579-win32-static).
I am trying to do a time-lapse video from captured jpg pictures of a
camera. For my test I had a script saving 600 pictures (10minutes, 1/sec).
When I saved them using a sortable DateTime format something hicked up.
After several tries with different naming schemes and wildcards, with some
combinations working and some not, to simplify the problem I renamed the
pictures from 001.jpg to 600.jpg (I can let the script name them
accordingly, no biggie) and called the following from cmd prompt:
ffmpeg.exe -r 30 -i C:\Users\kostas\Documents\cams\timelapse\test2\%03d.jpg
timelapse9.mp4
and it worked!
Great, I thought, and since I will need a days worth of pictures (1 every
minute gives 1440 pictures) I'll rename them 0601.jpg to 1200.jpg and try
ffmpeg.exe -r 30 -i C:\Users\kostas\Documents\cams\timelapse\test2\%04d.jpg
timelapse9.mp4
Boom!
[image2 @ 04f73ae0] Could find no file with path
'C:\Users\kostas\Documents\cams\timelapse\test2\%04d.jpg' and index in the
range 0-4
C:\Users\kostas\Documents\cams\timelapse\test2\%04d.jpg: No such file or
directory
It does not make sense to me.
Can anyone help me?
Cheers,
Kostas Georgokitsos
More information about the ffmpeg-user
mailing list