

The parameters I configured are as follows (for reference only): Use the configure command to configure the compilation parameters of ffmpeg. For example, " cd d: " means switch to drive d.ĥ. Note: Use the " cd drive letter " command to switch the drive letter. Enter the MinGW command line through the desktop or start menu shortcut, and enter the decompression directory of ffmpeg. After the download is complete, unzip it to a standby somewhere.Ĥ. Download ffmpeg, you can find the latest version at, I downloaded. If assembly acceleration is disabled, the operating efficiency of the compiled codec library will be affected.ģ. The code in the assembly acceleration part of ffmpeg needs to use it. If you do not have this step, you may be prompted that the yasm command cannot be found in the process of compiling ffmpeg later. Download the exe file of yasm from (you need to choose Win32.exe or Win64.exe according to your operating system), and rename it to yasm.exe after downloading Put it in the bin directory of the MinGW installation directory. The above link is used to download the offline installation package.Ģ. MinGW and Msys were previously installed separately, but now they can be installed together at once.

It is not recommended to modify any default path (the current computer, the C drive space is very large). After the download is complete, install it directly. Download the compilation environment MinGW+Msys, the address is:, click Download on this page to download the zip file.

There are many versions of ffmpeg compilation guides on the Internet, most of which are unavailable, either because the link is invalid or does not meet my application requirements.ġ.
