ptpcam gui - General Help and Assistance on using CHDK stable releases - CHDK Forum

ptpcam gui

  • 95 Replies
  • 64817 Views
ptpcam gui
« on: 10 / April / 2011, 15:52:25 »
Advertisements
Hi all...

I cannot figure out how to use ptpcamgui??

where do i find it?  chdk shell says it updates ptpcamgui but i don't know where to find it.

i want to beable to transfer raw files from the camera to the computer, i have them set to .crw extension but the files don't show when i open the folder through USB connection.
sx20is 1.02d

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: ptpcam gui
« Reply #1 on: 12 / April / 2011, 16:08:54 »
Sorry for delayed answer.

You can find ptpCamGui in the context menu of the CHDK shell (right click -> Guests -> ptpCamGui) or as stand alone program in German CHDK forum.

Do not forget, there is an alternative USB driver needed.

msl
CHDK-DE:  CHDK-DE links

Re: ptpcam gui
« Reply #2 on: 13 / April / 2011, 21:37:39 »
I've been trying to download ptpCamGui1.0.90.zip from that forum all day at different times, thinking it might be a server problem at certain times of day. I tried using 3 different browsers, 2 different download utilities, but it always stops anywhere from 400k to 600k and it doesn't allow for resuming a download. It takes about 7 minutes on my dialup to download 1meg. Can this file be posted somewhere that doesn't cut-off people who don't have high-speed access and allows for resuming downloads?


*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: ptpcam gui
« Reply #3 on: 14 / April / 2011, 14:37:05 »
Sorry for the problems.

The server allows resuming but not the php software for the forum. I have uploaded the latest version to box.net. Maybe it's going better.

http://www.box.net/shared/hnba1p0tvf

msl
CHDK-DE:  CHDK-DE links

Re: ptpcam gui
« Reply #4 on: 14 / April / 2011, 19:52:24 »
Thanks for doing that! I finally was able to get it and test it a little. I can get it to talk to regular CHDK but it returns a lot of error replies (or something like that) when any shooting commands are sent and then it just gets caught in an endless loop of sending requests whenever I click on any of the main icon button on top. Like this:

>> luar get_mode() << script:12
12:ret:false (Length: 23)
>> luar get_mode() << script:13
13:ret:false (Length: 23)
>> luar get_mode() << script:14
14:ret:false (Length: 23)

I have to unplug the camera and use task-manager to quit the process to get out of it.

It reads all the available modes in the camera just fine though, they all show up on the drop-down list (next to the No Photo, Photo, Motion, ISO, check-boxes). I suppose it needs to be used with the CHDK-DE build then? I turned off WIA loader and CHDK's remote options so I don't think that's the problem. Though, it was difficult to tell if I did it all correctly because I only have Google's poor-english translations to read the German forum pages.

It might not be a bad idea for someone to write some clear documentation in english all in one place, not spread out through 30 confusing pages of posts, so you can get more people to test this and help to make it more universally compatible. It looks like it'll be a fantastic standard addition to CHDK(-DE) once all the bugs are worked out.


Re: ptpcam gui
« Reply #5 on: 14 / April / 2011, 23:09:03 »
Sorry for delayed answer.

You can find ptpCamGui in the context menu of the CHDK shell (right click -> Guests -> ptpCamGui) or as stand alone program in German CHDK forum.

Do not forget, there is an alternative USB driver needed.

msl

Thanks...I had thought it was somewhere in chdk shell since i know it updates it but i couldn't find it....lol

now i have the alternate usb driver and am going to play some :)
sx20is 1.02d

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: ptpcam gui
« Reply #6 on: 15 / April / 2011, 07:31:02 »
some information about using the GUI:

You need an alternative USB driver: http://sourceforge.net/projects/libusb-win32/
Available for Windows 2000, Windows XP 32 Bit, Windows Vista 32/64 Bit, Windows 7 32/64 Bit

1. Extract archive.
2. Connect camera via USB and turn on
3. Search in extracted archive in subdirectory for inf_wizard.exe and run this file
4. Select in the second window 'Device Selection' your camera.
5. The driver will be provided and installed.
6. No PC reboot is needed.

CHDK must support the PTP interface version 2.0 (CHDK rev. 1155 or CHDK-DE rev. 646). For certain features to work properly, you may need to turn off review and flash.

Download the GUI from CHDK-DE forum: http://forum.chdk-treff.de/viewtopic.php?f=7&t=2207 or from Box.net.
Or use as guest program with whim's CHDK-Shell over context menu.

Camera Mode

Play - Switch to play mode

Video - Start & stop a video record (Starting from play mode, switch after stop to play mode)

Record - switch to record mode with 3 options: No Photo - only Switching, Photo - take a photo, Motion - take a photo after motion detection.

Green Frame - Half shoot function for focus

Capture mode -  pull down menu is for selecting of available capture modes.

