germain_sauve
Posts: 1
Joined: Mon Mar 26, 2012 6:28 pm

Re: RPi and Linux ARM support for camera input (SLR et video) for a StopMotion animation software

Mon Mar 26, 2012 7:00 pm

It's been a while since I haven't programmed something requiring GFX and my older son ( not 4 years old yet ) has an interest for stopmotion animation. So writing a simple stopmotion animation software could be the project that unite OpenGL ( ES ) code with all those LEGO and other toys that we have at home.

I am wondering if there will be a lot of library available that support video input ( v4l probably ) and digital camera input ( à la Canon EDSDK ) via USB?

Oh, and if anyone's interested to give a hand on the project (even only to brainstorm or test), please let me know.

lyzby
Posts: 24
Joined: Sun Nov 20, 2011 3:34 am

Re: RPi and Linux ARM support for camera input (SLR et video) for a StopMotion animation software

Mon Mar 26, 2012 10:53 pm

Many, perhaps most, Canon cameras will support remote shoot (zooming and shooting with a Windows or Linux system) using available CHDK software (Canon Hackers Development Kit).

See here for two brief chdk wiki articles I wrote on using a Canon A590is on a Dockstar running Debian (I expect the R-pi will work just as well--and better once its hi-res interface is available with a suitable camera):

http://chdk.wikia.com/index.ph.....&s=wl

http://chdk.wikia.com/index.ph.....&s=wl

For an active thread of the related topic of "live view", see here:

http://chdk.setepontos.com/ind.....topic=6231


darethehair
Posts: 8
Joined: Mon Dec 05, 2011 9:41 pm
Contact: Website

Re: RPi and Linux ARM support for camera input (SLR et video) for a StopMotion animation software

Wed Mar 28, 2012 1:15 pm

For the 'gphoto2' angle, here is a link to the definitive list of cameras that support 'remote control':

http://www.gphoto.org/doc/remote/

Apparently, it is getting more difficult to find point-and-shoot cameras that do this -- including Canon.  Personally, I have some old Nikon 'Coolpix' cameras that do, and one is currently being controlled (as a super-quality 'weathercam') via gphoto2 in a Pogoplug running Debian linux.

I think that all modern Canon DLSRs work well this way, but they are way overkill for this task -- not to mention the limits on 'shutter life'

gazzat5
Posts: 12
Joined: Thu Jun 14, 2012 4:51 pm

Re: RPi and Linux ARM support for camera input (SLR et video

Thu Jun 14, 2012 4:53 pm

@lyzby

I have compiled ptpcam and chdkptp on my pi under the debian image, and both work well.
Just found out about gphoto, could be interesting!

Btw, thanks for those wiki pages they were very useful!

Just looking for console image viewers now!

fehlfarbe
Posts: 25
Joined: Wed Jun 20, 2012 7:49 pm
Location: Dresden, Germany
Contact: Website

Re: RPi and Linux ARM support for camera input (SLR et video

Wed Jun 20, 2012 7:55 pm

Hi,

I compiled chdkptp on my RPi under Gentoo Linux. It starts but when I connect to my Canon IXUS60 I get a segmentation fault. Same problem with the chdkde ptpcam version. The camera and chdkde ptp works fine on my desktop pc under Ubuntu 10.04.

Has anyone an idea?

gazzat5
Posts: 12
Joined: Thu Jun 14, 2012 4:51 pm

Re: RPi and Linux ARM support for camera input (SLR et video

Thu Jun 21, 2012 2:07 am

Hi there fellow ixus60 owner!

These are just things to try:
Camera needs to be chdk booted and in playback mode when connected before starting chdkptp/ptpcam.

Also needs to be run as root bdue to using libusb

HTH

fehlfarbe
Posts: 25
Joined: Wed Jun 20, 2012 7:49 pm
Location: Dresden, Germany
Contact: Website

Re: RPi and Linux ARM support for camera input (SLR et video

Sun Jun 24, 2012 12:39 pm

Thx! "ptpcam --chdk" still can't connect but chdkptp works fine with root access!

reyalp
Posts: 8
Joined: Mon Jul 02, 2012 6:12 am

Re: RPi and Linux ARM support for camera input (SLR et video

Mon Jul 02, 2012 6:31 am

FWIW, I've added a Raspberry pi binary of chdkptp builds page: http://www.assembla.com/spaces/chdkptp/documents

This was made with the wheezy beta. In the default configuration, it needs to run as root to access the camera.

A description of everything needed to build it can be found on this post on the CHDK forum:
http://chdk.setepontos.com/index.php?to ... 5#msg87225

Another user reported segfault issues similar to what fehlfarbe reported using the arch distro. I haven't had a chance to look into it yet.

Return to “Other projects”