I tried to run two usb cameras on nano pi M4 with a ubuntu 18.04 system, but an error popped up "VIDIOC_STREAMON: No space left on device". I've tried the following methods, but the same error popped up.
capture1.set(cv2.CAP_PROP_FRAME_WIDTH, 640)
capture1.set(cv2.CAP_PROP_FRAME_HEIGHT, 480)
sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=128
3.changing the format and frame in guvcview gui
capture1.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter_fourcc(*"MJPG"))
What can I do to solve the problem?