The Picture Transfer Protocol library 1.1.0 review

Download
by rbytes.net on

libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players (KODAK mc3). You can download

License: GPL (GNU General Public License)
File size: 0K
Developer: Mariusz Woloszyn
0 stars award from rbytes.net

libptp2 is a library used to communicate with PTP devices like still imaging cameras or MP3 players (KODAK mc3).

You can download files or tweak camera properties using ptpcam program boundled with libptp2.

Supported Cameras

The list of cameras implementing PTP is constantly growing. Most (if not all) USB still cameras designed after 2002 are supporting PTP. Below is the list of vendors implementing PTP in their cameras:

* Kodak
* HP
* Nikon
* Canon
* Panasonic
* Olympus
* Konica
* Minolta
* Fuji
* Ricoh
* Sony

More are comming...

Please note that if your camera is supporting PTP it does not mean that it is capable of performing all PTP operations (like trigerring capture, uploading files or tweaking properties). Sony cameras are good example of poor PTP implementation where the only thing you can do is downloading files. Sony even breaks the USB specification assigning all its cameras the same product/vendor IDs so don't buy Sony if you want to stay out of problems.

Currently most PTP features are supported. Uploading/downloading files, taking pictures and setting camera properties is supported as long as your camera supports it. However there are many Vendor Extensions that are not supported.

For example Canon uses some proprietary extension operations to take pictures (entering capture mode, extending lens and so on), Nikon introduces proprietary PTP properties.
Unfortunately I have access to couple of Kodak cameras only so to help support extension features you may send me a patch or donate/lend the camera.

What's New in This Release:
A number of bugs were fixed, including leaving the camera in an unpredictable state when an I/O error occurs.
The project's own reimplementation of the old libusb interface (IOCTL_USB_BULK) is used instead of the new URB interface, which is 20% to 50% slower and sometime leads to I/O errors.
File time preservation across download was added.
Better capture support was added.
A bug that caused files over 2MB to be corrupted while downloading was fixed.
The --loop-capture feature was added.
Configure errors and parralel build with make -j were fixed.

The Picture Transfer Protocol library 1.1.0 search tags