My First Attempt at Time Lapse Photography

Hey everyone,

I discovered that I can do time lapse photography, so I thought I’d give it a shot. It was actually very easy (See below the video for a description of what I used).

Now, doing it well and just doing it are pretty far apart, and I know I’ve got a long way to go, but for all being done within the first 24 hours of realizing that I had the capability, I’m pretty proud of what I came up with and I thought sharing how easy it is to get started might be beneficial.

The music is something that I composed and played in MuseScore a while back (it was sitting around, so I thought I’d use it). I’m not a musician, so forgive its simplicity and the fact that the instruments are all midi simulations rather than… something that sounds good.

For those that are interested, the shot locations are as follows:
-First two clips with the water – Calavara Lake in Carlsbad, Ca
-The ants and two oak tree clips – Buena Vista Park in Vista, Ca
-Last shot with the grass – out my window in Vista, Ca

 

The camera I used is a Cannon PowersShot SX160 IS with CHDK installed on it. I’ve had the camera for a few years now and I like it, but if I were shopping for it all over again, I would choose something else for one simple reason: this specific PowerShot eats through batteries like a puppy through pizza (maybe a little less messy). The other models of PowerShot I had in the past were not this way. It’s powered by 2 AA batteries and can’t (as far as I’ve figured out) be powered externally (if anyone has any suggestions other than the toothpick trick, please share). Just in the shots used in this video I went through 12 AA battieries; I’m a MONSTER! They are still half full for many other devices, but the camera says they’re dead and turns off. They worked long enough to get these shots, but if I wanted to shoot over a time longer than about 45 minutes (and I do), this just isn’t going to cut it.

CHDK is a set of firmware updates that you can use to increase the functionality of Cannon PowerShots. Model specific downloads and directions can be found here: http://chdk.wikia.com/wiki/CHDK
CHDK is temporary. You just run it off of the memory card and it allows you to run scripts on your camera. The CHDK download for most PowerShots, I believe, come with an intervalometer script. That’s the one I use. It is very simple once you figure out the menus. You set up your camera ready to go with whatever settings you want, then you tell the intervalometer script a time interval, and launch it. It then takes an image every time that interval is up. For example, if I set it to 10 seconds, it will take an image every 10 seconds until I tell it to stop or it runs out of batteries and turns itself off (the latter usually being the case for me). I did find that, because the camera takes a moment to take and save the images, if you set it too short, it will just take an image whenever it is ready. The clip with the ants, for example, was supposed to be a 1 second interval, but it took one image every time it was ready, which was somewhere between 6 and 7 seconds. The rest of my clips were set to 10 seconds or longer and worked like a charm.

A tripod is a good idea. None of these were taken using a tripod, and I think it shows. My tripod was broken, and the one I ordered was sitting on my doorstep when I got back from the last shot for this. One thing that was kind of cool, but 100% unplanned was the sort of droopy panning effect in a couple of shots. Those happened because I set the camera on its empty case and over the course of 45 minutes or so, the whole thing settled. While it worked out this time, I can see how it could completely ruin a set and is probably impossible to plan exactly where the camera ends up pointing. I don’t know how professionals do the fancy pan shots (hey, I’ve only been at this for a day) but I’m 97.46% sure it has nothing to do with setting the camera on a cloth sack propped against a rock and hoping for the best.

Once I got the shots and made it home, I used the OpenShot Video Editor in Linux. OpenShot allows you to import sequences of pictures. It uploads them like a video clip, with some set number of frames per second and you can manipulate it just like any other video clip. OpenShot is free and very intuitive.
I had a few issues, however. OpenShot uses sequential numbering on the file names to determine which files to include and their order. My camera uses a 4 digit number in the file names. There’s some sort of bug (that took me a while to find talk of on the internet) where if the first image in the sequence has more than a 3 digit number, it tries to upload, then the clip just says “INVALID.” So, I rename all the files to have 3 digit numbers. No, I don’t do it by hand. There are many ways to do this. I had a python script already set up to do something like this, so I just re-purposed it and it works. I have a suspicion that I’m going to get told that the easiest way is to use a BASH script. Feel free to tell me, but I already made my Python tool… so… there.
OpenShot is a little lacking in control of the rate that it plays the images. You can not adjust how many frames per second it shows (I don’t know what the standard is, something near 30?). You can have it double of triple each image while importing if you want it to play 2 or 3 times more slowly. I doubled the images on 3 of the clips because I thought they were too fast, but, for the most part, I feel like being able to speed up or slow down these clips would be handy.Another issue I had with OpenShot is that it is, at least on my computer, very slow with videos of this resolution. You may notice that in the above video the syncing of dramatic moments in the music with clip changes is a bit off. This is because I had to export the video each time just to see if it worked, because the playback option in OpenShot was sketchy and would get stuck. When I reduced the resolution, it worked just fine, so that’s a potential solution as well, but I think I might try experimenting with some other software (any suggestions?).
I feel the need to repeat myself here, though… OpenShot is free… So, that’s really nice.

