You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this error when running the command below, any ideas?
$ python3 fake.py -c ./config-example.ini
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Real camera original values are set as: 640x480 with 30 FPS and video codec 1448695129
Real camera new values are set as: 1280x720 with 30 FPS and video codec 1196444237
Traceback (most recent call last):
File "/home/bruno/Downloads/fakecam/fake.py", line 495, in <module>
main()
File "/home/bruno/Downloads/fakecam/fake.py", line 484, in main
cam = FakeCam(args)
File "/home/bruno/Downloads/fakecam/fake.py", line 120, in __init__
self.fake_cam = pyfakewebcam.FakeWebcam(self.v4l2loopback_path, self.width,
File "/home/bruno/.local/lib/python3.10/site-packages/pyfakewebcam/pyfakewebcam.py", line 54, in __init__
fcntl.ioctl(self._video_device, _v4l2.VIDIOC_S_FMT, self._settings)
OSError: [Errno 22] Invalid argument
Have you try to resolve this issue with answers from #170 ? I've also had this issue and in my case this command do the job: python3 fake.py --webcam-path /dev/video2 --v4l2loopback-path /dev/video4 so if you adjusted this to your configuration it would look like this python3 fake.py --webcam-path /dev/video0 --v4l2loopback-path /dev/video2
I'm having this error when running the command below, any ideas?
My config file:
v4l2loopback
My devices:
Hardware/OS:
The text was updated successfully, but these errors were encountered: