OpenWrt Forum Archive

Topic: Is new mjpg-streamer behavior documented

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

The behavior of mjpg-streamer has changed sometime in the past 6 weeks.  Prior to that time, when you built it in or installed it as a package, a directory, /webcam_www was installed.  This contained various programs which could be invoked.  To run it, you had to issue a command like 'mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480" -o "output_http.so -p 8080 -w /webcam_www"&'.

Now the configuration is in /etc/config/mjpg-streamer, which would seem good in itself, but where are the options documented?  Just streaming seems not to work:  I tried http://192.168.1.60:8080 and got nothing.  Snapshot does work: http://192.168.1.60:8080/?action=snapshot

I had the old /webcam_www, so I did /etc/init.d/mjpg-streamer disable, copied in /webcam_www and started the old way: http://192.168.1.60:8080

This gave me streaming video.  It would be nice to have such a change documented, but the wiki doesn't have an entry for "mjpg-streamer".  Is there someplace which gives what the options are in the config file or what the uci commands are to control the uvc webcam?

The options which are included in /etc/config/mjpg-streamer are self explanatory, but what about the one's which are omitted?  How does one "stream" with this "streamer" as set up?  There may be a way, but it isn't laid out.  It would help, in a case like this, if the config file included a "#default" section in which the defaults for other options were shown.

The discussion might have continued from here.