The music was composed in MuseScore in Linux. It is also free and pretty neat. MuseScore is composition software with a midi simulation playback option which is fantastic for someone like me with no idea what they are doing. It has it’s limits, though. The midi playback IS still midi, and it sounds like it… but it was sort of fun getting to output my song as an mp3 and use it in the video. Maybe someday I’ll use music from real instruments, but for goofing around and learning, I think it works just fine.

I hope you found this enlightening or helpful. Please feel free to ask if you have any questions… though… remember, I’m figuring it out as I go along. In all liklyhood, questions will result in us trying to figure it out together rather than me already knowing the answer. That’s the fun part anyway, though, right?

Advertisements

Solid as an Oak

20140104-201909He hadn’t done it because he wanted to be famous, nor because, as he sat contemplating his fate from his deathbed, it seemed able to lend some small manner of immortality. He had buried the treasure because the only big thing that he hadn’t gotten a chance to cross off his bucket list was a real treasure hunt. He had decided that designing one was the next best thing.

Sure, treasures had been buried, some of them for similar reasons even: yet there weren’t very many, and none of them seemed to be something that he could accomplish, so he had made one of his own. It was a puzzle that he could have figured out, given the time. The prize at the end wasn’t much: a couple thousand dollars worth of gold (which amounted to a few ounces), an old pocket watch, and a copy of a novel he had written and never published with a document signing the rights over to whoever found the chest. He hadn’t published that novel because he hated the story; it had been his first book and was about vampires, but perhaps, with his death, it would be worth a little money for whoever found it. That, though, wasn’t likely.

As he lay in his bed, he could feel the life draining from him: it would happen any moment. He was a little afraid, but he tried not to think about that; instead he focused on his treasure hunt. Most of the hints were strewn through the poorly received pages of his novels, but there was a piece of the puzzle hidden in his favorite tree out in the backyard. It was a gnarled old oak tree. He loved that tree. Its twisting, curving, gnarled limbs perfectly captured the dichotomy of static and turbulent. He thought of it as a symbol of his life, and most good lives, for that matter. He had never particularly enjoyed excitement, but had relished in the sedentary moments of reflection after an adventure. It was reminiscing about the adventures after they happened that made life worth living. A life had to be a balance of chaos and stillness to be a content one; the tree reminded him of that.

He looked to his side, where his wife was looking down at him. She was still beautiful in her old age; the spark of youth shined in her eyes when she smiled, but she didn’t smile much anymore. He figured that was probably his own fault for up and dying on her. He grinned at her, hoping she would smile back. He wanted to see that sparkle one last time. She didn’t smile, though.

He tried to explain to her that it was all going to be okay. “You know,” he started, finding that it was difficult to talk and that it took him a long time to speak, “that old oak tree in the yard?” he asked.

“Don’t worry, Honey,” she said sweetly, trying to save him the effort of speaking, “I know it’s a fire hazard.”

Panic started to rise in his chest. He tried to speak, but nothing came out. It was finally happening: he was dying.

“There’s a tree trimmer coming to take the ugly old thing down next week,” she assured him, placing her hand on his shoulder.

He struggled to speak, but the struggle was internal; he could no longer move, and breathing no longer seemed to be doing anything. The panic subsided to terror. All that work would be for nothing if that oak tree no longer stood in the yard.

“Don’t worry, Love, try to get some rest,” she said, smiling down at him, her eyes twinkling.

 Edit: I uploaded the wrong version initially… there were a bunch of typos, my bad.