Python script bridging the stream from screen to virtual webcam.
using Android's camera as PC's webcam (with the help of scrcpy tool) |
---|
using real-time game character as PC's webcam |
---|
using online/offline video as PC's webcam |
---|
Follow the guides suggested by pyvirtualcam, or the steps below (will install UnityCapture for Windows):
Step | Description |
---|---|
#1 | download and unzip ScreenToVirtualcam.zip |
#2 | run UnityCapture/Install/Install.bat in admin console to register the DirectShow Filter to be available in Windows programs |
Using Portable Version (Windows 10/11 AMD64)
Step | Description |
---|---|
#1 | download and unzip ScreenToVirtualcam.zip |
#2 | run launch.bat and input preferred parameters |
#3 | select Unity Video Capture (or other vcam) from the apps using webcam |
Using Python Interpreter
Step | Description |
---|---|
#1 | install python3 |
#2 | pip-install the dependencies listed in requirements.txt (e.g., mss, Pillow, opencv-python, opencv-python, rich) |
#3 | invoke screen2vcam.py with preferred parameters |
#4 | select Unity Video Capture (or other vcam) from the apps using webcam |
Step | Description |
---|---|
#1 | run UnityCapture/Install/Uninstall.bat in admin console to unregister |
#2 | simply remove all the unzipped binaries |