Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
Get a more recent version of ffmpeg from the actual FFmpeg project, not the ill-named and outdated ffmpeg that comes with Ubuntu, which is from Libav, the FFmpeg fork. –  slhck May 11 '13 at 9:37

1 Answer 1

Use the image2pipe demuxer. cat *png | avconv -f image2pipe -i - ....

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.