On Fri, Apr 03, 2020 at 02:56:49PM -0700, Christopher Kao via Gphoto-devel wrote: > Hi, > > I see the the Leica SL is listed under supported cameras > (http://www.gphoto.org/proj/libgphoto2/support.php > <http://www.gphoto.org/proj/libgphoto2/support.php>) but not under the remote > controlling cameras page (http://www.gphoto.org/doc/remote/ > <http://www.gphoto.org/doc/remote/>). > > On my MacBook Pro 15” Retina 2018 have confirmed that I am able to run > `gphoto2 —capture-image` and the camera takes an image. But I am unable to > run `gphoto2 —capture-preview`. My goal is to be able to stream images. > > This is the debug output when I try to capture preview. See attached file. > > However, I see that the Leica Image Capture 3.7 app does support live image > streams (and very quickly with around 0.1 second latency). See screenshot of > this working. Do you have a sense of what underlying mechanism Leica Image > Shuttle might be using to get the images to the Mac? It seems to me that > there is definitely PTP being used since I see PTPCamera open as a process > when Leica Image Capture 3.7 runs.
Hi, I spent some time looking over the debugtrace, and also reverse enginering the LightRoom driver and now the Image Shuttle executable... Currently we do not know how the preview is being streamed to the machine. It looks a bit like it uses PTP 1.1 "Streams", which we currently do not yet implement as we had no other camera using it so far. I have now added some PTP stream debugging code and Leica specific open and close session commands to libgphoto2 master already in preparation, if you want to try it. Once built, run: gphoto2 --summary --debuginfo --debug-logfile=summary.log > summary.txt and attach both summary.log and summary.txt. Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel