FFmpeg quick start in Windows
Author: |
A. TNG
|
Email: |
Jiyucn@163.com |
Refer: |
Http://www.ffmpeg.com.cn/ |
FFmpeg introduction
What is FFmpeg?
FFmpeg is a complete solution for recording, conversion, and streaming audio and video, includingLibavcodec, A set of leading audio/video codec class libraries. FFmpeg is developed on Linux and can be compiled in most operating systems, including Windows.
Note
- FFmpeg is highly dependent on GCC, so it is not easy to compile FFmpeg with VC even on Windows. Use GCC to compile FFmpeg as much as possible.
The official FFmpeg website is http://ffmpeg.mplayerhq.hu /.
Chinese Wiki is http://www.ffmpeg.com.cn/, a lot of information.
Composition of FFmpeg
FFmpeg consists of the following parts:
-
Libavcodec: a library that contains all FFmpeg audio/video codecs. To ensure optimal performance and high reusability, most codecs are developed from scratch.
-
Libavformat: a library that contains all the normal audio and video formats.
-
-
The three instances are complex and can be used as API user manual:
-
- Ffmpeg: specifies the video format conversion program of the command line.
- Ffplay: specifies the video playing program. (SDL support required)
- Ffserver: Multimedia server
After learning about the composition structure, you will find that if you are looking for a video format conversion method, FFmpeg is definitely your first choice,LibavcodecIt is the weight of weight. If the API is not used, see ffmpeg. c, ffplay. c, ffserver. c, apiexample. c (decoding), and output_example.c (encoding ).
FFmpeg compilation
To use FFmpeg, the first step is to compile. For Linux users, refer