It wasn't me. You can't prove anything.


2010-09-06

Video to time lapse in Linux

I had the hardest time trying to figure out how to make a straight up time lapse video in Linux. It turns out I can use AVIdemux without much manipulation. Open your video. Goto video and set the frame rate from 30 FPS to say 300 FPS if you want a 10 to 1 ratio of speed. Go down to 10 fps if you want to slow things down in a fake slow motion (high speed camera) effect. If you do something that is not evenly dividable in to or out of 30, use the video filter for frame rate to re-render and smooth the effect instead of just copying. This will make it look a bit better. Remember, you still want the final video to be 30 frames per second, you just want 30 of those frames for every 300 or 600 that were originally shot.

   30 frames in   1 sec
 1800 frames in  60 sec ( 1 min)
18000 frames in 600 sec (10 min)

In order to shrink a 10 minute video to 1 minute or 30 seconds use the following FPS settings.

10 min shrunk to  1 min (1 to 10 ratio)
18000 frames (in 600 sec) / 300 fps = 60 sec
For every 300 frames shot take 30 and make a new video out of them.

10 min shrunk to 30 sec (1 to 20 ratio)
18000 frames (in 600 sec) / 600 fps = 30 sec
For every 600 frames shot take 30 and make a new video out of them.

Note, I do not mention sound. a) I have not figured out sound yet. b) Who wants sound in a timelaps? c) One thing at a frigging time.

Tomorrow I'm going to take my Flip to work and attempt to take a video or two that I can shoot down to a timelaps.

No comments: