sensity-ai / dot

The Deepfake Offensive Toolkit
BSD 3-Clause "New" or "Revised" License
4.09k stars 401 forks source link

VIRTUAL CAMERA INJECTION OBS STUDIO INSTALLATION #129

Open PIA89120 opened 11 months ago

PIA89120 commented 11 months ago

:question: Ask a Question: I have gotten the GUI working but there was a deepfake error and that was due to obs and the virtual camera. I have tried everything ive been here all day. I installed OBS, followed the instructions for windows capture with python and it didnt work. I noticed that the plugin you listed is outdated, if you go to it itll give you a diff project.

https://github.com/exeldro/obs-virtual-cam-filter

I have followed all the instructions and its not working at all, it wants me to install obs through command line, add the virtual camera to the plugins and the notes. I had to keep reseting it since the obs64.exe stopped working several times. But when it does work, you go in, change it to python like you would have the other way, and there still is no virtual camera or windows capture python.

One part I think i was stuck at is the commands to uninstall and install the virtual camera, it says its already installed, but asks you to uninstall then install. It says there is no x32 bit virtual camera.

Other than that, obs64.exe will random;ly have alot of missing files out of nowhere when it was working the first time.

I have gotten the GUI working, just stuck at your DEEP FAKE OFFENSIVE TOOLKIT VIRTUAL CAMERA INJECTION PART:

================================================================================== Windows Install OBS Studio.

Install VirtualCam plugin.

Choose Install and register only 1 virtual camera.

Run OBS Studio.

In the Sources section, press on Add button ("+" sign),

select Windows Capture and press OK. In the appeared window, choose "[python.exe]: fomm" in Window drop-down menu and press OK. Then select Edit -> Transform -> Fit to screen.

In OBS Studio, go to Tools -> VirtualCam. Check AutoStart,

set Buffered Frames to 0 and press Start.

Now OBS-Camera camera should be available in Zoom

(or other videoconferencing software).

Description:

==================================================================================

I am unsure what to do because the only reason im using the workaround is that the file you listed is outdated.

Nothing is working and ive been here for days.

Please Help.

PJay

PIA89120 commented 11 months ago

This is highly annoying, so GUI Is working now, but deepfake error due to no virtual camera. I try your steps but they dont work the plugin is outdated, so i use their alternative and ive been stuck trying to this for a week,

PIA89120 commented 11 months ago

========================================================================== Virtual Camera filter for OBS Studio Plugin for OBS Studio to make sources available to the virtual camera via a filter

Download https://obsproject.com/forum/resources/virtual-cam-filter.1142/

Build Build OBS Studio: https://obsproject.com/wiki/Install-Instructions Check out this repository to plugins/virtual-cam-filter Add add_subdirectory(virtual-cam-filter) to plugins/CMakeLists.txt Rebuild OBS Studio Donations

These are the instructions for exeldro virtual cam filter,

when you click the plugin you put, it says it doenst work and to click the link, once you go to that link it says its outdated, and to download this.

I am stuck as python for windows capture is not showing up and the build keeps breaking. It does not detect a virtual camera, if you uninstall it then try and install it, itll tell you its basically 32bit and not 64bit or that it cant find it

PIA89120 commented 11 months ago

i dug a little deeper, apparently python.exe w/ windows capture needs conda working properly.

I dont think I have it setup right.

I cant run

(base) PS C:\WINDOWS\system32> conda env create -f envs/environment-gpu.yaml Retrieving notices: ...working... done

EnvironmentFileNotFound: 'C:\WINDOWS\system32\envs\environment-gpu.yaml' file not found

The environment file does not exist. I tried a virtual camera plugin, I think im missing the environment to get that virtual camera injection, which would then fix my original GUI error "DeepFake Error"

Nisthar commented 4 months ago

@PIA89120 did you get this working for yourself?

Ghassen-Chaabouni commented 3 months ago

We have an executable that you can download and use https://github.com/sensity-ai/dot?tab=readme-ov-file#gui-installation About the virtual camera. Yes, the instructions in the README are outdated. I believe the virtual camera now comes pre-installed with OBS.