gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
719 stars 116 forks source link

Panasonic DC-GH5 capture-tethered often results in 0 byte file size for 2nd triggered capture #529

Open dustinkerstein opened 2 years ago

dustinkerstein commented 2 years ago

When capturing with --capture-tethered I often see the 2nd file transfer with a 0 byte file size.

4.947475 debug_objectinfo            (2): ObjectInfo for '_1300143.JPG':
4.947482 debug_objectinfo            (2):   Object ID: 0x1220808f
4.947487 debug_objectinfo            (2):   StorageID: 0x00010001
4.947491 debug_objectinfo            (2):   ObjectFormat: 0x3801
4.947496 debug_objectinfo            (2):   ProtectionStatus: 0x0000
4.947501 debug_objectinfo            (2):   ObjectCompressedSize: 0

See here for the full debug. Note that when I trigger photos normally (ie. without being tethered) I never see 0 byte files.

Camera/Host setup:

Version Info:

gphoto2         2.5.28         gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2      2.5.30         standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF
libgphoto2_port 0.12.1         iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

Let me know if you'd like any further info / debug. Thanks for the help!

dustinkerstein commented 2 years ago

Looks like this could be related to #488 and #526