FFmpeg Windows Development Environment Simple Build tutorial

Source: Internet
Author: User

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

      1. Open FFmpeg official website download page, directly click on the above Download Download the source package and unzip.
      2. 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.
      3. Open Visual Studio 2013, create a new project, select the Win32 console Application in Visual C + + , OK, finish.

      1. 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.

      1. 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 >

      1. 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.

      1. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.