Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera Preview in app #139

Open
Strankler opened this issue Feb 4, 2021 · 2 comments
Open

Camera Preview in app #139

Strankler opened this issue Feb 4, 2021 · 2 comments

Comments

@Strankler
Copy link

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
Copy link

smidm commented Mar 4, 2023

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
Copy link
Collaborator

aramg commented Mar 8, 2023

Workarounds:

  • The above suggestion with ffplay.
  • Use of a browser (via the http://... endpoint) if the webcam isn't needed, just a preview.
  • Using OBS Studio along with the DroidCamOBS app + plugin (which may get its own client in the near future)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants