Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: investinglass on January 16, 2021, 03:25:12 PM

Title: independent auto-upload
Post by: investinglass on January 16, 2021, 03:25:12 PM
I'm looking for wireless image.canon functionality, without the canon part. (I'm one of those guys I guess). Or wireless tethering without windows. My target is a 6D mk1.

Is this a pipe dream? Is there a pre-existing solution, or building blocks?

Can I write a lua script so the camera connects to a wifi network and starts uploading to an endpoint of my choosing, preferably in an easy protocol like ftp/sftp/http/...? (I'm new to lua but not other scripting languages, but it would still be an investment)

Or Is there a way to do the inverse and have an android or linux machine pull images out of the camera over wifi?
Title: Re: independent auto-upload
Post by: a1ex on January 17, 2021, 10:34:43 AM
Current status: networking functions were documented several years ago, but no such functionality implemented in ML yet.
https://www.magiclantern.fm/forum/index.php?topic=11053.0

Otherwise, the functionality should be doable, but has to be built from scratch - possibly with reusing some existing libraries. No 6D here, so... can't help much.
Title: Re: independent auto-upload
Post by: Walter Schulz on January 17, 2021, 10:36:28 AM
Pull: gphoto2 via wireless.
Title: Re: independent auto-upload
Post by: investinglass on January 17, 2021, 11:54:35 AM
I've made some progress towards my goal: gphoto2 (hints from here (https://www.multimedia4linux.de/index.php/canon-dslr-wiki/wlan-wi-fi-mit-gphoto2-nutzen)) works if you use the function "Remote control  (EOS Utility)", rather than "Connect to smartphone".

I can list and download photos. The speed is 1.9MB/s in optimal conditions, so roughly 14 seconds to transfer a raw+jpg. This is far below the supported 802.11n standard (similar speed reportedhere (https://www.dpreview.com/forums/thread/3448916)), so that's a very limiting factor.

Functional, but not yet great.