diff options
| -rwxr-xr-x | camera/camera | 14 |
1 files changed, 8 insertions, 6 deletions
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 <timelapse interval in ms>" - echo " --manual" + echo " --manual (disable AWB, enable RAW)" echo " --exposure <exposure time in μs>" echo " --gain <1.0-12.0>" echo " --awb <auto, incandescent, tungsten, fluorescent, indoor, daylight, cloudy, custom>" @@ -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} |
