<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Frigate Guide: Frigate NVR Setup and Cameras</title><description>Independent, unofficial guides to Frigate NVR setup and camera configuration, built from published official documentation.</description><link>https://frigateguide.com/</link><language>en</language><atom:link href="https://frigateguide.com/rss.xml" rel="self" type="application/rss+xml"/><item><title>Frigate Retention for Continuous, Motion and Alert Footage</title><link>https://frigateguide.com/posts/frigate-recording-retention-continuous-motion-alerts/</link><guid isPermaLink="true">https://frigateguide.com/posts/frigate-recording-retention-continuous-motion-alerts/</guid><description>Set Frigate recording retention with YAML for continuous, motion and alert tiers. See what expires, check History playback and export a clip.</description><pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Set &lt;code&gt;record.enabled: true&lt;/code&gt; and use &lt;code&gt;continuous.days&lt;/code&gt; for all recorded footage, &lt;code&gt;motion.days&lt;/code&gt; for the motion tier, and &lt;code&gt;alerts.retain.days&lt;/code&gt; for qualifying footage that overlaps an alert&apos;s capture window. Set &lt;code&gt;detections.retain.days&lt;/code&gt; separately for review items classified as detections. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Enable recording and find the YAML&lt;/h2&gt;
&lt;p&gt;The examples target Frigate v0.18.3. Frigate 0.17.0 introduced the separate &lt;code&gt;continuous&lt;/code&gt; and &lt;code&gt;motion&lt;/code&gt; keys under &lt;code&gt;record&lt;/code&gt;. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/releases/tag/v0.17.0&quot;&gt;Frigate 0.17.0 release notes&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the camera&apos;s &lt;code&gt;ffmpeg&lt;/code&gt; block, check that the input you want to record has &lt;code&gt;record&lt;/code&gt; in its &lt;code&gt;roles&lt;/code&gt; list. For a shared stream, add that role to the existing input. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open the existing Frigate configuration. For a container install, the file maps to &lt;code&gt;/config/config.yml&lt;/code&gt; inside the container. For the Home Assistant App, look under &lt;code&gt;/addon_configs/&amp;lt;addon_directory&amp;gt;/&lt;/code&gt;. Frigate also accepts &lt;code&gt;config.yaml&lt;/code&gt; and gives &lt;code&gt;config.yml&lt;/code&gt; priority if both files exist. &lt;a href=&quot;https://docs.frigate.video/configuration/config/&quot;&gt;Frigate configuration guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Apply one example to the top-level &lt;code&gt;record:&lt;/code&gt; block, alongside &lt;code&gt;cameras:&lt;/code&gt;, to set global defaults. If the block already exists, edit its retention values in place. Check any &lt;code&gt;record:&lt;/code&gt; settings under &lt;code&gt;cameras.&amp;lt;name&amp;gt;&lt;/code&gt; because camera values override the corresponding global values. &lt;a href=&quot;https://docs.frigate.video/configuration/config/&quot;&gt;Frigate configuration guide&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For alerts based on tracked objects, check that object detection is enabled and that your Review settings classify the activity as an alert. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/recordings/&quot;&gt;Frigate recordings troubleshooting&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/review/&quot;&gt;Frigate Review configuration&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Choose a retention profile&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Before shortening retention&lt;/strong&gt;, export clips you want to keep. The next cleanup can expire existing footage under the shorter settings. Low disk space can also trigger early deletion of the oldest recordings. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/record/&quot;&gt;Frigate recording guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Set unused review tiers to &lt;code&gt;days: 0&lt;/code&gt; explicitly. The v0.18.3 schema defaults both alert and detection retention to 10 days. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/config/camera/record.py&quot;&gt;Frigate v0.18.3 recording schema&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Continuous with longer motion and review retention&lt;/h3&gt;
&lt;p&gt;Keep continuous footage for 3 days and set the motion tier to 7 days total. Set alert and detection review retention to 30 days with &lt;code&gt;mode: motion&lt;/code&gt;. Cleanup uses each completed review&apos;s end time to determine its age and checks recording segments separately for overlap with the capture window. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;record:
  enabled: true
  continuous:
    days: 3
  motion:
    days: 7
  alerts:
    retain:
      days: 30
      mode: motion
  detections:
    retain:
      days: 30
      mode: motion
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Motion tier retention&lt;/h3&gt;
&lt;p&gt;Keep the motion tier for 3 days. Set continuous, alert and detection retention to zero so the motion tier has the only positive retention window. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/config/camera/record.py&quot;&gt;Frigate v0.18.3 recording schema&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;record:
  enabled: true
  continuous:
    days: 0
  motion:
    days: 3
  alerts:
    retain:
      days: 0
  detections:
    retain:
      days: 0
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Alert retention profile&lt;/h3&gt;
&lt;p&gt;Set alert review retention to 30 days with &lt;code&gt;mode: motion&lt;/code&gt;. Set continuous and motion retention to zero. Set &lt;code&gt;detections.retain.days&lt;/code&gt; to zero so completed detections have no positive retention window. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/config/camera/record.py&quot;&gt;Frigate v0.18.3 recording schema&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;record:
  enabled: true
  continuous:
    days: 0
  motion:
    days: 0
  alerts:
    retain:
      days: 30
      mode: motion
  detections:
    retain:
      days: 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Frigate classifies Review items as alerts or detections. For tracked objects, the configured labels and any required zones help determine the category. The &lt;code&gt;record.alerts&lt;/code&gt; and &lt;code&gt;record.detections&lt;/code&gt; settings apply to footage for their respective categories. &lt;a href=&quot;https://docs.frigate.video/configuration/review/&quot;&gt;Frigate Review configuration&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If a saved change requires a restart, use &lt;strong&gt;Restart Frigate&lt;/strong&gt; in the &lt;strong&gt;Settings&lt;/strong&gt; menu. &lt;a href=&quot;https://docs.frigate.video/configuration/config/&quot;&gt;Frigate configuration guide&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/recordings/&quot;&gt;Frigate recordings troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;See what survives as footage ages&lt;/h2&gt;
