Update birdnet_recording.sh

This commit is contained in:
ehpersonal38
2022-05-05 11:17:21 -04:00
parent 90d8240259
commit 9f186c74b1
+1 -1
View File
@@ -7,7 +7,7 @@ source /etc/birdnet/birdnet.conf
if [ ! -z $RTSP_STREAM ];then
while true;do
for i in ${RTSP_STREAM//,/ };do
ffmpeg -i ${i} -t 15 -vn -acodec pcm_s16le -ac 2 -ar 48000 file:${RECS_DIR}/$(date "+%F")-birdnet-$(date "+%H:%M:%S").wav
ffmpeg -i ${i} -t ${RECORDING_LENGTH} -vn -acodec pcm_s16le -ac 2 -ar 48000 file:${RECS_DIR}/$(date "+%F")-birdnet-$(date "+%H:%M:%S").wav
done
done
else