FFmpeg description
FFmpeg is a free software that can run audio and video in a variety of formats, video, conversion, stream function 1, including libavcodec─ This is a library of decoders for audio and video in multiple projects, and libavformat--an audio and video format conversion Library.
Download link
https://ffmpeg.zeranoe.com/builds/win64/
Catalogue description
Note: Shared and static versions contain FFmpeg tools that can be executed independently
Dev version for software development with FFmpeg library files (Lib) and header files (h)
The shared version provides the DLL file and the executable program Ffmpeg.exe,ffplay.exe that relies on the DLL file, Ffprobe.exe
The static version provides the executable program Ffmpeg.exe,ffplay.exe, Ffprobe.exe, because the DLL is compiled into the program inside, so the volume is larger
How to add ffmpeg dynamic Library to the project
1) Download the appropriate version from the Dev directory such as Ffmpeg-20171013-ad56e80-win64-dev, which contains the Lib files and H files in the FFmpeg required by the project
2) Download the appropriate version from the shared directory (i.e. consistent with the time of the dev download above) ffmpeg-20171013-147c1e0-win64-shared, which contains
Run program dependent DLL files after project compilation
3) Add the header file path and the Lib library path to the project, and copy the DLL to the executable program directory
Compile error
Error C3861 "Uint64_c": identifier not found
Open the Libautil/common.h file add the following code after the include include file
#ifndef Int64_c
#define INT64_C (c) (C # # LL)
#define UINT64_C (c) (C # # ULL)
#endif
Reference
https://www.jianshu.com/p/7ed3be01228b
FFmpeg Windows software Development environment Setup