Skip to main content
Version: 6.14

FFmpeg Installation

If FFmpeg is required for video streaming, it must be installed on the Patriot Task Server.

FFmpeg version compatibility​

Correct version of FFmpeg must be used according to Patriot version. Other versions may have compatibility issues. Please refer to the compatibility list below.

Patriot VersionCompatible FFmpeg Version
6.14.1.07.1
6.14.2.0 or later8.1

Installing FFmpeg​

Any compatible build of FFmpeg can be used, as long as it has the matching version, and includes vp8 and h264 encoders. FFmpeg must be added to your server PATH environment variable.

The simplest way to install FFmpeg is via winget to use a pre-built version. Recommended builds include Gyan.FFmpeg.Shared or BtbN.FFmpeg.LGPL.Shared

Install by running the following command as administrator:

winget install -e --id Gyan.FFmpeg.Shared --version <required version>

The command will install FFmpeg and add the installation path to the server's PATH environment variables so Patriot Task Service can find it.

warning

The command must be run as administrator, otherwise the server's PATH environment variables will not be updated and Patriot Task Service will not be able to find the installed FFmpeg programme.

If FFmpeg was not installed properly or a new version is required, the current installation must be uninstalled first before being reinstalled. You can uninstall FFmpeg by running the following command:

winget uninstall -e --id <installed package id>

Troubleshooting​

FFmpeg initialisation error: FFmpeg is not installed, or it is not available to the task in the PATH, or FFmpeg version mismatch. Check task log or event viewer for more details.

EntryPointNotFoundException or DllNotFoundException in error details: the most common cause is an FFmpeg version mismatch.