hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
34.93k stars 4.93k forks source link

Unable to select camera device through UI #376

Closed cloudwitch closed 3 weeks ago

cloudwitch commented 4 weeks ago

It would be nice to have a way to select which camera to use. I am on Ubuntu 22.04 with a Linux laptop. Since I use an external camera and keep my laptop closed, the program is defaulting to the on-board camera.

I was unable to find a quick/easy way to change the default camera in Ubuntu, so it would be nice if the program was able to allow a selection in the UI.

cloudwitch commented 4 weeks ago

I did find an issue suggesting editing cap = cv2.VideoCapture in modules/ui.py. Working on trying this. But it would be nice to have that able to be selectable in the UI.

jayasafunctionofe commented 3 weeks ago

a UI camera chooser was added in the experimental branch last week via commit 8d3072d

hacksider commented 3 weeks ago

This is already on the experimental build. Just testing it before releasing to public :)