KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
298 stars 44 forks source link

Remote control via USB (libgphoto2) #103

Open Stemby opened 4 years ago

Stemby commented 4 years ago

Hi, I'd like to control the most common still camera in the world (an Android phone with integrated camera) with Entangle.

Entangle uses libgphoto2:

http://gphoto.org/

Is it possible to expose FreeDcam features via USB in order to have remote control of an Android device from a GNU/Linux box (FOSS-only)?

Maybe by implementing PTP?

Thank you!

Happy new year, Carlo

KillerInk commented 4 years ago

Hi, Looks possbile todo, but i have not yet worked with USB. Could get alot work work to handel all the commands. Other problem is im not a linux user^^ But FreeDcam should be modular enough to handel it. Streaming the preview could be tricky.

Happy new year too greets

Stemby commented 4 years ago

Hi @KillerInk, thank you for your reply.

Other problem is im not a linux user^^

This isn't a problem: PTP is a generic / neutral / cross platform protocol; gphoto2 should work automagically.

Best regards, Carlo

nick87720z commented 4 years ago

Streaming the preview could be tricky.

From own experience - I noticed, when android phone is connected in file view mode, both PC and phone software have access to files. E.g., when shooting some photos, they immediately appear in file manager at PC, if proper dir (DCIM/FreeDCam) is opened. This allowes 2 things:

Thus, the only remaining issue - adjusting controls remotely, to completely avoid touching smartphone during session.