
Pacman -S pkg -config Library configuration toolįfmpeg The default support in the library is x264,x265,aac Decoded, But its encoding is not supported So manually compile it into x264,x265,aac library Pacman -S diffutils Comparison tools ( Avoid generating makefile An error occurred when ) There are other tools : pacman -S make cmake

Msys2 The installation instructions in are pacman pacman -S nasm

Thus msys2 Environment configuration complete Two, stay msys2 Install dependencies required for compilation inĬompiling ffmpeg Need to compile assembly code, You need to install tools to compile assembly code : cmd -mingw32Īfter the command is executed, it will open msys2 Command lineĥ, stay msys2 Input in cl command To confirm the inheritance of vs2019 Environment Want to compile 64 Select the library of bits 64 Bit command line tools, Here is chosen 32 As a demonstrationĢ, Input cl command Confirm that there is a compilerģ, open msys2_shell.cmd file : Modify fileĤ, Opened before vs2019 Command line tools enter commands : msys2_shell. Use vs2019+msys2 Environment to compile ffmpeg Source code So take advantage of msys2, Go to the official website to download and install Need to install msys2( It's a windows Middle simulation linux Operating system software ) Because in linux Chinese compiler ffmpeg Relatively simple ,
