
Am trying to transfer files using gphoto2 from my Canon camera over USB. gphoto2 says for one particular file: $ gphoto2 -L [...] #20 2Y4A1053.MP4 rd 0 KB video/mp4 [...] Where 0KB is is not correct. Besides the photo looks good on the camera. According to the camera the file size is 5.19GB. Does gphoto2 have limitations concerning maximum file size? Guessing there is a silent threshold at 4GB. A bit disconcerting when I think I have copied all my files, but it has actually copied size 0. With no errors or warnings. I have lost files that way. Particularly with the "file move" operation. Similar results when copying using nautilus file manager. This is on Debian/bullseye. Alternatively, is it possible this is a firmware bug on the camera? -- Brian May <brian@linuxpenguins.xyz> https://linuxpenguins.xyz/brian/

Brian May via luv-main <luv-main@luv.asn.au> writes: > This is on Debian/bullseye. + on Windows. Never mind, I just found this: https://www.dpreview.com/forums/thread/4513475 "Are those 0-byte video files larger than 4GB? If so, the PTP protocol can't deal with those. You need a card reader or try to wifi/cloud them off the camera." I think it is a pretty terrible protocol that silently discards data without error. OK, so it looks like Canon now has an "open" CCAPI protocol, that this software supports: https://www.testcams.com/canomate/ https://dphacks.com/how-to-canon-camera-control-api-ccapi/ But it is disabled by default. To enable it you need to run Windows software. But this requires registration to download. But you cannot register from Australia. WTF!!! There is an Australia link in the page above, but it is for EDSK, the older proprietary protocol, not CCAPI. I might have to invest in a card reader. -- Brian May <brian@linuxpenguins.xyz> https://linuxpenguins.xyz/brian/

Quoting Brian May (brian@linuxpenguins.xyz):
But it is disabled by default. To enable it you need to run Windows software. But this requires registration to download. But you cannot register from Australia. WTF!!!
Perhaps you or someone you know who has access to a commercial VPN provider can initiate download via passthrough to a country where download is permitted. -- Cheers, "Like looking both ways before crossing the street, and Rick Moen then getting hit by a submarine." -- Clarke Smith, age 9, rick@linuxmafia.com winner of Washtington Post's contest for best description McQ! (4x80) of the year 2020 in a single word or phrase.
participants (2)
-
Brian May
-
Rick Moen