3

I have several folders with photos, each having 6-15 images. They are vacation photos or family gatherings etc.

I would like to write a Linux script (in shell or Perl) that creates videos from these images, using nice transitions like "page flip" or "rotate and fly away" and such.

I also want to overlay .mp3 sound over the photos.

People do this all the time with menu based video editing software, but I want to do so programmatically.

What would be your suggestion how to programmatically create a video from still images with various video effects?

I can program in Bash, Perl and C++, and I need something that can work on Linux.

Borodin
  • 126,100
  • 9
  • 70
  • 144
  • Have you considered using HTML instead of creating a video file? – Borodin Jun 01 '16 at 10:36
  • You could also programmatically build a PowerPoint/LibreOffice presentation with effects. You could then run it and screen-record it. – simbabque Jun 01 '16 at 10:43
  • [ffmpeg + examples](https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images) is a start. – emcconville Jun 01 '16 at 10:57
  • I found some nice and promising scripts: http://www.fmwconcepts.com/imagemagick/fxtransitions/index.php – Igor Chudov Jun 01 '16 at 14:47
  • HTML, CSS and Javascript is definitely worth considering. I have done some of this type of thing with HTML and jQuery and created [a plug-in](http://grantm.github.io/jquery-title-sequence/) for coordinating sequences. I was also able to [create a movie](http://grantm.github.io/jquery-title-sequence/#rendering) file by running the code in PhantomJS, having it save a screenshot at intervals, and using ffmpeg to stitch the frames together. – Grant McLean Jun 01 '16 at 21:27

0 Answers0