Skip to content

der3318/screen-to-virtualcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📷 Screen to Virtual Webcam

python mss pyvirtualcam portable license

Python script bridging the stream from screen to virtual webcam.

📽️ Demo

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

🕹️ Get Started

0️⃣ Install Supported Virtual Cameras

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

1️⃣ Start Streaming

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

2️⃣ Uninstall

Step Description
#1 run UnityCapture/Install/Uninstall.bat in admin console to unregister
#2 simply remove all the unzipped binaries