PTP read-out from Fuji X-T100 extremely slow
Thomas A <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <CALNqPeNKP5RwpTOpkizJ0_Q=3k4V3YDAmgV9YErcuEb1BAR55g@mail.gmail.com> |
Hi, I found that listing files or just trying to pull one file from my Fujifilm X-T100 using gphoto2 takes a very long time. (The same is true for whatever backend Gnome uses - I did notice it was faster when there were fewer images on the memory card of the camera). I tried with both -L, to list all files, and --get-file=1. In both cases, gphoto2 seems to go through the info for each file (object?) (To get filenames?) and each read-out takes about 200ms. (Logs at [1]. Also tried with gphoto2 2.5.15 / libgphoto2 2.5.16 on another computer) Is there any way to avoid these reads? I guess they are needed to map filename to object? Is there a 200ms wait performed by gphoto or is it my camera? I tried searching for the problem. The closest I got is that the Fuji PTP/IP protocol does not have unique object IDs [2]. Going by how consecutive the numbering in the debug output is, this might be true for PTP over USB as well? What I ultimately like to do is pulling a number of images (not all) from the camera within a number of seconds. Getting previews is not necessary. If necessary, I could resort to some kind of cache file and not delete images from the camera (to avoid object remapping, if the non-uniqueness is true). (In the long term I was thinking of only extracting images with a certain "star" rating in the Exif data) Best Regards, Thomas Axelsson [1] Logs: http://www.lysator.liu.se/~axl/gphoto2/ [2] https://www.shuttersnitch.com/forums/viewtopic.php?f=39&t=1880 "* The Fujifilm PTP protocol doesn't assign files a unique ID. In short: Please don't have more than 50-100 photos on your card unless you like watching slow progress bars. (ShutterSnitch can't keep a cache and therefore needs to download the file information each and every time.)" ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user