This article from: http://www.itechzero.com/ffmpeg-windows-develop-environment-simply-set-up-tutorial.html
FFmpeg is an excellent library, open source, cross-platform and user-friendly, and can be used in Windows and Linux platforms, this article will briefly explain the Windows platform under the FFmpeg development environment simple building process.
platform : Windows 8.1 Pro + Visual Studio 2013
- Open FFmpeg official website download page, directly click on the above Download Download the source package and unzip.
- Click Windows Buildsunder the Windows icon under the official website to download the latest 32-bit Shared and 32-bit Dev packages and unzip them.
- Open Visual Studio 2013, create a new project, select the Win32 console Application in Visual C + + , OK, finish.
- Enter the FFmpeg source folder under the Doc/examples folder, find the metadata.c file, the file is a standalone demo, running results for printing audio and video media files basic information. Open the copy and paste the contents into Ffmpeg-test.cpp, and modify the following slightly.
- Right-click on the project name in Visual Studio, open the properties, set the configuration properties, and add-C + +, additional Include directories and configuration properties, the linker, add-on library directory for the second step unzip the 32-bit Dev folder under include folder and Lib folder, add avformat.lib and avutil.lib >
- The second step is to unzip the 32-bit. Avcodec-56.dll, Avformat-56.dll, Avutil-54.dll, and Swresample-1.dll in the Bin folder under the Shared folder Copy to the project folder with the same name as the solution. The final file structure is as follows.
- Successful compilation execution results in the following.
The test solution has been packaged and uploaded, and the friends who need it can download: http://pan.baidu.com/s/1o6sQ2Zg
FFmpeg Windows Development Environment Simple Build tutorial