Questions tagged [pyvirtualcam]
6 questions
2
votes
1 answer
Error using pyvirtualcam: 'NoneType' object has no attribute 'send'
I am trying to fix my webcam, that has a horizontal green line in it, using OpenCV to inpaint the line and pyvirtualcam to create a virtual cam and use it in apps like discord and google meet.
The image processing with OpenCV is working correctly,…

Gabriel Accetta
- 31
- 5
1
vote
0 answers
Does OBS support RGBA camera?
I was playing around with the module "pyvirtualcam". In this demo, I created a virtual cam with RGBA, but the OBS couldn't display it properly. Does anyone know how to use it?
import pyvirtualcam
import cv2
import numpy
from PIL import Image
im =…

Fritz Lennon
- 11
- 1
1
vote
1 answer
RuntimeError: 'v4l2loopback' backend: std::exception when using pyvirtualcam
When using pyvirtualcam, the following line
with pyvirtualcam.Camera(width=1280, height=720, fps=5) as cam
gives the following error
File "/home/linux1/Documents/jpeg-camera/./main.py", line 12, in
with pyvirtualcam.Camera(width=1280,…

Roylat Gnail
- 69
- 6
0
votes
1 answer
I want to output video as the virtual cam in python
I write a script for share video from laptop to laptop though the network. I want to out put my receiving video as the virtual cam. please help me.
import cv2, socket, numpy, pickle
def camera(ip2):
s = socket.socket(socket.AF_INET,…
0
votes
0 answers
How can I change the output resolution of OBS?
I create a virtual cam using the pyvirtualcam library, but I cant change the output resolution. It is always 1920x1080.
If I create a virtual camera and set its resolution like this it will resize the image to fit in…

licerer
- 13
- 3
0
votes
0 answers
Create virtual webcams and stream video into them using Python?
It's possible to create devices in /dev that simulate webcams
using python to stream video from local dictory into these virtual devices?
For example, streaming a video to this virtual webcam device and it will be available on /dev/video3

sakthivel
- 19
- 9