UVC webcam streaming tool
MJPG-streamer takes JPGs from Linux-UVC compatible webcams, filesystem or other input plugins and streams them as M-JPEG via HTTP to webbrowsers, VLC and other software. It is the successor of uvc-streamer, a Linux-UVC streaming application with Pan/Tilt.
This snap ships the input_uvc, input_file, input_http and input_ptp2 as well as the output_file, output_http, output_rtsp, output_udp and output_viewer plugins by default, opencv is currently not supported.
Additionally to the mjpg-streamer command the snap ships a service that can be configured via the /var/snap/mjpg-streamer/current/config file. Set the DAEMON= option in there to "true", then run "snap restart mjpg-streamer" (or reboot the system) to get the mjpg-streamer service up and running.
Please make sure to run "snap connect mjpg-streamer:camera" to allow the app to access /dev/video*.
The source code for this snap can be found at https://github.com/ogra1/mjpg-streamer