From 5c701f4d609ec5cfd3b3506955948f26aa3b24d6 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 5 Sep 2022 15:58:24 -0600 Subject: [PATCH] Add instructions for custom ffmpeg build --- docs/docs/configuration/advanced.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index 790b494f7..ea8e8f3d8 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -67,3 +67,12 @@ model: ``` Note that if you rename objects in the labelmap, you will also need to update your `objects -> track` list as well. + +## Custom ffmpeg build + +Included with Frigate is a build of ffmpeg that works for the vast majority of users. However, there exists some hardware setups which have incompatibilities with the included build. In this case, a docker volume mapping can be used to overwrite the included ffmpeg build with an ffmpeg build that works for your specific hardware setup. + +To do this: +1. Download your ffmpeg build and uncompress to a folder on the host (let's use `/home/appdata/frigate/custom-ffmpeg` for this example). +2. Update your docker-compose or docker CLI to include `'/home/appdata/frigate/custom-ffmpeg':'/usr/lib/btbn-ffmpeg':'ro'` in the volume mappings. +3. Restart frigate and the custom version will be used if the mapping was done correctly.