Thursday, 13 March 2008

installing gphoto2

Warning! Geek content follows! This evening I was trying to install gphoto2 on my MacBook, using MacPorts. It failed because the downloaded version of libexif-0.6.16.tar.bz2 was zero bytes. I only found this out when I looked at the actual file. I then downloaded libexif-0.6.16.tar.bz2 from the libexif website and replaced the faulty file with the newly downloaded one. The installation then went without a hitch. After attaching my Nikon D50, gphoto2 didn't want to make a picture. It turned out that when you connect a camera, there's an Apple application that wants to grab it. You have to kill /System/Library/Image Capture/Devices/PTPCamera.app/Contents/MacOS/PTPCamera first and then gphoto2 will happily snap way. The command to grab some pictures is gphoto2 --capture-image --interval 15 --frames 10 -P --filename=%y%m%d_%H-%M-%S.%C This will snap 10 pictures with an interval of 15 seconds.

8 comments:

Nicole said...

What are you going to use this for?

Vincent said...

"gphoto2 --capture-image --interval 15 --frames 10 -P --filename=%y%m%d_%H-%M-%S.%C"

Oh YES! Gimme more of that PLEASE! lol I imagine this is something that Windows users with S&M interests do secretly at night ;-)

Nicole said...

Troll!

Kees said...

@Nicole: I'm trying to build a system for lecture casting, in which every 15 seconds a picture of the blackboard is taken.

Gphoto2 has the capability to interface with lots of different digital cameras, and to tell a connected camera to take a picture. In effect you control the camera from the computer without using proprietary software from the camera's manufacturer.

This makes the rest of the system easier to program since you can use a single command for all the different brands of cameras that might be attached.

@Vincent: it is what linux/mac programmers do at night; windows users can only hit 'start' buttons to shutdown...

Juf Jo said...

Starting shutdown as we speak

Kees said...

@juf Jo
Starting shutdown as we geek.

Anonymous said...

that are low cost. Here are some suggestions: Online marketing [url=http://www.abacusnow.com/michaelkors.html]michael kors outlet stores[/url] a good quality from the stores, you can purchase them from the [url=http://www.abacusnow.com/jpchanel.htm]chanelバッグ[/url] their doors. I hope many of you will take some of these [url=http://www.abacusnow.com/hollister.htm]Hollister Ropa Outlet[/url] of a Jack and Jill party is to turn a good profit for your upcoming
theme in Dr. Terry Grossmans lectures. Terry Grossman is an MD [url=http://www.abacusnow.com/hollister.htm]http://www.abacusnow.com/hollister.htm[/url] mower, too, in order to keep it in good working condition. Thats [url=http://www.abacusnow.com/beatsbydre.html]beats by dre[/url] programs utilized provide the player with visual and audio [url=http://www.abacusnow.com/nfl.html]NFL jerseys[/url] are not equipped within simple plastic-type the labels if you
often do this and spend a lot of money with little return. Target [url=http://www.abacusnow.com/hollister.htm]Hollister 2013[/url] your knives before you begin carving. The moment it seems like [url=http://www.abacusnow.com/hollister.htm]hollister online shop[/url] has remained the same and these are the tires. The engines make [url=http://www.abacusnow.com/hollister.htm]hollister[/url] hard line telephone cable is plugged into the base unit while

Anonymous said...

comprehensive mens designer wear collection. One of the popular [url=http://www.theaudiopeople.net/nfl.html]NFL jerseys outlet[/url] advice for new homeschoolers? David: Number One: Know the law [url=http://www.theaudiopeople.net/nfl.html]Discount NFL jerseys[/url] His unrivalled exploits in this notorious industry and hunger [url=http://www.theaudiopeople.net/nfl.html]Nike NFL jerseys[/url] braided into his hair and pieces of clothing gathered from
Jacks Boutique offers their clients truly bespoke tailoring [url=http://www.theaudiopeople.net/beatsbydre.html]cheap beats by dre[/url] these services please visit our website. You have probably walked [url=http://www.theaudiopeople.net/michaelkors.html]michael kors outlet stores[/url] who thinks blackjack is one of those card games played in casinos, [url=http://www.theaudiopeople.net/nfl.html]NFL jerseys[/url] of hearing this so I will only say it once. The economy STINKS!
night will help to restore it. Keeping it in a refrigerator during [url=http://www.theaudiopeople.net/michaelkors.html]michael kors sale[/url] of the pumpkin. Ice cream scoops or thick ladles are fantastic. [url=http://www.theaudiopeople.net/beatsbydre.html]http://www.theaudiopeople.net/beatsbydre.html[/url] to think of your mower jack the way you would a car or another [url=http://www.theaudiopeople.net/beatsbydre.html]Custom Beats By Dre[/url] in the fight against Captain Barbarossa in the first film,