letmaik/pyvirtualcam

can't set output resolution

derchipo opened this issue · 4 comments

Thanks vor this lib. It works fine for me. But there ist one Problem

After multiple tests it is not possible to set the outputresolution.

cam = pyvirtualcam.Camera(width=1920, height=1080, fps=18, print_fps=True)
cam = pyvirtualcam.Camera(width=1280, height=720, fps=18, print_fps=True)
cam = pyvirtualcam.Camera(width=768, height=432, fps=18, print_fps=True)
cam = pyvirtualcam.Camera(width=480, height=270, fps=18, print_fps=True)
and all with
cam = pyvirtualcam.Camera(480, 270, fps=18, print_fps=True)
all of these inits procuces the same Output: 1920x1080 with very large img sizes
How can I reduce the Quality to get a better stream with bad uploadspeed.
Or how can i set the default output resolution.

Could you try again with the latest version? Also, could you make sure to first start the Python script and only then use the camera in other apps?

Can you check the README? There have been some changes in newer versions.