&lt;p&gt;Here is what the 3-day continuous, 7-day motion and 30-day review profile keeps after normal cleanup. Assume valid recorded segments, enough free space, and no audio activity. In this example, the alert and its sample segment ended at about the same time. The longest applicable retention window governs each example. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Footage age&lt;/th&gt;
&lt;th&gt;Quiet, outside review&lt;/th&gt;
&lt;th&gt;Motion, outside review&lt;/th&gt;
&lt;th&gt;Motion within an alert capture window&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1 day&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5 days&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10 days&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;td&gt;Kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;31 days&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;td&gt;Expired&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Here, &lt;em&gt;outside review&lt;/em&gt; means outside the capture windows for both alerts and detections. In this profile, detections use the same 30-day review retention setting as alerts. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/frigate/record/cleanup.py&quot;&gt;Frigate v0.18.3 cleanup code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Under &lt;code&gt;alerts:&lt;/code&gt; or &lt;code&gt;detections:&lt;/code&gt;, set &lt;code&gt;pre_capture&lt;/code&gt; and &lt;code&gt;post_capture&lt;/code&gt; to the seconds you want before and after the review item. With &lt;code&gt;mode: motion&lt;/code&gt;, quiet parts of that window can be skipped. Use &lt;code&gt;mode: all&lt;/code&gt; under the relevant &lt;code&gt;retain:&lt;/code&gt; block to keep quiet segments within that window too. &lt;a href=&quot;https://github.com/blakeblackshear/frigate/blob/v0.18.3/docs/docs/configuration/record.md&quot;&gt;Frigate v0.18.3 recording guide&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Check playback in History&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In &lt;strong&gt;Live&lt;/strong&gt;, open the camera&apos;s single-camera view and select &lt;strong&gt;History&lt;/strong&gt;. You can also open a Review item to jump to its full-resolution recording. &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Filter by date and drag the timeline handle to check playback. A gap marks a period with no stored recording. &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If expected footage is missing, check whether recording was enabled for that camera at the time, whether its stream has the &lt;code&gt;record&lt;/code&gt; role, and whether the applicable retention window has expired. For stream and storage checks, follow the missing-recordings checklist. &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History guide&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/recordings/&quot;&gt;Frigate missing-recordings checklist&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Export and download a clip before it expires&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;On desktop in &lt;strong&gt;History&lt;/strong&gt;, open &lt;strong&gt;Actions&lt;/strong&gt; (the film icon) and choose &lt;strong&gt;Export&lt;/strong&gt;. &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter a custom start and end time or select the range on the timeline. You can name the export before submitting it. &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History guide&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/usage/exports/&quot;&gt;Frigate Exports guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Wait for processing to finish. Open &lt;strong&gt;Exports&lt;/strong&gt; from the main navigation, find the clip by name and play it. Use &lt;strong&gt;Download&lt;/strong&gt; to save a copy outside Frigate. &lt;a href=&quot;https://docs.frigate.video/usage/exports/&quot;&gt;Frigate Exports guide&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Frigate stores exports separately from recordings, so recording retention leaves the exported file in place. &lt;a href=&quot;https://docs.frigate.video/usage/exports/&quot;&gt;Frigate Exports guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; Frigate&apos;s tagged v0.18.3 recording materials and the official 0.18 guides for History and Exports were checked on November 27, 2026. The configuration and UI steps were not run.&lt;/p&gt;
</content:encoded><category>frigate</category><category>recording</category><category>retention</category><category>motion</category><category>alerts</category><author>Frigate Guide Editorial</author></item><item><title>Frigate NVR Reolink Setup: HTTP-FLV, RTSP and go2rtc</title><link>https://frigateguide.com/posts/frigate-nvr-reolink-camera-setup-http-flv-rtsp/</link><guid isPermaLink="true">https://frigateguide.com/posts/frigate-nvr-reolink-camera-setup-http-flv-rtsp/</guid><description>Set up a Reolink camera in Frigate. Choose HTTP-FLV or RTSP, then use go2rtc to route the main stream to recording and the substream to detection.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;For a supported Reolink camera at 5 MP or below, start with HTTP-FLV. Use RTSP for older 6 MP and higher models. The latest 6 MP and higher models that support enhanced HTTP-FLV can also use that mode, which requires FFmpeg 8.0. With either source, point Frigate&apos;s recording and detection inputs at go2rtc&apos;s local RTSP restreams. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#reolink-cameras&quot;&gt;Frigate&apos;s Reolink guidance&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/restream/#with-sub-stream&quot;&gt;Frigate restream setup&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Choose HTTP-FLV or RTSP&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reolink camera&lt;/th&gt;
&lt;th&gt;Recommended camera source for go2rtc&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;5 MP or lower&lt;/td&gt;
&lt;td&gt;HTTP-FLV with H.264.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Latest 6 MP or higher models with enhanced HTTP-FLV support, such as the Duo 3&lt;/td&gt;
&lt;td&gt;RTSP or enhanced HTTP-FLV with H.265, which requires FFmpeg 8.0.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Older 6 MP or higher models&lt;/td&gt;
&lt;td&gt;RTSP.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Frigate 0.18 uses FFmpeg 8.0 by default. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#reolink-cameras&quot;&gt;Frigate&apos;s model and resolution table&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#hardware-accelerated-transcoding-with-ffmpeg-8&quot;&gt;Frigate&apos;s FFmpeg version guidance&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Enable the camera ports&lt;/h2&gt;
&lt;p&gt;For a camera with configurable ports, open &lt;strong&gt;Device Settings → Network → Advanced → Server Settings&lt;/strong&gt; in Reolink Client. For HTTP-FLV, enable &lt;strong&gt;HTTP&lt;/strong&gt; and &lt;strong&gt;RTMP&lt;/strong&gt;, click &lt;strong&gt;Save&lt;/strong&gt;, and reboot the camera. If you use RTSP and the camera allows you to toggle the port, enable &lt;strong&gt;RTSP&lt;/strong&gt; and save. The Frigate wizard also needs &lt;strong&gt;HTTP&lt;/strong&gt; to query the camera. &lt;a href=&quot;https://support.reolink.com/articles/900000621783-How-to-Configure-Reolink-Ports-Settings/&quot;&gt;Reolink port settings&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#camera-specific-behavior&quot;&gt;Frigate&apos;s Reolink troubleshooting&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#setup-via-the-add-camera-wizard&quot;&gt;Reolink wizard prerequisites&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add a standalone camera with the wizard&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Under &lt;strong&gt;Settings → Global configuration → Camera management&lt;/strong&gt;, click &lt;strong&gt;Add Camera&lt;/strong&gt;. Enter the camera&apos;s name, IP address and credentials. Choose &lt;strong&gt;Manual selection&lt;/strong&gt; and select &lt;strong&gt;Reolink&lt;/strong&gt;. This option picks HTTP-FLV for cameras at 5 MP or lower and RTSP for higher resolutions. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#setup-via-the-add-camera-wizard&quot;&gt;Frigate&apos;s Reolink wizard instructions&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/cameras/#adding-a-camera-with-the-add-camera-wizard&quot;&gt;Frigate&apos;s camera wizard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use &lt;strong&gt;Add Another Stream&lt;/strong&gt; to add the substream. Assign &lt;code&gt;record&lt;/code&gt; to the main stream and &lt;code&gt;detect&lt;/code&gt; to the substream. Select &lt;strong&gt;Reduce connections to camera&lt;/strong&gt; on each input to route it through go2rtc. &lt;a href=&quot;https://docs.frigate.video/configuration/cameras/#step-3-stream-configuration&quot;&gt;Frigate&apos;s stream configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Preview both streams during validation. For HTTP-FLV, turn on &lt;strong&gt;Use stream compatibility mode&lt;/strong&gt; if the wizard recommends it. Click &lt;strong&gt;Save New Camera&lt;/strong&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/cameras/#step-4-validation-and-testing&quot;&gt;Frigate&apos;s validation steps&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#setup-via-the-add-camera-wizard&quot;&gt;Reolink compatibility mode guidance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;To override recording settings for this camera, select it under &lt;strong&gt;Settings → Camera configuration&lt;/strong&gt; and open &lt;strong&gt;Recording&lt;/strong&gt;. Turn on &lt;strong&gt;Enable recording&lt;/strong&gt; and set the retention period you want. &lt;a href=&quot;https://docs.frigate.video/configuration/record/#pre-capture-and-post-capture&quot;&gt;Camera-level recording settings&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/record/#continuous-and-motion-recording&quot;&gt;Retention controls&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Configure HTTP-FLV manually with go2rtc&lt;/h2&gt;
&lt;p&gt;Use this example for a standalone camera that exposes HTTP-FLV. Merge the entries into &lt;code&gt;go2rtc.streams&lt;/code&gt; and &lt;code&gt;cameras&lt;/code&gt; in your existing Frigate YAML (&lt;code&gt;config.yml&lt;/code&gt; or &lt;code&gt;config.yaml&lt;/code&gt;). Replace &lt;code&gt;CAMERA_IP&lt;/code&gt;, &lt;code&gt;CAMERA_USER&lt;/code&gt; and &lt;code&gt;CAMERA_PASSWORD&lt;/code&gt; with your camera&apos;s details. URL-encode reserved characters in the password used in &lt;code&gt;go2rtc.streams&lt;/code&gt;, such as &lt;code&gt;@&lt;/code&gt; as &lt;code&gt;%40&lt;/code&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/config/#configuration-file-location&quot;&gt;Frigate configuration file location&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#connection-authentication-and-complex-passwords&quot;&gt;go2rtc password handling&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this standalone example, the HTTP-FLV main stream uses &lt;code&gt;channel0_main.bcs&lt;/code&gt; and the substream uses &lt;code&gt;channel0_ext.bcs&lt;/code&gt;. The example enables object detection and sets one day of continuous recording retention for this camera. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#manual-configuration&quot;&gt;Frigate&apos;s Reolink YAML&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/advanced/reference/&quot;&gt;Frigate configuration reference&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/record/#continuous-and-motion-recording&quot;&gt;Continuous recording settings&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;go2rtc:
  streams:
    driveway:
      - &amp;quot;ffmpeg:http://CAMERA_IP/flv?port=1935&amp;amp;app=bcs&amp;amp;stream=channel0_main.bcs&amp;amp;user=CAMERA_USER&amp;amp;password=CAMERA_PASSWORD#video=copy#audio=copy#audio=opus&amp;quot;
    driveway_sub:
      - &amp;quot;ffmpeg:http://CAMERA_IP/flv?port=1935&amp;amp;app=bcs&amp;amp;stream=channel0_ext.bcs&amp;amp;user=CAMERA_USER&amp;amp;password=CAMERA_PASSWORD&amp;quot;

cameras:
  driveway:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: true
    record:
      enabled: true
      continuous:
        days: 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;code&gt;ffmpeg:&lt;/code&gt; prefix tells go2rtc how to read HTTP-FLV. Frigate reads the two resulting RTSP feeds on &lt;code&gt;127.0.0.1:8554&lt;/code&gt;. Use &lt;code&gt;preset-rtsp-restream&lt;/code&gt; on those inputs. Applying &lt;code&gt;preset-http-reolink&lt;/code&gt; to an RTSP restream used for recording will cause a crash. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#non-rtsp-sources-and-the-ffmpeg-module&quot;&gt;go2rtc source handling&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/ffmpeg_presets/#input-args-presets&quot;&gt;Frigate input presets&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Switch the camera source to RTSP&lt;/h2&gt;
&lt;p&gt;If your standalone camera supports RTSP, replace the two sources under &lt;code&gt;go2rtc.streams&lt;/code&gt; with Reolink&apos;s standalone RTSP URLs. Keep &lt;code&gt;driveway&lt;/code&gt; and &lt;code&gt;driveway_sub&lt;/code&gt; as the stream names so the existing camera inputs still resolve. Use your configured RTSP port if it differs from the default &lt;code&gt;554&lt;/code&gt;. &lt;a href=&quot;https://support.reolink.com/articles/900000630706-Introduction-to-RTSP/&quot;&gt;Reolink&apos;s RTSP URL formats&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/restream/#with-sub-stream&quot;&gt;Frigate restream setup&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;go2rtc:
  streams:
    driveway:
      - &amp;quot;rtsp://CAMERA_USER:CAMERA_PASSWORD@CAMERA_IP:554/Preview_01_main&amp;quot;
    driveway_sub:
      - &amp;quot;rtsp://CAMERA_USER:CAMERA_PASSWORD@CAMERA_IP:554/Preview_01_sub&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Connect through a Reolink NVR&lt;/h2&gt;
&lt;p&gt;Set the ports on the recorder. In the newer Reolink NVR interface, open &lt;strong&gt;Settings → Network → Advanced → Port Settings&lt;/strong&gt;. In the older PoE NVR interface, open &lt;strong&gt;Network → Advanced&lt;/strong&gt; and click &lt;strong&gt;Set&lt;/strong&gt; next to &lt;strong&gt;Port Settings&lt;/strong&gt;. &lt;a href=&quot;https://support.reolink.com/articles/900000621783-How-to-Configure-Reolink-Ports-Settings/&quot;&gt;Reolink recorder port settings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a camera reached through a supported Reolink NVR over HTTP-FLV, use the recorder&apos;s IP and login in the source URLs. Frigate&apos;s example uses &lt;code&gt;channel3_main.bcs&lt;/code&gt; and &lt;code&gt;channel3_ext.bcs&lt;/code&gt; for HTTP-FLV channel index &lt;code&gt;3&lt;/code&gt;. Substitute the index for your camera in both URLs. Reolink&apos;s separate RTSP format uses numbered paths such as &lt;code&gt;Preview_02_main&lt;/code&gt; and &lt;code&gt;Preview_02_sub&lt;/code&gt; for NVR channel 2. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#manual-configuration&quot;&gt;Frigate&apos;s NVR example&lt;/a&gt; · &lt;a href=&quot;https://support.reolink.com/articles/900000630706-Introduction-to-RTSP/&quot;&gt;Reolink&apos;s NVR RTSP URLs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the HTTP-FLV example, replace the two stream entries with these and use &lt;code&gt;rtsp://127.0.0.1:8554/driveway?video=copy&amp;amp;audio=aac&lt;/code&gt; for the recording input and &lt;code&gt;rtsp://127.0.0.1:8554/driveway_sub?video=copy&lt;/code&gt; for detection. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#manual-configuration&quot;&gt;Frigate&apos;s NVR source and input example&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;go2rtc:
  streams:
    driveway:
      - &amp;quot;ffmpeg:http://NVR_IP/flv?port=1935&amp;amp;app=bcs&amp;amp;stream=channel3_main.bcs&amp;amp;user=NVR_USER&amp;amp;password=NVR_PASSWORD&amp;quot;
      - &amp;quot;ffmpeg:driveway#audio=aac&amp;quot;
    driveway_sub:
      - &amp;quot;ffmpeg:http://NVR_IP/flv?port=1935&amp;amp;app=bcs&amp;amp;stream=channel3_ext.bcs&amp;amp;user=NVR_USER&amp;amp;password=NVR_PASSWORD&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Verify the streams in Frigate&lt;/h2&gt;
&lt;p&gt;After adding the YAML entries, restart Frigate and open the camera from the dashboard. On your Frigate instance, open &lt;code&gt;/api/go2rtc/streams&lt;/code&gt; to inspect the named streams and their codecs. If a feed fails, open &lt;strong&gt;System Logs&lt;/strong&gt; in the sidebar and select &lt;strong&gt;go2rtc&lt;/strong&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/go2rtc/#adding-a-go2rtc-stream-manually&quot;&gt;Frigate go2rtc setup&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/restream/#rtsp&quot;&gt;Restream status&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#start-by-isolating-the-problem&quot;&gt;go2rtc diagnostics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To check that footage is being saved, open the camera in &lt;strong&gt;Live&lt;/strong&gt; and click &lt;strong&gt;History&lt;/strong&gt;. Scrub the timeline to a time covered by your recording settings. &lt;a href=&quot;https://docs.frigate.video/usage/history/#opening-history&quot;&gt;Frigate recording playback&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Symptom&lt;/th&gt;
&lt;th&gt;What to check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;401 Unauthorized&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Check the login for the device in the source URL. Check URL encoding for reserved characters in the password.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Connection refused&lt;/code&gt; or timeout&lt;/td&gt;
&lt;td&gt;Check the device IP and port in the source URL.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;404 Not Found&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Check the Reolink RTSP path, if used. In each local restream URL, match the name after &lt;code&gt;:8554/&lt;/code&gt; to its key under &lt;code&gt;go2rtc.streams&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#start-by-isolating-the-problem&quot;&gt;Frigate go2rtc error checks&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/go2rtc/#stream-names-must-match-everywhere&quot;&gt;Stream name matching&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The examples were adapted from Frigate&apos;s 0.18 documentation and Reolink&apos;s port and RTSP guides. The steps were not run on camera or recorder hardware. &lt;a href=&quot;https://docs.frigate.video/configuration/camera_specific/#reolink-cameras&quot;&gt;Frigate&apos;s Reolink configuration&lt;/a&gt; · &lt;a href=&quot;https://support.reolink.com/articles/900000621783-How-to-Configure-Reolink-Ports-Settings/&quot;&gt;Reolink port settings&lt;/a&gt; · &lt;a href=&quot;https://support.reolink.com/articles/900000630706-Introduction-to-RTSP/&quot;&gt;Reolink RTSP guide&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>frigate</category><category>reolink</category><category>go2rtc</category><category>http-flv</category><category>rtsp</category><author>Frigate Guide Editorial</author></item><item><title>Frigate Hardware Acceleration Setup (hwaccel_args)</title><link>https://frigateguide.com/posts/frigate-hardware-acceleration-setup-vaapi-intel-qsv-nvdec/</link><guid isPermaLink="true">https://frigateguide.com/posts/frigate-hardware-acceleration-setup-vaapi-intel-qsv-nvdec/</guid><description>Set up Frigate hardware decoding with VAAPI, Intel QSV, NVIDIA NVDEC or Rockchip RKMPP. Match the preset, pass through the device, and fix FFmpeg errors.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;To enable Frigate hardware acceleration, give the Docker container access to the decoder, then set &lt;code&gt;ffmpeg.hwaccel_args&lt;/code&gt; to the preset for your GPU and camera stream. Use VAAPI or Intel Quick Sync on supported Intel hardware, VAAPI on supported AMD GPUs, &lt;code&gt;preset-nvidia&lt;/code&gt; for NVIDIA NVDEC on x86-64, or &lt;code&gt;preset-rkmpp&lt;/code&gt; on Rockchip. Check the Frigate logs after applying the preset for FFmpeg decoding errors. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Frigate video decoding&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/frigate/installation/&quot;&gt;Frigate image tags&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Choose a preset for your GPU and codec&lt;/h2&gt;
&lt;p&gt;Start with a working camera in Frigate. Before choosing a QSV preset, check the codec of the camera stream assigned the &lt;code&gt;detect&lt;/code&gt; role. The main stream and the detection substream can have separate encoding settings. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/#step-3-configure-hardware-acceleration-recommended&quot;&gt;Frigate getting started&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/frigate/camera_setup/#example-camera-configuration&quot;&gt;Camera setup&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Hardware and stream&lt;/th&gt;
&lt;th&gt;&lt;code&gt;hwaccel_args&lt;/code&gt; value&lt;/th&gt;
&lt;th&gt;Frigate UI choice&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Supported Intel or AMD GPU via VAAPI, H.264 or H.265&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-vaapi&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;VAAPI (Intel/AMD GPU)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intel Quick Sync, H.264&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-intel-qsv-h264&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Intel QuickSync (H.264)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intel Quick Sync, H.265&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-intel-qsv-h265&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Intel QuickSync (H.265)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NVIDIA GPU on x86-64 with NVDEC support for the stream&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-nvidia&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;NVIDIA GPU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rockchip SoC with hardware decoding and encoding support for the stream&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-rkmpp&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Rockchip RKMPP&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Frigate recommends VAAPI for supported Intel integrated graphics on CPU generations 1 through 12. Its guide also lists QSV as an option for generations 8 through 12 and recommends QSV for generation 13 onward and Intel Arc A- and B-series. For Arc B-series, the recommended QSV preset requires host kernel 6.12 or newer. VAAPI selects the H.264 or H.265 profile automatically where the GPU supports it. &lt;a href=&quot;https://docs.frigate.video/configuration/ffmpeg_presets/#hwaccel-hardware-acceleration-presets&quot;&gt;Frigate FFmpeg presets&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#intel-based-cpus&quot;&gt;Intel and AMD decoding guidance&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Give Frigate access to the decoder&lt;/h2&gt;
&lt;p&gt;For Linux Docker Compose, merge the relevant example into your existing &lt;code&gt;frigate&lt;/code&gt; service in &lt;code&gt;docker-compose.yml&lt;/code&gt;. Apply Compose changes from the directory containing the file with &lt;code&gt;docker compose up -d&lt;/code&gt;. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/#step-3-configure-hardware-acceleration-recommended&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Intel or AMD render device&lt;/h3&gt;
&lt;p&gt;Run &lt;code&gt;ls /dev/dri&lt;/code&gt; on the host. Find the render node for the intended GPU and use its path on both sides of the mapping. On a host with multiple GPUs, the node may be &lt;code&gt;renderD129&lt;/code&gt; instead of &lt;code&gt;renderD128&lt;/code&gt;. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/#hardware-acceleration-is-not-being-used&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For AMD VAAPI, add &lt;code&gt;LIBVA_DRIVER_NAME: radeonsi&lt;/code&gt; under the service&apos;s &lt;code&gt;environment&lt;/code&gt; key. Frigate defaults to &lt;code&gt;iHD&lt;/code&gt; for Intel VAAPI. For older Intel hardware that needs &lt;code&gt;i965&lt;/code&gt;, add &lt;code&gt;LIBVA_DRIVER_NAME: i965&lt;/code&gt; there. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Frigate driver guidance&lt;/a&gt;, &lt;a href=&quot;https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/&quot;&gt;Docker Compose environment syntax&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;NVIDIA NVDEC&lt;/h3&gt;
&lt;p&gt;Check your card and stream format in NVIDIA&apos;s decode support matrix. Install a host driver compatible with your GPU and Frigate&apos;s FFmpeg, then follow NVIDIA&apos;s Container Toolkit guide to configure Docker. The example reserves one GPU and uses Frigate&apos;s &lt;code&gt;stable-tensorrt&lt;/code&gt; image for x86-64. To select a GPU on a multi-GPU host, find its ID with &lt;code&gt;nvidia-smi&lt;/code&gt; and use &lt;code&gt;device_ids&lt;/code&gt;, for example &lt;code&gt;device_ids: [&apos;0&apos;]&lt;/code&gt;, in place of &lt;code&gt;count&lt;/code&gt;. &lt;a href=&quot;https://developer.nvidia.com/video-encode-decode-support-matrix&quot;&gt;NVIDIA decode support matrix&lt;/a&gt;, &lt;a href=&quot;https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html&quot;&gt;NVIDIA Container Toolkit&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#configuring-nvidia-gpus-in-docker&quot;&gt;Frigate NVIDIA Docker setup&lt;/a&gt;, &lt;a href=&quot;https://docs.docker.com/compose/how-tos/gpu-support/&quot;&gt;Docker Compose GPU access&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Rockchip RKMPP&lt;/h3&gt;
&lt;p&gt;Run &lt;code&gt;uname -r&lt;/code&gt; and check for the Rockchip BSP kernel 5.10 or 6.1 with the &lt;code&gt;-rockchip&lt;/code&gt; suffix. Frigate&apos;s installation guide calls for the required drivers, including &lt;code&gt;rkvdec2&lt;/code&gt; and &lt;code&gt;rknpu&lt;/code&gt;, and a Frigate image with the &lt;code&gt;-rk&lt;/code&gt; suffix. Check that your SoC can decode and encode the input codec at the stream&apos;s resolution. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#rockchip-platform&quot;&gt;Rockchip installation&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#rockchip-platform&quot;&gt;Rockchip video decoding&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Frigate documents &lt;code&gt;privileged: true&lt;/code&gt; for initial Rockchip setup. Once Frigate is working, remove privileged mode to limit the container&apos;s host access and apply the device mappings and security options below. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#rockchip-platform&quot;&gt;Rockchip installation&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    image: ghcr.io/blakeblackshear/frigate:stable-rk
    security_opt:
      - apparmor=unconfined
      - systempaths=unconfined
    devices:
      - /dev/dri
      - /dev/dma_heap
      - /dev/rga
      - /dev/mpp_service
    volumes:
      - /sys/:/sys/:ro
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Set hwaccel_args globally or per camera&lt;/h2&gt;
&lt;p&gt;In Frigate, open &lt;strong&gt;Settings → Global configuration → FFmpeg&lt;/strong&gt; and select the matching &lt;strong&gt;Hardware acceleration arguments&lt;/strong&gt; option. For a single-camera override, open &lt;strong&gt;Settings → Camera configuration → Streams (FFmpeg)&lt;/strong&gt; and select the camera and preset. Save the change and use &lt;strong&gt;Restart Frigate&lt;/strong&gt; if prompted. &lt;a href=&quot;https://docs.frigate.video/configuration/ffmpeg_presets/#hwaccel-hardware-acceleration-presets&quot;&gt;Frigate FFmpeg presets&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/configuration/config/#restart-required-indicators&quot;&gt;Frigate settings and restart behavior&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In YAML, put &lt;code&gt;hwaccel_args&lt;/code&gt; under the top-level &lt;code&gt;ffmpeg&lt;/code&gt; block for the default. For example, if your Intel GPU supports QSV and your cameras mostly use H.264, use the following default and override it for an H.265 camera. Merge the keys into your configuration using the existing camera name. &lt;a href=&quot;https://docs.frigate.video/configuration/ffmpeg_presets/#hwaccel-hardware-acceleration-presets&quot;&gt;Frigate FFmpeg presets&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;ffmpeg:
  hwaccel_args: preset-intel-qsv-h264

cameras:
  front_door:
    ffmpeg:
      hwaccel_args: preset-intel-qsv-h265
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Verify hardware decoding&lt;/h2&gt;
&lt;p&gt;Run &lt;code&gt;docker logs frigate&lt;/code&gt; for the container named &lt;code&gt;frigate&lt;/code&gt;. With automatic detection, look for a detection message or a warning that Frigate could not detect hardware acceleration. With an explicit preset, look for FFmpeg hardware-decoding errors. Frigate does not automatically fall back to CPU decoding if the configured hardware acceleration fails. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;, &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Frigate video decoding&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For NVDEC, also run &lt;code&gt;nvidia-smi&lt;/code&gt; on the host and look for &lt;code&gt;ffmpeg&lt;/code&gt; in the process list. The same command inside the container does not show those processes. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#setup-decoder&quot;&gt;Frigate NVIDIA decoder verification&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Fix hardware acceleration errors&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Failed to open the drm device&lt;/code&gt; or &lt;code&gt;No VA display found for device&lt;/code&gt;.&lt;/strong&gt; Check that the intended render node is mapped into the container and that the Frigate process can access it. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/#hardware-acceleration-is-not-being-used&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;Failed to download frame: -5&lt;/code&gt; with VAAPI or QSV.&lt;/strong&gt; Try the other preset if your Intel GPU supports both. If the issue persists and the camera offers an H.264 substream, try assigning it to the &lt;code&gt;detect&lt;/code&gt; role. Match the &lt;code&gt;detect&lt;/code&gt; width and height to the exact resolution of the stream assigned the &lt;code&gt;detect&lt;/code&gt; role. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/#failed-to-download-frame--5&quot;&gt;Frigate frame synchronization troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;nvidia-container-cli: nvml error: driver not loaded&lt;/code&gt;.&lt;/strong&gt; Check that the NVIDIA driver is loaded and that &lt;code&gt;nvidia-smi&lt;/code&gt; works on the Docker host before troubleshooting Frigate. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/common_errors/#hardware-acceleration&quot;&gt;Frigate common errors&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;No hw context provided on input&lt;/code&gt; from &lt;code&gt;Parsed_scale_rkrga_0&lt;/code&gt; followed by an FFmpeg restart on Rockchip.&lt;/strong&gt; If a camera is failing to process and the logs show this error sequence, try FFmpeg 7 by setting &lt;code&gt;path: &amp;quot;7.0&amp;quot;&lt;/code&gt; in the &lt;code&gt;ffmpeg&lt;/code&gt; block at global or camera scope. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#rockchip-platform&quot;&gt;Frigate Rockchip video decoding&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the VAAPI or QSV frame error persists, you can turn off hardware decoding for that camera with an empty &lt;code&gt;hwaccel_args&lt;/code&gt; list. Merge this into the affected camera&apos;s configuration. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/#failed-to-download-frame--5&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;cameras:
  front_door:
    ffmpeg:
      hwaccel_args: []
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The examples are based on the official Frigate documentation, which lists 0.18.3 as stable, and the linked Docker and NVIDIA guidance. This guide is not based on hands-on testing. &lt;a href=&quot;https://docs.frigate.video/frigate/updating/&quot;&gt;Frigate version reference&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>hardware acceleration</category><category>vaapi</category><category>intel qsv</category><category>nvidia nvdec</category><category>rockchip</category><author>Frigate Guide Editorial</author></item><item><title>Frigate NVR Detectors: Coral, OpenVINO, Hailo-8 and ONNX</title><link>https://frigateguide.com/posts/coral-tpu-intel-openvino-hailo-8-onnx-frigate/</link><guid isPermaLink="true">https://frigateguide.com/posts/coral-tpu-intel-openvino-hailo-8-onnx-frigate/</guid><description>Choose a Frigate NVR detector for your hardware. Compare Coral TPU, Intel OpenVINO, Hailo-8 and ONNX with Docker mappings and YAML examples.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Start with OpenVINO if your Frigate host already has a supported Intel GPU. Choose Hailo-8 or Hailo-8L on a compatible host, or use Frigate’s ONNX detector with a supported NVIDIA or AMD GPU, a supported ONNX model and the matching image. For a new installation, Frigate recommends Coral only if power requirements are particularly low or your host can’t use alternative AI accelerators for object detection. &lt;a href=&quot;https://docs.frigate.video/frigate/hardware/#detectors&quot;&gt;Frigate hardware guidance&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/&quot;&gt;Frigate detector documentation&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Match the detector to your hardware&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your hardware&lt;/th&gt;
&lt;th&gt;Frigate detector type&lt;/th&gt;
&lt;th&gt;Model to start with&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Supported Intel integrated GPU or Intel Arc GPU on an x86 host&lt;/td&gt;
&lt;td&gt;&lt;code&gt;openvino&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;SSDLite MobileNet v2 example&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google Coral USB, Mini PCIe or M.2&lt;/td&gt;
&lt;td&gt;&lt;code&gt;edgetpu&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Bundled Edge TPU TensorFlow Lite model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hailo-8 or Hailo-8L&lt;/td&gt;
&lt;td&gt;&lt;code&gt;hailo8l&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;YOLOv6n downloaded for the detected Hailo hardware when no custom model is specified&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported NVIDIA or AMD GPU&lt;/td&gt;
&lt;td&gt;&lt;code&gt;onnx&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A supported ONNX model, such as the documented YOLOv9 export&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.frigate.video/frigate/hardware/#detectors&quot;&gt;Frigate hardware guidance&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/&quot;&gt;Detector and model examples&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/#step-4-configure-detectors&quot;&gt;Intel starter configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ONNX is a model format. Frigate’s &lt;code&gt;onnx&lt;/code&gt; detector can use OpenVINO in the default image with a supported ONNX model, and its &lt;code&gt;openvino&lt;/code&gt; detector has its own documented YOLOv9 ONNX configuration. Use one detector type for object detection across your cameras. For example, choose either Coral or OpenVINO for that job. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/&quot;&gt;Frigate detector compatibility and configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a Raspberry Pi 5 build, check the Hailo M.2 carrier or HAT options that fit your board. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#hailo-8&quot;&gt;Frigate Hailo installation&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add the device to Docker Compose&lt;/h2&gt;
&lt;p&gt;For a Docker installation, add the entry for your hardware to &lt;code&gt;devices&lt;/code&gt; under the &lt;code&gt;frigate&lt;/code&gt; service in &lt;code&gt;docker-compose.yml&lt;/code&gt;. Use the render device that matches your Intel GPU. Install the host driver before mapping a PCIe or M.2 Coral. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#docker&quot;&gt;Frigate Docker installation&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/frigate/hardware/#google-coral-tpu&quot;&gt;Coral hardware guidance&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Hardware&lt;/th&gt;
&lt;th&gt;&lt;code&gt;devices&lt;/code&gt; entry&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Intel GPU, example render device&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/dev/dri/renderD128:/dev/dri/renderD128&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;USB Coral&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/dev/bus/usb:/dev/bus/usb&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PCIe or M.2 Coral, example with one device&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/dev/apex_0:/dev/apex_0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hailo-8 or Hailo-8L&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/dev/hailo0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AMD GPU with ROCm&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/dev/dri&lt;/code&gt; and &lt;code&gt;/dev/kfd&lt;/code&gt; as separate entries&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.frigate.video/frigate/installation/#docker&quot;&gt;Docker Compose device examples&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#hailo-8&quot;&gt;Hailo host and Docker setup&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#docker-settings-for-gpu-access&quot;&gt;ROCm device access&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For example, after installing the Hailo driver and firmware and rebooting, run &lt;code&gt;ls -l /dev/hailo0&lt;/code&gt; on the host. Once the device is listed, add this mapping to the existing Compose service. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#hailo-8&quot;&gt;Frigate Hailo installation&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    devices:
      - /dev/hailo0
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Set the detector in Frigate&lt;/h2&gt;
&lt;p&gt;Apply the example for your hardware to the Frigate configuration, which Docker installs map to &lt;code&gt;/config/config.yml&lt;/code&gt; inside the container. If you switch detector types, use the &lt;code&gt;detectors&lt;/code&gt; and model settings shown for your new detector. &lt;a href=&quot;https://docs.frigate.video/configuration/config/#configuration-file-location&quot;&gt;Frigate configuration file location&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/&quot;&gt;Detector and model configuration&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Intel GPU with OpenVINO&lt;/h3&gt;
&lt;p&gt;This starter uses the SSDLite MobileNet v2 model and its matching label map. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/#step-4-configure-detectors&quot;&gt;Frigate getting started guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;detectors:
  ov:
    type: openvino
    device: GPU
model:
  width: 300
  height: 300
  input_tensor: nhwc
  input_pixel_format: bgr
  path: /openvino-model/ssdlite_mobilenet_v2.xml
  labelmap_path: /openvino-model/coco_91cl_bkgr.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Coral Edge TPU&lt;/h3&gt;
&lt;p&gt;Use &lt;code&gt;device: usb&lt;/code&gt; for a single USB Coral or &lt;code&gt;device: pci&lt;/code&gt; for a single PCIe or M.2 Coral. Remove the previous custom &lt;code&gt;model&lt;/code&gt; block if you want the bundled &lt;code&gt;/edgetpu_model.tflite&lt;/code&gt; model. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#edge-tpu-detector&quot;&gt;Frigate Edge TPU configuration&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;detectors:
  coral:
    type: edgetpu
    device: usb
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Hailo-8 or Hailo-8L&lt;/h3&gt;
&lt;p&gt;Both accelerators use &lt;code&gt;type: hailo8l&lt;/code&gt;. Leave the model path and URL unset to let Frigate download the YOLOv6n model for your hardware on first startup. The cached model can run offline. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#hailo-8&quot;&gt;Frigate Hailo detector configuration&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;detectors:
  hailo:
    type: hailo8l
    device: PCIe
model:
  width: 320
  height: 320
  input_tensor: nhwc
  input_pixel_format: rgb
  input_dtype: int
  model_type: yolo-generic
  labelmap_path: /labelmap/coco-80.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;ONNX on a supported GPU&lt;/h3&gt;
&lt;p&gt;Choose the build for your GPU before configuring &lt;code&gt;type: onnx&lt;/code&gt;. These tags are for &lt;code&gt;ghcr.io/blakeblackshear/frigate&lt;/code&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#onnx&quot;&gt;Frigate ONNX backend selection&lt;/a&gt; · &lt;a href=&quot;https://github.com/blakeblackshear/frigate/releases/tag/v0.18.0#images&quot;&gt;Frigate 0.18.0 image tags&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;GPU&lt;/th&gt;
&lt;th&gt;Image tag&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Supported Intel GPU via OpenVINO&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.18.0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported AMD GPU via ROCm&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.18.0-rocm&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supported NVIDIA GPU on amd64&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.18.0-tensorrt&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For an NVIDIA GPU on amd64, install the NVIDIA Container Toolkit and reserve the GPU under the Compose service. This example requests one GPU. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/#configuring-nvidia-gpus-in-docker&quot;&gt;Frigate NVIDIA Docker setup&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Use Frigate’s YOLOv9 export example with &lt;code&gt;MODEL_SIZE=t&lt;/code&gt; and &lt;code&gt;IMG_SIZE=320&lt;/code&gt;. Put the resulting &lt;code&gt;yolov9-t-320.onnx&lt;/code&gt; in the host directory mapped to &lt;code&gt;/config&lt;/code&gt;, under &lt;code&gt;model_cache&lt;/code&gt;, and use the matching input dimensions below. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#onnx&quot;&gt;Frigate ONNX export and model settings&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/frigate/installation/#docker&quot;&gt;Frigate Docker volume mapping&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;detectors:
  onnx:
    type: onnx
model:
  model_type: yolo-generic
  width: 320
  height: 320
  input_tensor: nchw
  input_pixel_format: rgb
  input_dtype: float
  path: /config/model_cache/yolov9-t-320.onnx
  labelmap_path: /labelmap/coco-80.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For AMD ROCm, Frigate recommends setting &lt;code&gt;detect.enabled&lt;/code&gt; to &lt;code&gt;False&lt;/code&gt; before starting Frigate with the ONNX detector for the first model conversion. Check for camera-level overrides of that setting. Once the logs indicate conversion has finished, re-enable object detection in the UI, verify it works, and re-enable it in your config. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#configuration-rocm&quot;&gt;Frigate ROCm configuration&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/advanced/reference/&quot;&gt;Frigate configuration reference&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Check for skipped detections&lt;/h2&gt;
&lt;p&gt;From your Compose project directory, run &lt;code&gt;docker compose up -d frigate&lt;/code&gt; if you changed the image or device mapping. To restart the service after changing only the Frigate YAML, run &lt;code&gt;docker compose restart frigate&lt;/code&gt;. &lt;a href=&quot;https://docs.docker.com/reference/cli/docker/compose/up/&quot;&gt;Docker Compose up&lt;/a&gt; · &lt;a href=&quot;https://docs.docker.com/reference/cli/docker/compose/restart/&quot;&gt;Docker Compose restart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open &lt;strong&gt;System → Metrics → Cameras&lt;/strong&gt; and check for skipped detections. If you’re comparing model sizes, use the largest variant that keeps up with the detection load across your cameras. Frigate recommends starting at 320 × 320 for nearly all setups. &lt;a href=&quot;https://docs.frigate.video/configuration/object_detectors/#choosing-a-model-size&quot;&gt;Frigate model sizing and camera metrics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For next steps, see Frigate’s guides to &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;video decoding&lt;/a&gt; and &lt;a href=&quot;https://docs.frigate.video/plus/&quot;&gt;custom models with Frigate+&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; The Frigate 0.18.0 examples use the linked Frigate and Docker documentation, checked on November 26, 2026. The configurations were not run on hardware.&lt;/p&gt;
</content:encoded><category>frigate</category><category>coral</category><category>openvino</category><category>hailo</category><category>onnx</category><author>Frigate Guide Editorial</author></item><item><title>Install Frigate on Proxmox LXC with an Intel iGPU</title><link>https://frigateguide.com/posts/install-frigate-nvr-proxmox-lxc-container-intel-igpu/</link><guid isPermaLink="true">https://frigateguide.com/posts/install-frigate-nvr-proxmox-lxc-container-intel-igpu/</guid><description>Set up Frigate NVR in a Proxmox LXC, pass an Intel iGPU through to Docker, choose a video decoding preset, and verify that your camera records.</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Pass the Intel iGPU’s render node from the Proxmox host into a Debian LXC, then map the same device into Frigate with Docker Compose. In Frigate, select VAAPI or Intel Quick Sync for FFmpeg video decoding. Frigate treats LXC as an unsupported setup and points Proxmox users to a QEMU VM for stronger isolation. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/&quot;&gt;Frigate installation&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Intel video decoding&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Pass the Intel render node into the LXC&lt;/h2&gt;
&lt;p&gt;Start with an unprivileged Debian LXC and use its actual container ID in place of &lt;code&gt;100&lt;/code&gt; below. This walkthrough uses Proxmox VE’s &lt;code&gt;dev[n]&lt;/code&gt; device passthrough setting. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Proxmox container options&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the Proxmox host, list the render devices. The examples use &lt;code&gt;/dev/dri/renderD128&lt;/code&gt;. If the host has multiple GPUs, confirm which render node belongs to the Intel iGPU and use that path in both mappings. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;ls /dev/dri
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If the LXC is running, shut it down from the Proxmox host. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container guide&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;pct shutdown 100
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;On the host, edit &lt;code&gt;/etc/pve/lxc/100.conf&lt;/code&gt;. Add the flags to the &lt;code&gt;features:&lt;/code&gt; setting. If &lt;code&gt;dev0&lt;/code&gt; already maps another device, choose an unused device slot. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container guide&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Proxmox container options&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot;&gt;features: nesting=1,keyctl=1
dev0: /dev/dri/renderD128
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Proxmox documents &lt;code&gt;keyctl&lt;/code&gt; for Docker in unprivileged containers. Enabling &lt;code&gt;nesting&lt;/code&gt; exposes host &lt;code&gt;procfs&lt;/code&gt; and &lt;code&gt;sysfs&lt;/code&gt; contents to the guest. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Proxmox container options&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Start the LXC and enter its shell from the Proxmox host. Run the last command inside the LXC and confirm that the render node appears before proceeding to Compose. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container guide&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;pct start 100
pct enter 100
ls /dev/dri
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Install Frigate with Docker Compose&lt;/h2&gt;
&lt;p&gt;Run the remaining shell commands inside the Debian LXC. If Docker Engine and the Compose plugin are missing, install them there using Docker’s Debian instructions. &lt;a href=&quot;https://docs.docker.com/engine/install/debian/&quot;&gt;Docker Engine on Debian&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From an empty project directory, create the config and recording directories and the Compose file. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;mkdir storage config &amp;amp;&amp;amp; touch docker-compose.yml
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;On &lt;code&gt;amd64&lt;/code&gt;, save this as &lt;code&gt;docker-compose.yml&lt;/code&gt;. The &lt;code&gt;devices&lt;/code&gt; entry below passes &lt;code&gt;/dev/dri/renderD128&lt;/code&gt; from the LXC into Frigate for hardware-accelerated video decoding. Use Frigate’s calculator to replace &lt;code&gt;&amp;lt;calculated size&amp;gt;&lt;/code&gt; with a shared memory setting for your camera count and detect resolutions. &lt;a href=&quot;https://docs.frigate.video/frigate/installation/&quot;&gt;Frigate installation&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-yaml&quot;&gt;services:
  frigate:
    container_name: frigate
    image: ghcr.io/blakeblackshear/frigate:stable
    restart: unless-stopped
    stop_grace_period: 30s
    shm_size: &amp;quot;&amp;lt;calculated size&amp;gt;&amp;quot;
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
    volumes:
      - ./config:/config
      - ./storage:/media/frigate
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - &amp;quot;8971:8971&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Start Frigate from the Compose directory. The first-start log contains the generated admin password, so keep the log private. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/authentication/&quot;&gt;Frigate authentication&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;docker compose up -d
docker logs frigate
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Open &lt;code&gt;https://LXC_IP:8971&lt;/code&gt; with the IP address of the Debian LXC. Frigate generates a self-signed certificate by default. Sign in as &lt;code&gt;admin&lt;/code&gt; with the generated password and change it under &lt;strong&gt;Settings → Users&lt;/strong&gt;. Keep Frigate’s unauthenticated port &lt;code&gt;5000&lt;/code&gt; internal. &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/tls/&quot;&gt;Frigate TLS&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/authentication/&quot;&gt;Frigate authentication&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Add a camera and select the Intel decoding preset&lt;/h2&gt;
&lt;p&gt;Go to &lt;strong&gt;Settings → Global configuration → Camera management → Add Camera&lt;/strong&gt;. Enter the camera’s connection details and use &lt;strong&gt;Probe camera&lt;/strong&gt;, or choose &lt;strong&gt;Manual selection&lt;/strong&gt; and &lt;strong&gt;Other&lt;/strong&gt; to enter a custom RTSP URL. The wizard can show the video codec and a preview. &lt;a href=&quot;https://docs.frigate.video/configuration/cameras/&quot;&gt;Frigate camera configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Assign the &lt;code&gt;detect&lt;/code&gt; and &lt;code&gt;record&lt;/code&gt; roles to the stream if you have a single feed. If you have separate feeds, add the lower-resolution stream for &lt;code&gt;detect&lt;/code&gt; and the higher-resolution stream for &lt;code&gt;record&lt;/code&gt;. Validate the streams, then select &lt;strong&gt;Save New Camera&lt;/strong&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/cameras/&quot;&gt;Frigate camera configuration&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Under &lt;strong&gt;Settings → Global configuration → FFmpeg&lt;/strong&gt;, set &lt;strong&gt;Hardware acceleration arguments&lt;/strong&gt; for your Intel CPU generation and the stream codec. For an individual camera, use &lt;strong&gt;Settings → Camera configuration → Streams (FFmpeg)&lt;/strong&gt;. Save the setting and use &lt;strong&gt;Restart Frigate&lt;/strong&gt; if the UI prompts you to restart. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Intel video decoding&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/config/&quot;&gt;Frigate configuration&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Intel CPU generation and codec&lt;/th&gt;
&lt;th&gt;Recommended Frigate setting&lt;/th&gt;
&lt;th&gt;YAML preset&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Gen 1 through Gen 12&lt;/td&gt;
&lt;td&gt;VAAPI (Intel/AMD GPU)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-vaapi&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gen 13 and newer with an H.264 stream&lt;/td&gt;
&lt;td&gt;Intel QuickSync (H.264)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-intel-qsv-h264&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gen 13 and newer with an H.265 stream&lt;/td&gt;
&lt;td&gt;Intel QuickSync (H.265)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;preset-intel-qsv-h265&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Frigate also lists Quick Sync as an option on Gen 8 through Gen 12. On Gen 1 through Gen 5, the docs list the &lt;code&gt;i965&lt;/code&gt; driver and warn that H.265 may be unavailable. If your setup needs &lt;code&gt;i965&lt;/code&gt;, set &lt;code&gt;LIBVA_DRIVER_NAME=i965&lt;/code&gt; in the Frigate service’s Compose environment and rerun &lt;code&gt;docker compose up -d&lt;/code&gt;. &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Intel video decoding&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Verify decoding and recording&lt;/h2&gt;
&lt;p&gt;With a camera running, check the logs for FFmpeg errors. When you’ve selected a preset explicitly, Frigate’s guide uses error-free logs to verify decoding because there is no CPU fallback. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/hardware_acceleration_video/&quot;&gt;Intel video decoding&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;docker logs frigate
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;If the node is missing in the LXC shell, recheck the Proxmox path and device entry. To apply a correction to the Compose &lt;code&gt;devices&lt;/code&gt; entry, rerun &lt;code&gt;docker compose up -d&lt;/code&gt;. &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/generated/pct.conf.5-opts.adoc&quot;&gt;Proxmox container options&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/guides/getting_started/&quot;&gt;Frigate getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If FFmpeg reports &lt;code&gt;Failed to open the drm device&lt;/code&gt;, confirm the mapped node is the Intel device and that the Frigate process can access it. If you have trouble with Quick Sync, Frigate’s preset reference suggests trying VAAPI. &lt;a href=&quot;https://docs.frigate.video/troubleshooting/gpu/&quot;&gt;Frigate GPU troubleshooting&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/ffmpeg_presets/&quot;&gt;Frigate FFmpeg presets&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To record, go to &lt;strong&gt;Settings → Global configuration → Recording&lt;/strong&gt; and turn on &lt;strong&gt;Enable recording&lt;/strong&gt;. For example, set &lt;strong&gt;Continuous retention → Retention days&lt;/strong&gt; to &lt;code&gt;1&lt;/code&gt; to keep one day of continuous footage. Save the settings and restart if prompted. Once footage has been recorded, use &lt;strong&gt;History&lt;/strong&gt; from the camera’s single-camera Live view to play it back. &lt;a href=&quot;https://docs.frigate.video/configuration/record/&quot;&gt;Frigate recording&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/configuration/config/&quot;&gt;Frigate configuration&lt;/a&gt; · &lt;a href=&quot;https://docs.frigate.video/usage/history/&quot;&gt;Frigate History view&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evidence and limits.&lt;/strong&gt; This walkthrough is based on Frigate’s stable 0.18.3 documentation, the Proxmox VE container reference and Docker’s Debian installation guide. This guide is not based on hands-on testing. &lt;a href=&quot;https://docs.frigate.video/frigate/updating/&quot;&gt;Frigate stable version&lt;/a&gt; · &lt;a href=&quot;https://github.com/proxmox/pve-docs/blob/master/pct.adoc&quot;&gt;Proxmox container guide&lt;/a&gt; · &lt;a href=&quot;https://docs.docker.com/engine/install/debian/&quot;&gt;Docker Engine on Debian&lt;/a&gt;&lt;/p&gt;
</content:encoded><category>frigate</category><category>proxmox</category><category>lxc</category><category>intel igpu</category><category>docker</category><author>Frigate Guide Editorial</author></item></channel></rss>