av on Raspberry Pi #1808
Unanswered
CrabbyPete
asked this question in
1. Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried the basic av example
and I get the following
ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
Time per frame unknown
ioctl(VIDIOC_STREAMON): Invalid argument
Traceback (most recent call last):
File "/home/pi/video/basic.py", line 4, in
container = av.open('/dev/video0')
File "av/container/core.pyx", line 418, in av.container.core.open
File "av/container/core.pyx", line 283, in av.container.core.Container.cinit
File "av/container/core.pyx", line 303, in av.container.core.Container.err_check
File "av/error.pyx", line 423, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: '/dev/video0'; last error log: [video4linux2,v4l2] ioctl(VIDIOC_STREAMON): Invalid argument
Is there a way to make this work on Pi?
Beta Was this translation helpful? Give feedback.
All reactions