-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtimelapse-capture
9 lines (8 loc) · 1.03 KB
/
timelapse-capture
1
2
3
4
5
6
7
8
9
source config.txt
ffmpeg -y -i $RTSP-STREAM -vf drawtext="textfile=$CONDITIONS-FILE:fontfile=OpenSans.ttf:box=1:x=w-tw-10:y=h-th-10:fontsize=24:boxborderw=5:[email protected]:fontcolor=white:reload=1" -vframes 1 -strftime 1 "$TIMELAPSE-RAW-PATH/%Y-%m-%d_%H-%M-00.jpg"
sleep 13
ffmpeg -y -i $RTSP-STREAM -vf drawtext="textfile=$CONDITIONS-FILE:fontfile=OpenSans.ttf:box=1:x=w-tw-10:y=h-th-10:fontsize=24:boxborderw=5:[email protected]:fontcolor=white:reload=1" -vframes 1 -strftime 1 "$TIMELAPSE-RAW-PATH/%Y-%m-%d_%H-%M-15.jpg"
sleep 13
ffmpeg -y -i $RTSP-STREAM -vf drawtext="textfile=$CONDITIONS-FILE:fontfile=OpenSans.ttf:box=1:x=w-tw-10:y=h-th-10:fontsize=24:boxborderw=5:[email protected]:fontcolor=white:reload=1" -vframes 1 -strftime 1 "$TIMELAPSE-RAW-PATH/%Y-%m-%d_%H-%M-30.jpg"
sleep 13
ffmpeg -y -i $RTSP-STREAM -vf drawtext="textfile=$CONDITIONS-FILE:fontfile=OpenSans.ttf:box=1:x=w-tw-10:y=h-th-10:fontsize=24:boxborderw=5:[email protected]:fontcolor=white:reload=1" -vframes 1 -strftime 1 "$TIMELAPSE-RAW-PATH/%Y-%m-%d_%H-%M-45.jpg"