From 1594fc615245a40548856a2c86663f1e50d4d211 Mon Sep 17 00:00:00 2001 From: Ingar Date: Fri, 8 Nov 2024 00:15:40 +0100 Subject: Don't use ~ in the output path, increased verbosity. --- camera/camera | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'camera') diff --git a/camera/camera b/camera/camera index 57592c6..b777418 100755 --- a/camera/camera +++ b/camera/camera @@ -11,7 +11,7 @@ camera_help() { echo "$0 [-t] [-i ms] [-m] [-e μs] [-o filename]" echo " --timelapse" echo " --interval " - echo " --manual" + echo " --manual (disable AWB, enable RAW)" echo " --exposure " echo " --gain <1.0-12.0>" echo " --awb " @@ -129,9 +129,11 @@ if [[ "${OPTION_TIMELAPSE}" = "yes" ]]; then fi fi -exec rpicam-still \ - --fullscreen --timeout 0 \ - ${CMD_CONTROL} ${CMD_CAPTURE} \ - --width 4056 --height 3040 --thumb none \ - --encoding jpg --datetime --output ~/DCIM/${DIRECTORY}${FILENAME}_%s${SUFFIX}.jpg +CMD_EXEC="rpicam-still --verbose --fullscreen --timeout 0 " +CMD_EXEC+="${CMD_CONTROL} ${CMD_CAPTURE} " +CMD_EXEC+="--width 4056 --height 3040 " +CMD_EXEC+="--thumb none --datetime --output /srv/smb/DCIM/${DIRECTORY}${FILENAME}_%s${SUFFIX}.jpg" + +echo "${CMD_EXEC}" +exec ${CMD_EXEC} -- cgit v1.2.3