On Wed, Apr 08, 2020 at 12:32:28PM -0700, Christopher Kao wrote:
> Hey Marcus,
> 
> Thanks for sharing and keeping me in the loop. 
> 
> I tried running the command you provided and it errored. Please see the 
> attached screenshot.
> 
> As a sanity check, I did do a gphoto2 —summary and confirmed that the camera 
> was connected.
> 
> By the way, I think that if you are able to solve the PTP v1.1 streams on the 
> Leica SL, then there is a good chance you will have solved it for the Leica 
> SL2, Leica Q2, and a fleet of Panasonic mirrorless cameras because Leica 
> cameras use Panasonic internals. This article may be a good reference for you 
> on the MJPEG structures that Panasonic GH3 and Leica SL use for encoding 
> MJPEG streams over UDP streams. I have a feeling they may do something for 
> when the stream is over USB. 
> http://www.personal-view.com/talks/discussion/6703/control-your-gh3-from-a-web-browser-now-with-video-/p1
>  
> <http://www.personal-view.com/talks/discussion/6703/control-your-gh3-from-a-web-browser-now-with-video-/p1>
>  I have actually reproduced what was said in the article and it works for me. 
> I used a header offset of 171 bytes to get the beginning “”ff d8” which 
> indicates a jpg file and ends with “ff d9”. Please see my second screenshot 
> of that working - in that setup, I had created an iOS application which 
> subscribes to the udp sockets and slices out the first 171 bytes of each 
> message, then converts the binary file to base64 so that the underlying jpeg 
> can be displayed. That was when my iOS app was connected to the wifi 
> published by the Leica SL. 

For Lumix I added actually code that does that (in the lumix WiFi driver ;)


I have now researched a bit more and added a bit more code.

If you could update to libgphoto2 current master again, build, install and then

        gphoto2 --capture-preview --debug --debug-logfile=preview.log

and send the preview.log?

The camera might hang and need replugin / powercycle after this call due to the 
streaming being endless and 
me not having added the stopping yet. ;)

 
> By the way, have you seen anyone use gphoto2 on iOS before? Is it possible if 
> a product has a MFI (Made for iPhone) license? I noticed that Hasselblad 
> seems to be the first OEM to register a camera which is why their Phocus II 
> iPad app supports controlling the camera from an iPad Pro over USB-C 
> (https://mfi.apple.com/MFiWeb/getAPS <https://mfi.apple.com/MFiWeb/getAPS> 
> and search by brand for “Hasselblad”).

I am not aware.

Ciao, Marcus


_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to