diff --git a/scripts/birdnet_recording.sh b/scripts/birdnet_recording.sh index 5f95268..92087e5 100755 --- a/scripts/birdnet_recording.sh +++ b/scripts/birdnet_recording.sh @@ -42,7 +42,7 @@ if [ ! -z $RTSP_STREAM ];then # Make sure were passing something valid to ffmpeg, ffmpeg will run interactive and control our loop by waiting ${RECORDING_LENGTH} between loops because it will stop once that much has been recorded if [ -n "$FFMPEG_PARAMS" ];then - ffmpeg -hide_banner -loglevel $LOGGING_LEVEL -nostdin $FFMPEG_PARAMS + ffmpeg -hide_banner -loglevel $LOGGING_LEVEL -nostdin -rw_timeout 10000000 $FFMPEG_PARAMS fi done