Add disclaimer about auto_focus, vflip and hflip
This commit is contained in:
parent
a9c65fae0d
commit
7a584dc16d
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -74,6 +74,10 @@
|
||||
"v4l2.h": "c",
|
||||
"stdlib.h": "c",
|
||||
"stdint.h": "c",
|
||||
"videodev2.h": "c"
|
||||
"videodev2.h": "c",
|
||||
"opts.h": "c",
|
||||
"ioctl.h": "c",
|
||||
"syscall.h": "c",
|
||||
"unistd.h": "c"
|
||||
}
|
||||
}
|
||||
|
@ -168,9 +168,9 @@ option_t all_options[] = {
|
||||
DEFINE_OPTION(camera, low_res_factor, float, "Set the desired low resolution output scale factor."),
|
||||
DEFINE_OPTION_PTR(camera, options, list, "Set the camera options. List all available options with `-camera-list_options`."),
|
||||
DEFINE_OPTION(camera, auto_reconnect, uint, "Set the camera auto-reconnect delay in seconds."),
|
||||
DEFINE_OPTION_DEFAULT(camera, auto_focus, bool, "1", "Do auto-focus on start-up."),
|
||||
DEFINE_OPTION_DEFAULT(camera, vflip, bool, "1", "Do vertical image flip."),
|
||||
DEFINE_OPTION_DEFAULT(camera, hflip, bool, "1", "Do horizontal image flip."),
|
||||
DEFINE_OPTION_DEFAULT(camera, auto_focus, bool, "1", "Do auto-focus on start-up (does not work with all camera)."),
|
||||
DEFINE_OPTION_DEFAULT(camera, vflip, bool, "1", "Do vertical image flip (does not work with all camera)."),
|
||||
DEFINE_OPTION_DEFAULT(camera, hflip, bool, "1", "Do horizontal image flip (does not work with all camera)."),
|
||||
|
||||
DEFINE_OPTION_PTR(camera, isp.options, list, "Set the ISP processing options. List all available options with `-camera-list_options`."),
|
||||
DEFINE_OPTION_PTR(camera, jpeg.options, list, "Set the JPEG compression options. List all available options with `-camera-list_options`."),
|
||||
|
@ -9,7 +9,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-type=libcamera \
|
||||
-camera-format=YUYV \
|
||||
-camera-width=2328 -camera-height=1748 \
|
||||
-camera-fps=30 \
|
||||
-camera-options=rotation=90 \
|
||||
-camera-fps=15 \
|
||||
; use two memory buffers to optimise usage
|
||||
-camera-nbufs=2 \
|
||||
; the high-res is 1552x1165
|
||||
@ -19,7 +20,7 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
; bump brightness slightly
|
||||
-camera-options=brightness=0.1 \
|
||||
; disable auto-focus
|
||||
-camera-auto_focus=0
|
||||
-camera-auto_focus=1
|
||||
|
||||
DynamicUser=yes
|
||||
SupplementaryGroups=video i2c
|
||||
|
Loading…
x
Reference in New Issue
Block a user