From b36b63599bde375b5ca7e7619a1d2441a62833c1 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Tue, 5 Jul 2022 11:55:55 -0500 Subject: [PATCH] update stimeout to timeout --- docs/docs/configuration/camera_specific.md | 4 ++-- docs/docs/configuration/index.md | 2 +- frigate/config.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/configuration/camera_specific.md b/docs/docs/configuration/camera_specific.md index 465e0a5ce..04e1ddeb5 100644 --- a/docs/docs/configuration/camera_specific.md +++ b/docs/docs/configuration/camera_specific.md @@ -102,7 +102,7 @@ You will need to remove `nobuffer` flag for Blue Iris RTSP cameras ```yaml ffmpeg: - input_args: -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 + input_args: -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 ``` ### UDP Only Cameras @@ -111,5 +111,5 @@ If your cameras do not support TCP connections for RTSP, you can use UDP. ```yaml ffmpeg: - input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport udp -stimeout 5000000 -use_wallclock_as_timestamps 1 + input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport udp -timeout 5000000 -use_wallclock_as_timestamps 1 ``` diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 37e4fbf0e..f2ca91670 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -135,7 +135,7 @@ ffmpeg: # NOTE: See hardware acceleration docs for your specific device hwaccel_args: [] # Optional: global input args (default: shown below) - input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 + input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 # Optional: global output args output_args: # Optional: output args for detect streams (default: shown below) diff --git a/frigate/config.py b/frigate/config.py index 7b3eed245..1370dcf88 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -346,7 +346,7 @@ FFMPEG_INPUT_ARGS_DEFAULT = [ "+genpts+discardcorrupt", "-rtsp_transport", "tcp", - "-stimeout", + "-timeout", "5000000", "-use_wallclock_as_timestamps", "1",