rider
December 9, 2019, 5:58pm
#1
Hi,
I’m trying to connect two usb2 cameras to the board (regular uvc protocol MJPEG stream)
and I’m getting the flowing error trying to open both simultaneously :
“VIDIOC_STREAMON: No space left on device”
This does not happen on any SBC we have(RPI3,RPI4,tx2 etc…)
Running on latest Ubuntu server image, vim3 pro.
Frank
December 10, 2019, 1:24am
#2
@rider Can you provide complete log information ? We can’t infer from this message where the problem is.THX
rider
December 10, 2019, 3:06pm
#3
khadas@Khadas:~$ $ python3
Python 3.7.3 (default, Apr 3 2019, 19:16:38)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cc0 = cv2.VideoCapture('/dev/video0',cv2.CAP_V4L)
>>> cc3 = cv2.VideoCapture('/dev/video3',cv2.CAP_V4L)
>>> cc0.read()
(True, array([[[ 28, 133, 160],
[ 27, 132, 158], **(cut to fit msg) ...** , dtype=uint8))
>>> cc3.read()
VIDIOC_STREAMON: No space left on device
(False, None)
note - if i release the stream a can read from cc3:
>>> cc0.release()
>>> cc3.read()
(True, array([[[246, 248, 248],
**(cut to fit msg) ...** , dtype=uint8))
rider
December 15, 2019, 9:06am
#4
@Frank
hi frank,
Did you have a chance to check this?
Frank
December 16, 2019, 1:00am
#5
@rider We had check it last week. But we hadn’t found the reason yet. This will be in our plan, but it may take some time.