ISO - Checkbox activate the pull down menu for ISO values and override the ISO value with the selected.

Tv - Checkbox activate the pull down menu for Tv values and override the Tv value with the selected.

Av - Checkbox activate the pull down menu for Av values and override the Av value with the selected (only for cams with Av mode.

Ev - Checkbox activate the pull down menu for Ev values and use the Ev value for exposure correction.

Zoom slider - Set the zoom. If you are in play mode zoom settings switches the camera to record mode.

MF slider - Set the focus (only for cams with MF mode). Activate the mode with the MF Button. The slider changes the range dynamically. The values ​​are checked and corrected on the actual adjusted MF value.

Camera Control

Simulate camera keys. Not all keys are available for all cameras. You can't switch into CHDK ALT mode.
VxWorks cameras: For the use in play-mode must first be switched in the record mode, except A610.

MF button for MF - mode
AF Lock button for locking AF in capture mode. When clicking the button the camera will focus.
RAW button for switch RAW on/off (shows the recent status).

Status display of battery and SD card. Manual refresh with F5 key.

Timelapse

The timelapse section allows you to take a series of pictures at a certain interval of time.
Make sure you set the time between pictures to an amount that is longer than your camera takes to refocus/recycle flash, etc.. Forcing the camera to shoot too quickly may cause camera crash.

Bracketing

Bracketing allows you to take a series of pictures (3, 5, or 7) with different steps. You can choose
Tv or Ev bracketing. Ev bracketing will not allow a shutter speed over one second. This is a Canon limit. Tv bracketing uses the CHDK Tv override function.

DCIM Download

This section allows you to copy the pictures from your camera. "Download" will start a new window. The window shows a preview of the pictures and gives information about the progress of download. With "Destination" you can select a destination for your pictures.

New files - pictures taken since your last download
All Files - all files from the DCIM directory of your camera
Last - A certain number of the latest pictures your camera has taken

Rotate JPGs - rotate jpeg images (lossless) according to the exif inforamtion

Delete Files - images you have chosen to download in the DCIM Download section are
deleted from the camera after they are downloaded to your computer. It does not delete files from your computer.
This function forces the camera to reboot in order to maintain an accurate count of pictures on the camera.

Menu

File:

Basic Copy to Camera - Choose a CHDK related file. diskboot.bin and ps.fi* will be copied in root, *.bas and *.lua will be copied in CHDK/SCRIPTS.

Advanced Copy to Camera - Open a new window. You can select a autobuild server or a local version of a zipped CHDK version. When a sever is selected the GUI will download the recent CHDK version for your camera, extract the file and copies the CHDK files to the camera. Is "Auto Reboot" selected the camera will reboot after file transfer. With the button "Delete file" you can delete downloaded files. The GUI detect if a new CHDK version is available. Only new versions are downloaded. "Exit" will close the window.

Note: If more than one partition, the files are uploaded to active partition!

Language:

English - English GUI language

Deutsch - German GUI language

Consoles:

Lua Console - writing, edit and execute lua scripts including output window like the camera console. Lua errors are highlighted. Up to 2000 characters sent directly. Over 2000 chars the GUI sents a script file to camera.

Show PTPCAM Console - for debugging. All commands are displayed in the console for control purposes. You can also enter commands directly (CHDK-PTP and Lua commands).

Help:

Help - Basic help for USB driver

PTP Commands Help - shows the ptp commands

About - Programm informations

Hotkeys

F1 - online help, shows this page
F2 - gui play button
F3 - gui video button
F4 - gui photo button
F5 - refresh battery and SD card state
F6 - lua console
F7 - ptpcam console

ini file

The GUI create an ini file. Most of the settings will be saved in the this file. You can delete the ini file for a new initialization.
« Last Edit: 02 / November / 2011, 07:35:10 by msl »
CHDK-DE:  CHDK-DE links

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: ptpcam gui
« Reply #7 on: 29 / April / 2011, 17:30:53 »
A new version of ptpCamGui is available.

The GUI works now with ptpcam 2.0. The debug console was outsourced for a better overview. For debugging you can this console switch on/off as an extra windows.

New functions:

+ Tv override
+ Buttons for zoom +/- and RAW on/of
+ Lua console for writing, edit and execute of lua scripts including output window

For the functional description of ptpCamGui see reply #6.
CHDK-DE:  CHDK-DE links

Re: ptpcam gui
« Reply #8 on: 30 / April / 2011, 15:18:09 »
A new version of ptpCamGui is available.

Thanks! Too bad that I can't download it. Server times out EVERY time. If you want more people to test it, try hosting it where people can actually download it.


*

Offline reyalp

  • ******
  • 14125
Re: ptpcam gui
« Reply #9 on: 30 / April / 2011, 15:51:51 »
Thanks! Too bad that I can't download it. Server times out EVERY time. If you want more people to test it, try hosting it where people can actually download it.
Works fine here.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal