Install latest/stable of mjpg-streamer
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install mjpg-streamer
Don't have snapd? Get set up for snaps.
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
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.