Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt update
- sudo apt install snapd
- sudo reboot
- sudo snap install mjpg-streamer
- 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" command 1x to allow the app to access /dev/video*.
- Goto http://[RAPSIIP]:port (port you set in /var/snap/mjpg-streamer/current/config)
- Options to set in /var/snap/mjpg-streamer/current/config file:
- USB webcams (input_uvc.so)
- input_uvc.so comes bundled with MJPG Streamer.
- -d <device>: The video device to use, e.g. -d /dev/video0
- -r <resolution>: The resolution, e.g. -r 640x480 for 640x480px
- -f <framerate>: The framerate in frames per second, e.g. -f 10 for 10 fps
- -q <quality>: The quality of the JPG compression to use, e.g. -q 85 for compression down to 85%
- -y: Use this if your camera doesn't support MJPG, pictures will be captured in YUVY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement