Skip to content

Missing ffmpeg

For Windows systems, the pre-packaged version already includes ffmpeg, so no action is required. In the source code, there is an ffmpeg.7z file; extract it and place it in the software's root directory.

For Linux systems, Debian-based distributions can use apt-get install ffmpeg, and Fedora-based distributions can use yum install ffmpeg for installation.

For Mac systems, use brew install ffmpeg to install it.

Installing ffmpeg

Why install it? If an AI project involves audio or video, it will almost certainly use ffmpeg, so it is recommended to install it.

Download ffmpeg and set environment variables

ffmpeg Windows version download link:

https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-6.1.1-full_build.7z

More versions available at: https://www.gyan.dev/ffmpeg/builds/

After downloading, extract the files and navigate to the bin directory, where you will see three .exe files. Copy them to a folder with an English path, for example, I copied them to E:\sdk\ffmpeg. Then add this path to the Path environment variable.

How to add the Path environment variable: Press the Win key + Pause key (top right), then in the window that opens, click sequentially: Advanced system settings → Environment Variables → System Variables → double-click on the Path line.

Then click New → Browse, and locate the directory where the three .exe files are stored.

In the browse dialog, find the directory containing the ffmpeg.exe mentioned earlier, then click OK.

You will see the newly added path on the left; click OK to close, then continue clicking OK to close all open dialogs.

Verify if the installation is successful

Open any cmd window and type ffmpeg, then press Enter. If it displays output like the following, the installation is correct. If it shows "ffmpeg is not recognized as an internal or external command..." or similar, there was an error in configuring the environment variables; please reconfigure them.