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
player =MediaPlayer('/dev/video0',format="v4l2", options={
'video_size': '640x480'})
I am using RaspberryPi 4B with 64 os bookworm
I face the issue :
[video4linux2,v4l2 @ 0x36a57f10] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
[video4linux2,v4l2 @ 0x36a57f10] Time per frame unknown
[video4linux2,v4l2 @ 0x36a57f10] ioctl(VIDIOC_STREAMON): Invalid argument
Traceback (most recent call last):
File "/home/pi/Documents/webrtc/test.py", line 28, in <module>
player =MediaPlayer('/dev/video0',format="v4l2", options={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/Documents/webrtc/.venv/lib/python3.11/site-packages/aiortc/contrib/media.py", line 305, in __init__
self.__container = av.open(
^^^^^^^^
File "av/container/core.pyx", line 420, in av.container.core.open
File "av/container/core.pyx", line 266, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 286, in av.container.core.Container.err_check
File "av/error.pyx", line 326, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: '/dev/video0'
Please help what I was wrong or need setting up
The text was updated successfully, but these errors were encountered:
i have use aiortc to create
I am using RaspberryPi 4B with 64 os bookworm
I face the issue :
Please help what I was wrong or need setting up
The text was updated successfully, but these errors were encountered: