From 282cbf8f4070473b1a63be84492ca40245004b4d Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 18 Oct 2023 17:17:53 -0600 Subject: [PATCH] Add FAQ item for cameras with bad sub streams (#8224) --- docs/docs/troubleshooting/faqs.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/docs/troubleshooting/faqs.md b/docs/docs/troubleshooting/faqs.md index da334d26e..ca64974fa 100644 --- a/docs/docs/troubleshooting/faqs.md +++ b/docs/docs/troubleshooting/faqs.md @@ -23,6 +23,17 @@ Ensure your cameras send h264 encoded video, or [transcode them](/configuration/ You can open `chrome://media-internals/` in another tab and then try to playback, the media internals page will give information about why playback is failing. +### What do I do if my cameras sub stream is not good enough? + +Frigate generally [recommends cameras with configurable sub streams](/frigate/hardware.md). However, if your camera does not have a sub stream that a suitable resolution, the main stream can be resized. + +To do this efficiently the following setup is required: +1. A GPU or iGPU must be available to do the scaling. +2. [ffmpeg presets for hwaccel](/configuration/hardware_acceleration.md) must be used +3. Set the desired detection resolution for `detect -> width` and `detect -> height`. + +When this is done correctly, the GPU will do the decoding and scaling which will result in a small increase in CPU usage but with better results. + ### My mjpeg stream or snapshots look green and crazy This almost always means that the width/height defined for your camera are not correct. Double check the resolution with VLC or another player. Also make sure you don't have the width and height values backwards.