FFmpeg Windows software Development environment Setup

Source: Internet
Author: User

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

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.