Time passes by

by clabacchio

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

I was looking for software to create timelapse from a collection of pictures, that is compatible with Ubuntu. It would good if it could make HD videos and also has an option to add a background score.

share|improve this question
    
I've given a quick answer but I think this is really off-topic for this site. It might be better migrated to the unix or the video production sites. –  mattdm Mar 10 '12 at 0:09
    
I haven't seen that. I can delete this question and post my answer there. Is that ok? –  Frederico Schardong Jun 4 '13 at 20:08
    
I am not even sure if this is the best stackexchange site for this. I just want to share what I did. –  Frederico Schardong Jun 4 '13 at 20:09

5 Answers 5

Ffmpeg will do it. If you have images img001.jpg, img002.jpg, img003.jpg, ... then on the command line do:

ffmpeg -i img*.jpg output.mpeg

There are more options given in ffmpeg --help or man pages, or the web. These allow control over the frame rate and the output format.

share|improve this answer

First we rename all *.JPG files based on their creation date. Sometimes cameras change the file name or just ordering them is somehow not what we want. However, renaming them by the creation date always work:

jhead -n%Y%m%d-%H%M%S *.JPG

After that we put this list in a file:

ls -1tr | grep -v files.txt > files.txt

And then use mencoder to create an AVI video using 20 fps. Note that this will generate a huge video file, usually around the same size of all the pictures summed.

mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=20 'mf://@files.txt'

I usually take pictures for timelapse with the lowest resolution of my camera (5 MP), which has a 4:3 aspec ratio. To generate a proper 1080p video the image is first re-scalled to 1920 pixels of width and then I crop it to 1080 of height. This way I am not changing the photos' content, just cropping:

ffmpeg -i output.avi -y -sameq -vf scale=1920:1440,crop=1920:1080 output-final.avi

The reason I use mencoder to put the photos together is because I got a segmentation fault with ffmpeg.

share|improve this answer
    
For the segfault it would be useful to know your version of ffmpeg. –  Unapiedra Jun 4 '13 at 21:22

Blender is a good solution if you're dealing with motion timelapse (hyperlapse) or unsteady footage. It has motion tracking capabilities so you can choose a fixed point to track throughout the timelapse. You can also fix rotation issues.

share|improve this answer

You can do this with either mencoder or avidemux. There's a tutorial fr avidemux here: http://www.avidemux.org/admWiki/doku.php?id=tutorial:create_video_from_still_image_and_from_audio_file

share|improve this answer

You may also be interested in the project timelapse-darktable. It makes it easy to post-process images with darktable and make a timelapse of the serie. Instructions of how to use it is found here: https://code.google.com/p/timelapse-darktable/wiki/generateTimelapse

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.