5
I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this:
└── images
├── img_20130421_115547.png
├── img_20130421_115617.png
├── img_20130421_115926.png
├── img_20130421_120034.png
├── img_20130421_120129.png
├── img_20130421_120245.png
├── img_20130421_120354.png
├── ...
I tried running the following commands inside the images directory, to no avail:
$ ffmpeg -y -f image2 -pattern_type glob -i 'img*.png' -r 24 out.mp4
ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Unrecognized option 'pattern_type'
Failed to set value 'glob' for option 'pattern_type'
$ avconv -y -f image2 -r 24 -i 'img_%08d_%06d.png' out.mp4
avconv version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
img_%08d_%06d.png: No such file or directory
$ avconv -y -f image2 -r 24 -i 'img_%*.png' out.mp4
avconv version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
img_%*.png: No such file or directory
$ avconv -y -f image2 -r 24 -i 'img_%.png' out.mp4
avconv version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
img_%.png: No such file or directory
I'm using Ubuntu 12.10. How do I get this to work? thanks.
2
Get a more recent version of
– slhck – 2013-05-11T09:37:00.507ffmpeg
from the actual FFmpeg project, not the ill-named and outdatedffmpeg
that comes with Ubuntu, which is from Libav, the FFmpeg fork.