Skip to content

Instantly share code, notes, and snippets.

@Kunsi
Created October 18, 2017 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kunsi/fd6d2edcbee4dc1c9aa29d00bf82385e to your computer and use it in GitHub Desktop.
Save Kunsi/fd6d2edcbee4dc1c9aa29d00bf82385e to your computer and use it in GitHub Desktop.
# /etc/default/mjpg_streamer
## Defaults for MJPG-Streamer init.d script
# Author: Thomas Maetz
# Article URL: http://webprosa.de/howto-webcam-mit-mjpg-streamer-als-netzwerkkamera-nutzen/
# Script URL: http://webprosa.de/wp-content/uploads/2012/03/mjpg_streamer.default.txt
# Set ENABLED to 1 to enable mjpg_streamer's init-script
ENABLED=1
# Configuration of the input/output plugin
# More information: http://wiki.ubuntuusers.de/MJPG-Streamer#Plugins
INPUT_PLUGIN="input_raspicam.so -fps 10 -x 640 -y 480"
OUTPUT_PLUGIN="output_http.so -w /home/kunsi/www -p 8080"
# The daemon should never be run as root. It is recommended to run it
# under the website user id (usually www-data:www-data) to prevent file
# ownership issues.
USER="kunsi:kunsi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment