Is PC remote control (via USB) possible ? - General Help and Assistance on using CHDK stable releases - CHDK Forum

Is PC remote control (via USB) possible ?

  • 3 Replies
  • 8056 Views
Is PC remote control (via USB) possible ?
« on: 17 / July / 2012, 16:25:08 »
Advertisements
Hi.
I want to control one of Canon's newer P&S cameras from software running on Windows 7.
Canon's SDK no longer supports the P&S models.
Is this possible with CHDK ?
I need to see a live preview, trigger the shutter and start/stop video recording.

Best,
SW

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Is PC remote control (via USB) possible ?
« Reply #1 on: 17 / July / 2012, 16:55:29 »
Is this possible with CHDK ?

Yes, read more about the PTP extension: http://chdk.wikia.com/wiki/PTP_Extension

There are two PC applications:

chdkptp
ptpCamGui

msl
CHDK-DE:  CHDK-DE links

Re: Is PC remote control (via USB) possible ?
« Reply #2 on: 17 / July / 2012, 17:11:10 »
Thanks,
I need this to work with my own software, is there some documentation about the PTP protocol ?
Any code samples ?
I can't find anything.


*

Offline reyalp

  • ******
  • 14126
Re: Is PC remote control (via USB) possible ?
« Reply #3 on: 17 / July / 2012, 22:53:15 »
Thanks,
I need this to work with my own software, is there some documentation about the PTP protocol ?
The protocol is documented in the ptp.h header: http://trac.assembla.com/chdk/browser/trunk/core/ptp.h except for the live view (remote display) which is documented in live_view.h http://trac.assembla.com/chdk/browser/trunk/core/live_view.h

Note that for live view, you need to be using the 1.1 (trunk) version, not the 1.0 (stable) version of CHDK. 1.1 is currently in release candidate phase, so it should be stable enough for general use.

Quote
Any code samples ?
Both the modified ptpcam used by ptpCamGui and chdkptp are open source. Only chdkptp implements the current live view protocol. The chdkptp source is available from the assembla project page http://www.assembla.com/spaces/chdkptp/trac_subversion_tool
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal