Update birdnet_recording.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user