Posts Tagged ‘photo’

Create timelapse movie from shaked photos

The problem consist of creating a timelapse made of photos which have been taken with a camera which has been removed and attached to a tripod during a few months thus creating a lot of shaking. Solution, use hugin to align photos:

align_image_stack -v -a$1 -s 2 *.jpg
mkdir base
for i in $(find . -maxdepth 1 -name "*.tif"); do n=".$(echo $i | cut -f2 -d".").jpg"; convert $i $n && mv $n base; done
rm *.tif
cd base && mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect:vqscale=3 -mf type=jpeg:fps=5 mf://*.jpg -o $1.avi && cd .. && mv base/$1.avi .


St. Patrick Bucurestean



Re-cycled Christmas tree

From Re-cycled Christmas tree, posted by Marilen Corciovei on 12/21/2012 (3 items)

Generated by Facebook Photo Fetcher

Shadows and lights

Shadows and lights

Shadows and lights

Zimbraria neagra

From Zimbraria Neagra, posted by Marilen Corciovei on 8/11/2012 (5 items)

Generated by Facebook Photo Fetcher

(Zimbraria Neagra)


From Bretagne, posted by Marilen Corciovei on 5/22/2012 (40 items)

Generated by Facebook Photo Fetcher


At first it was just a rumor. Have you seen it? I did not believe it. No, it is not true I said, there was nothing. Then a few night passed. This time I saw it myself. A shadow in the dark, very fast, seemed to have disappeared into the wall as the eye blinked. Then, the next night, I saw it again, clearly. I followed the shadow and saw the crack in the window, the missing fragment of glass and behind, more blackness. Finally I saw it in daylight. It was unmistakable now. There is a cat living in the basement somewhere.

Shadow, the cat

Shadow, the cat


Timelapse videos

To create timelapse videos as the one in the previous post or this one here are some simple steps:

1. connect the camera (Canon 450d in my case) to the computer and turn it on

2. unmount it if it’s mounted automaticaly

3. run the following script ( to capture images to the computer:

for i in $(seq 900); do
   no=$(printf "%04d" $i)
   gphoto2 --capture-image-and-download --filename="timelapse-$no.jpg"
   sleep 15s;

You can adjust the number of images or the sleep interval.

4. combine the images at 10fps to create time-lapse.avi

mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect:vqscale=3 -vf scale=1980:1080 -mf type=jpeg:fps=10 mf://*.jpg -o time-lapse.avi

5. experiment & enjoy