What's new

[Tutorial] Webcam video surveillance via mjpg-streamer

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Hey guys,
I have an Asus N56u running with Padavan firmware and I recently installed mjpg-stramer with a Logitech C310 webcam.
All works well until I stop S96mjpg-streamer. After that, I can no longer start the stream, I always get this error:

Feb 1 13:09:12 MJPG-streamer [1142]: starting application
Feb 1 13:09:12 MJPG-streamer [1142]: enabling daemon mode
Feb 1 13:09:12 MJPG-streamer [1144]: MJPG Streamer Version: svn rev: Unversioned directory
Feb 1 13:09:12 MJPG-streamer [1144]: Using V4L2 device.: /dev/video0
Feb 1 13:09:12 MJPG-streamer [1144]: Desired Resolution: 640 x 480
Feb 1 13:09:12 MJPG-streamer [1144]: Frames Per Second.: 15
Feb 1 13:09:12 MJPG-streamer [1144]: Format............: MJPEG
Feb 1 13:09:12 MJPG-streamer [1144]: www-folder-path...: /opt/share/www/webcam/
Feb 1 13:09:12 MJPG-streamer [1144]: HTTP TCP port.....: 3000
Feb 1 13:09:12 MJPG-streamer [1144]: username:password.: disabled
Feb 1 13:09:12 MJPG-streamer [1144]: commands..........: enabled
Feb 1 13:09:12 MJPG-streamer [1144]: starting input plugin input_uvc.so
Feb 1 13:09:12 MJPG-streamer [1144]: starting output plugin: output_http.so (ID: 00)
Feb 1 13:09:12 kernel: xhci-hcd xhci-hcd: Trying to add endpoint 0x81 without dropping it.
Feb 1 13:09:12 kernel: usb 1-2: Not enough bandwidth for altsetting 2
Feb 1 13:09:12 MJPG-streamer [1144]: Error grabbing frames

In order to fix the issue I restart the router and then I start the mjpg-streamer agan and it works.
Any idea why am I getting this error and how can I fix it without rebooting the router? maybe I also need to stop another process along with mjpg-streamer?

Thanks alot
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top