dev47apps / droidcam-linux-client

GNU/Linux/nix client for DroidCam
http://www.dev47apps.com
GNU General Public License v2.0
1.07k stars 173 forks source link

Camera Preview in app #139

Open Strankler opened 3 years ago

Strankler commented 3 years ago

Description: After connecting the app with the mobile, I can see the picture on the mobile, and that the connection is made correctly. But I can't see it in the app.

Problem: I have 3D printed a bracket, to mount my mobile backwards on the monitor so that the camera points in my direction. But with this setup, I don't see the screen of the mobile anymore, and so have no clue if it works, or if the camera is orientated properly. (except, I 'd walk around the table, or do some silly moves to try to have a look at the back of my monitor). Of course I can open an appropriate program like "Cheese" to check, but "Cheese" don't work stable with droidcam (It interrupts after a few seconds).

Feature Request: Implementation of a camera preview into the app to see immediately if the connection with the camera-device works correctly, and to have a chance to orientate the camera view before entering a video conference.

smidm commented 1 year ago

you can start a quick preview using:

ffplay -f video4linux2 -framerate 30 -video_size hd1080 /dev/video0  # adjust the params...

this could be binded to a shortcut key

aramg commented 1 year ago

Workarounds:

Rendering a preview on Linux would require a big-ish overhaul.