File tree Expand file tree Collapse file tree
scripts/files/camera-streamer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ ExecStart=/bin/sh -c "exec /usr/local/bin/camera-streamer \
1515 -camera-path=$(/usr/bin/libcamera-hello --list-cameras | grep -o '/base/soc/[^)]*' | head -n1) \
1616 -camera-format=YUYV \
1717 -camera-width=${WIDTH} -camera-height=${HEIGHT} \
18+ -camera-video.height=${VIDEO_HEIGHT} \
19+ -camera-snapshot.height=${SNAPSHOT_HEIGHT} \
1820 -camera-fps=${FRAMERATE} \
1921 -camera-nbufs=2 \
2022 ${OPTIONS}"
Original file line number Diff line number Diff line change 55# camera will be considered the one with 8080.
66PORT=8080
77
8- # The resolution to set on the camera. Defaults to 1280x720.
9- WIDTH=1280
10- HEIGHT=720
8+ # The resolution to request on the camera sensor. Defaults to 1280x720.
9+ WIDTH=1920
10+ HEIGHT=1080
11+
12+ # The height to use for the video stream. Defaults to 720.
13+ VIDEO_HEIGHT=720
14+
15+ # The height to use for the snapshots. Defaults to 1080.
16+ SNAPSHOT_HEIGHT=1080
1117
1218# The framerate to set on the camera. Defaults to 15fps.
1319FRAMERATE=15
You can’t perform that action at this time.
0 commit comments