timelapse

Time-lapse Video Of A Lightning Storm (July 20, 2012)

This is a time-lapse of a lightning storm that I took back in July.  The video consists of a series of images taken as a thunderstorm passed overhead.  All pictures are taken with ISO 200, f/3.5, and an exposure time of 15 seconds. The audio is “Ritual Of Earth” by The Neon Judgement. I lucked out and found it in the audio swap library provided on youtube.


http://www.youtube.com/watch?v=6LVBgngxsmA

Some stills from the video.

Posted by Chad Dotson in Neat Stuff, Photography, 0 comments

FFMPEG Improperly Switching to Grayscale

I use ffmpeg to make timelapse movies of images taken from one of my several webcams.  Recently, I started having trouble with it converting all the frames of my video to gray scale.  I’m am unsure if a software upgrade or a script change caused it, but I had a heck of a time tracking it down.

This is the gist of what the message ffmpeg was giving me: “Input stream #0.0 frame changed from size:” … “fmt:gray”. There are virtually no resources out there that mention that exact phrase, but after scouring the web for a few weeks off and on, I finally found a website mentioning a similar experience and it had a solution. To solve the problem, use ImageMagick’s convert utility with “-type TrueColor” in the options list. The example below is in my timelapse bash script. This will stamp the date and time onto the top of the image and save it into my temporary directory.


convert $FILE -bordercolor Black -border 20x20 -gravity north -crop 640x500+0+0\! -gravity NorthWest -font /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf -pointsize 16 -type TrueColor -fill white -annotate +10+0 "$TIMESTAMP" $TEMPDIR/$(basename $FILE)

As I mentioned earlier, I found the hint at the solution I needed here: Source.

Posted by Chad Dotson in Technology, Tips, 0 comments