This project streams any pre-recorded video as a webcam using OBS Virtual Camera.
The video appears as your camera in Zoom, Google Meet, Microsoft Teams, and similar apps.
✨ The app now allows users to choose any video file at startup.
- Python 3.9+
- OBS Studio (Virtual Camera enabled)
Install libraries:
pip install -r requirements.txtrequirements.txt
opencv-python
pyvirtualcam
numpy
VirtualCamProject/
│
├── main.py
├── requirements.txt
│
├── processing/
│ └── video_player.py
│
├── output/
│ └── virtual_camera.py
- Install OBS Studio
- Open OBS once and click Start Virtual Camera, then close OBS.
This installs the virtual webcam driver required by the app.
python main.pyWhat happens next:
- A file picker window opens
- Select any video file (
mp4recommended) - The virtual camera starts automatically
Expected terminal output:
Virtual camera started: OBS Virtual Camera
Press Q to exit.
Open Zoom / Google Meet / Microsoft Teams and set your camera to:
OBS Virtual Camera
Your selected video will appear as your webcam.
git clone https://github.com/callmejaymafia/VirtualCamProject.git
cd VirtualCamProject
pip install -r requirements.txt
python main.py- Recommended video format: portrait (
720x1280or1080x1920) - Works best with Telegram, Zoom, Google Meet, Microsoft Teams, Discord, and Skype
⚠️ Some apps (e.g., WhatsApp Desktop/Web) do not support virtual cameras