timelapse-r11: add date
This commit is contained in:
@@ -44,13 +44,13 @@ let
|
|||||||
-rtsp_transport tcp \
|
-rtsp_transport tcp \
|
||||||
-i "rtsp://frigate:''${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0" \
|
-i "rtsp://frigate:''${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0" \
|
||||||
-vframes 1 \
|
-vframes 1 \
|
||||||
/var/lib/timelapse-r11/"''${DATE}"/"ptz-''${TIME}.jpg" || EXITCODE=$?
|
/var/lib/timelapse-r11/"''${DATE}"/"ptz-''${DATE}-''${TIME}.jpg" || EXITCODE=$?
|
||||||
|
|
||||||
ffmpeg -hide_banner -y \
|
ffmpeg -hide_banner -y \
|
||||||
-rtsp_transport tcp \
|
-rtsp_transport tcp \
|
||||||
-i "rtsp://frigate:''${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0" \
|
-i "rtsp://frigate:''${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=1&subtype=0" \
|
||||||
-vframes 1 \
|
-vframes 1 \
|
||||||
/var/lib/timelapse-r11/"''${DATE}"/"panorama-''${TIME}.jpg" || EXITCODE=$?
|
/var/lib/timelapse-r11/"''${DATE}"/"panorama-''${DATE}-''${TIME}.jpg" || EXITCODE=$?
|
||||||
|
|
||||||
exit "$EXITCODE"
|
exit "$EXITCODE"
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user