Skip to main content

Time-lapse video of clouds over Boulder

We tend to get a lot of sunny days here along Colorado's Front Range, but right now we're enjoying some much-needed rain. After a couple rainy days earlier this week, the clouds broke Friday morning and we got one clear day before the clouds and rain returned today. Anticipating a nice scene when the clouds broke, I set my Kodak Zi8 on a tripod in my window and let it run. I cut out a 15-minute piece of video using Avidemux and then used modified code found here and here to prepare the video. First, I extracted two frames from each second of video:

ffmpeg -i 2011-05-13-original.mkv -r 2 -f image2 png/%05d.png

I then made a text file with the names of all the images and used mencoder to make a 30fps video:

ls -1tr > files.txt

mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000 -mf w=1280:h=720:fps=24:type=png mf://@files.txt -o time.avi

I then went to Jamendo to get some Creative Commons-licensed music to use the in the background. I chose "Shooting Star" by David Palmero, one of the first albums I found, and used Audacity to cut out a selection to match the length of the video. Lastly, I used PiTiVi to merge the video and audio together, with fade-in and fade-out transitions, and then rendered the video in a format YouTube would accept. The result:

Comments

  1. Very cool. I didn't know about PiTiVi, which will be useful for some random video projects that I end up doing.

    I also made a time-lapse recently of me working, but I used mplayer to take a shot every 15 seconds to get the pngs. I had to make the resultant video quite low-res to make it fit within some size limits though. It would have been nice to use PiTiVi to cut / speed up the night sections.
    http://www.youtube.com/watch?v=P1RLajGyEt0

    ReplyDelete
  2. PiTiVi is very basic and has no control for speed, but I do like it as a simple video editor. The only linux GUI I tried for speeding up the video was Kino, and it has the disadvantage of having to deal with everything as DV, which meant some ugly importing and some changing of aspect ratios and video quality that I could never quite control.

    ReplyDelete

Post a Comment

Popular posts from this blog

The 15-Year Blogoversary

15 years and 1,213 posts! My first experience with the World Wide Web came in 1995, and by 1997 I had my own web page. The first web authoring tool I remember using was Composer, an HTML editor built into the Netscape Communicator suite. That helped me learn some HTML, and later I used Microsoft Word 97 and then FrontPage 98 and later Macromedia Dreamweaver to design more elaborate pages. Some of my FrontPage-built sites are still on the web. As I learned more about HTML standards and validation I wrote more HTML by hand, but I still wanted a way to make publishing to the web easier.

By 2001 I understood that (a) sites should be updated regularly and (b) FTP'ing sites and pages from my desktop to a server was a bit of a pain. I had heard about some early blogging platforms and chose one, Blogger, to try out. As you can see, I'm still here.
My first post using Blogger came on December 8, 2001. A few months later I paid for Blogger Pro, which offered additional authoring tools, l…

Last.fm and Ten Years of Web 2.0

Ten years ago yesterday I scrobbled my first tracks to last.fm. What's scrobbling? On last.fm, scrobbling refers to automatic music track logging to the internet. For me, uploading a record of my music listening habits was my first real experience with "Web 2.0." Remember Web 2.0? It referred to websites of user-generated content that enabled virtual communities and interoperability. Now such sites are too ubiquitous on the web to warrant a special designation — they're just the web. But that wasn't true in 2006, and even though I'd been putting content on the internet since 1996, at the time it was enough to make me a little nervous. What did these strangers want with my data, and what was in it for me?

Ten years and 24,941 scrobbles later, I have my answer: I have a really cool record of all the music I've listened to the past 10 years! Well, not "all," technically: I've certainly listened to music in places and on devices that didn't …

Why Eleanor Roosevelt Would Have Liked Google+

And why Google+ won't be replacing Twitter or Facebook for most of us anytime soon
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people."
-- Eleanor Roosevelt

I know too much already has been written about Google+ and its place in the world of social networking, but I've recently developed a new perspective which might help some of you who are trying to decide how and when to use Google+ versus Twitter or Facebook.

Eleanor might have said "small minds discuss people," but there's more than one way to discuss people and none of us are consistently small-minded. People are important, and the people who are most important to us are those with which we have mutual friendships or family relationships. This is why Facebook is best at people: it enforces (if we ignore fan pages) a symmetric follower model, ensuring that we are connected to people who want to also be connected to us. Those connections, often with people who we don&…