File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ ;
2+ ; Official Raspberry Pi Camera Board v1.3 (5MP, 1080p)
3+ ;
4+ [Unit]
5+ Description =camera-streamer web camera for Pi Camera v1 5MP on Raspberry PI
6+ After =network.target
7+ ConditionPathExists =/sys/bus/i2c/drivers/ov5647/10-0036/video4linux
8+
9+ [Service]
10+ ExecStart =/usr/bin/camera-streamer \
11+ --camera-type =libcamera \
12+ --camera-format =YUV420 \
13+ --camera-width =2592 --camera-height =1944 \
14+ --camera-fps =30 \
15+ ; use two memory buffers to optimise usage
16+ --camera-nbufs =2 \
17+ ; the snapshot is 1920x1080
18+ --camera-snapshot.height =1080 \
19+ ; the video/webrtc is 1296x972
20+ --camera-video.height =972 \
21+ ; the stream is 640x480
22+ --camera-stream.height =480 \
23+ ; bump brightness slightly
24+ --camera-options =brightness =0.1 \
25+ --http-listen =0.0.0.0 \
26+ --http-port =8080 \
27+ --rtsp-port
28+
29+ DynamicUser =yes
30+ SupplementaryGroups =video i2c
31+ Restart =always
32+ RestartSec =10
33+ Nice =10
34+ IOSchedulingClass =idle
35+ IOSchedulingPriority =7
36+ CPUWeight =20
37+ AllowedCPUs =1-2
38+ MemoryMax =250M
39+
40+ [Install]
41+ WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments