iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
26.66k stars 4.57k forks source link

Use VDO.Ninja as a Camera Source? #44

Closed pjh4 closed 2 years ago

pjh4 commented 2 years ago

I use my phone's camera as a virtual camera for my PC via OBS using https://vdo.ninja/

Is it possible to use this virtual camera as a Camera Source?

iperov commented 2 years ago

i don't know

there must be a driver or some code that can run in Windows and receive video input.

iperov commented 2 years ago

what protocol used betweed ninja and obs ? find a doc

iperov commented 2 years ago

if you are programmer, you can investigate how it works

goal - write a pure test code in python that can receive raw frames.

Then I can include it to DFLive easily.

pjh4 commented 2 years ago

Thanks for your response. Turns out it was an OBS related issue not outputting the virtual camera as DirectShow.

I was able to resolve this by installing OBS Virtualcam 2.0.5

https://obsproject.com/forum/resources/obs-virtualcam.949/