I have 5 HD Webcams (Creative Live Cam Sync 1080p) and want to stream the pictures with https://github.com/jacksonliam/mjpg-streamer on Debian Buster 4.19.0-11-amd64.
All of them support MJPG, as you can see in the picture.
The problem is that I can only start 3 mjpg-streamer due to a bandwidth limitation.
usb 3-2: Not enough bandwidth for new device state. usb 3-2: Not enough bandwidth for altsetting 7
I’m starting the webcams with the command
/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video0 -n -f 5 -r 1920x1080" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"
Device ID 2 : 141.73 kb/s 15259.90 kb/s
This means that one webcam is using 15Mb/s or roughly 2MB/s.
I am using USB 3.0, which supports 5Gbit/s.
I don’t really understand where the problem is or what is going wrong.
It seems that mjpeg-streamer is using the raw image data instead of the mjpeg stream.