video

Time-lapse of construction site "Het Ufo" of Ghent University

1 October, 2009 - 13:04
Categories:

In front of the place I work, Ghent University is constructing a new building with two large auditoria and office space, called "Het Ufo" (Universiteitsforum). Being in the digital age, there was of course a webcam pointing at the construction site. Since 21 September 2007, I had a cron job running to capture a photo each day. Apparently, the cron job died on 18 august 2009 for some reason, so my pile of daily photo's stopped growing. Time to put them together in a time-lapse video:

Update: Michiel Ronsse (see comments below) also had a cron job running and kindly provided me with extra frames from July 2007 to September 2007. This is the part when there is no concrete yet.

Read more...

Making a video from frames with transcode

20 August, 2006 - 11:51
Categories:

Making a video from a set of frames can be done with transcode as follows.
Disclaimer: this is mainly a reminder to myself, based on these instructions for making animations from frames, with some extra's.

First make a file with the filenames of the individual frames (in the right order of course). E.g. if the frames are named /tmp/0001.png, /tmp/0002.png, ..., /tmp/0100.png:

$> ls /tmp/0*.png  > framelist.txt

Also, indentify the size of the input frames. E.g. with ImageMagick's identify:

$> identify /tmp/0001.png
/tmp/0001.png PNG 400x300 400x300+0+0 DirectClass 65kb

Then invoke transcode with the frame list as input:

$> transcode -i framelist.txt \
   -x imlist,null -g400x300 --use_rgb -z \
   -y xvid,null -f25 -o frames.avi -H 0

the meaning of the different arguments:

  • -x: the input video format (imlist) and audio format (null)
  • -g: the size of the frames (400x300 in this case)
  • --use_rgb: to indicate that the input color space is RGB
  • -z: to flip the input upside down (I need this to get the output video right)
  • -y: the output video format (xvid) and audio format (null)
  • -f: the frame rate
  • -o: the output video file
  • -H 0: disable autoprobing for the input format