Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service examples using deprecated argument syntax #127

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update camera-streamer-raspi-usb-cam.service
deprecated argument syntax
  • Loading branch information
2114L3 authored Dec 26, 2023

Verified

This commit was signed with the committer’s verified signature.
rouault Even Rouault
commit ff54eea0572cb8c196cb27ec9d7927a063a26bd0
18 changes: 9 additions & 9 deletions service/camera-streamer-raspi-usb-cam.service
Original file line number Diff line number Diff line change
@@ -5,21 +5,21 @@ ConditionPathExistsGlob=/dev/v4l/by-id/usb-*-video-index0

[Service]
ExecStart=/usr/local/bin/camera-streamer \
-camera-path=/dev/video0 \
-camera-format=JPEG \
-camera-width=1920 -camera-height=1080 \
-camera-fps=30 \
--camera-path=/dev/video0 \
--camera-format=JPEG \
--camera-width=1920 --camera-height=1080 \
--camera-fps=30 \
; use two memory buffers to optimise usage
-camera-nbufs=3 \
--camera-nbufs=3 \
; the high-res is 1920x1080
-camera-snapshot.height=1080 \
--camera-snapshot.height=1080 \
; the video/webrtc is 1280x720
-camera-video.height=720 \
--camera-video.height=720 \
; the stream is 853x480
-camera-stream.height=480 \
--camera-stream.height=480 \
--http-listen=0.0.0.0 \
--http-port=8080 \
-rtsp-port
--rtsp-port

DynamicUser=yes
SupplementaryGroups=video i2c