diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 2a25349d7..555730242 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -97,7 +97,7 @@ clips: ```yaml ffmpeg: # Optional: global ffmpeg args (default: shown below) - global_args: -hide_banner -loglevel fatal + global_args: -hide_banner -loglevel warning # Optional: global hwaccel args (default: shown below) # NOTE: See hardware acceleration docs for your specific device hwaccel_args: [] diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index 11949d5a5..ac754eb12 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -15,15 +15,6 @@ This almost always means that the width/height defined for your camera are not c These messages in the logs are expected in certain situations. Frigate checks the integrity of the video cache before assembling clips. Occasionally these cached files will be invalid and cleaned up automatically. -## "ffmpeg didnt return a frame. something is wrong" - -Turn on logging for the ffmpeg process by overriding the global_args and setting the log level to `info` (the default is `fatal`). Note that all ffmpeg logs show up in the Frigate logs as `ERROR` level. This does not mean they are actually errors. - -```yaml -ffmpeg: - global_args: -hide_banner -loglevel info -``` - ## "On connect called" If you see repeated "On connect called" messages in your config, check for another instance of frigate. This happens when multiple frigate containers are trying to connect to mqtt with the same client_id. diff --git a/frigate/config.py b/frigate/config.py index 3bce9c6a0..bda3c9f57 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -63,7 +63,7 @@ CLIPS_SCHEMA = vol.Schema( } ) -FFMPEG_GLOBAL_ARGS_DEFAULT = ['-hide_banner','-loglevel','fatal'] +FFMPEG_GLOBAL_ARGS_DEFAULT = ['-hide_banner','-loglevel','warning'] FFMPEG_INPUT_ARGS_DEFAULT = ['-avoid_negative_ts', 'make_zero', '-fflags', '+genpts+discardcorrupt', '-rtsp_transport', 'tcp',