Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Issue with allocating USB bandwidth for 2 USB cameras in Orange pi 5+

Featured Replies

I am trying to stream multiple USB cameras in Orange pi 5+, but I am getting the error:

ffmpeg -f v4l2 -input_format mjpeg -video_size 640x480 -i /dev/video3 -c:v copy output2.mp4 # One process successfully started, but calling this  a second time doesn't work:

...

[video4linux2,v4l2 @ 0xaaab1ddcdbc0] ioctl(VIDIOC_STREAMON): No space left on device
/dev/video3: No space left on device

 

dmesg displays this:

[696321.331182] usb 5-1.3.2: Not enough bandwidth for new device state.
[696321.331189] usb 5-1.3.2: Not enough bandwidth for altsetting 7


I initially assumed that this was a hardware issue, but the device is able to successfully stream camera's maximum resolution 1920x1080 in raw video format, but fails to stream 2 cameras at 640x480 in MJPEG resolution.

It is clear that number of bits that the bus can transfer per second is not the cause of the issue.

Does anyone know what the issue may be?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.