Behold the Clearing Snow

Peter Rukavina

We received a lot of snow here in Charlottetown over the weekend, and this triggered the usual efficient snow clearing operation from the City of Charlottetown, a stage of which, once the dust has settled, involves pushing the snow from major streets into the middle of the street into a temporary snow mountain and then clearing it all away in a flurry of snowblower and dump trucks.

The IslandCam, conveniently located a few feet from where I type here in The Guild, captured this operation this morning on the lower end of Queen Street between Richmond Street and the water. Here’s a time lapse showing 30 minutes from mountain to “so clean you could eat off the street”:

Here’s how I grabbed the time lapse, using ffmpeg, a wonderful Swiss Army Knife-like video manipulation tool.

ffmpeg -i rtmp://198.167.125.144/islandcam/islandcam.stream -vf fps=1/10 img%03d.jpg

The rtmp://198.167.125.144/islandcam/islandcam.stream is the URL for the IslandCam streaming video; the fps=1/10 says “save one image every 10 seconds” and the img%03d.jpg says “name these files img001.jpg, image002.jpg, etc.”

The result was a folder filled with images snapped once every 10 seconds.

Next, I converted these into a movie with the convert command from the ImageMagick suite:

convert -delay 6 -quality 95 img*.jpg movie.m4v

And, finally, I used VLC to convert this into webm and format to ensure the video can be viewed in as broad a range of browers as possible, inserting it above with

<video controls="" style="width: 653px; height: auto;">
  <source src="https://s3.amazonaws.com/images.ruk.ca/snowclearing.m4v" type="video/mp4" /> 
  <source src="https://s3.amazonaws.com/images.ruk.ca/snowclearing.webm" type="video/webm" />
</video>

There’s lots of potential fun and merriment to be had with creating IslandCam time lapses like this: there’s lots going on on Queen Street!

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search