Skip to content

Instantly share code, notes, and snippets.

@cretudorin
Last active April 29, 2022 18:07
Show Gist options
  • Save cretudorin/0e8ba36065c8e0f2b01d797821cdc516 to your computer and use it in GitHub Desktop.
Save cretudorin/0e8ba36065c8e0f2b01d797821cdc516 to your computer and use it in GitHub Desktop.
raspicam stream with mjpg_streamer
[Unit]
Description=Camera streamer for raspberry pi
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/mjpg_streamer -i "input_uvc.so -r 1280x720 -q 100 -y -d /dev/video0" -o "output_http.so -p 8090"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment