Has anybody successfully gotten two webcams streaming simultaneously through mjpg_streamer on the BBB?
I have a small USB hub and am trying to simultaneously stream two Genius F100’s (standard OpenROV webcam), and while my webcams properly enumerate & stream independently, I cannot stream two simultaneously. I’ve even tried bumping down resolution and framerate to a dismal 320x240 & 3 fps on each.
My first instance fires off nicely with:
mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -r 320x240 -f 3 " -o "/usr/local/lib/output_http.so -p 8090" &
but the second (/dev/video1 and port 8091) fails:
(omitting stderr junk above here) o: www-folder-path...: disabled o: HTTP TCP port.....: 8090 o: username:password.: disabled o: commands..........: enabled Unable to start capture: No space left on device i: Error grabbing frames
This problem isn’t new, and some seem to attribute it to lack of USB bandwidth:
(and more if you google “multiple mjpg_stream”…)
The kicker however, is that others seem to be able to achieve multiple camera streams without problems:
I tried without success specifying the second stream as YUV (as stated in ), but it makes no difference.
I’ve also tried two different USB hubs (one powered, one non-powered).
At this point I’m considering looking into gstreamer to broadcast the second stream (which assumes the problem is rooted in mjpg_streamer - an untested assumption).
Does anybody else have experience/thoughts in this realm?