FFMPEG source code analysis (-)

Source: Internet
Author: User
Basic concepts of FFMPEG:

Ffmpeg is an open-source codec framework that provides an audio/video recording, decoding, and encoding library. FFMPEG is developed in linux, but it also has a compiled version in windows.
The ffmpeg project consists of the following parts:
The command line tool for converting ffmpeg video files also supports capturing and encoding video files through real-time video cards.
Ffserver is a multimedia server used for real-time broadcast based on HTTP (RTSP is under development). It also supports time translation.
A simple media player developed by ffplay using SDL and FFmpeg Libraries
Libavcodec is a library that contains all FFmpeg audio and video codecs. To ensure optimal performance and high reusability, most codecs are developed from scratch.
Libavformat is a library that contains all the normal audio and video formats and generators.

Relationship between FFMPEG and VLC:

On the Internet, many people are asking about the relationship between FFMPEG and VLC. A student on the Internet answered the most incisive question: "vlc vs FFmpeg = car VS engine"
Relationship between FFMPEG and libav:
Libav is a new project created after an independent part of FFMPEG developers. At that time, it was because there were often different opinions in the ffmpeg development email list and they came out independently after a debate. At the same time, the libav development team changed the original ffmpeg icon to its own, and ffmpeg re-developed the icon:

Today FFmpeg has stored ed the first legal threat in its existence. its from a previous root admin of FFmpeg, who now is root admin of the Libav fork of FFmpeg. he claims copyright on the zigzag part of our logo. it has to be noted that he said 4 years ago Credit to whoever came up with the zigzag idea

Update May 31/June 1: We have replaced the logo with a better looking one drawn by Hervé Flores.

FFMPEG Compilation:

The source code of FFMPEG can be obtained from the website: http://www.ffmpeg.org /.
The compilation option can be configured through configure in the source code.
To configure outsourcing packages such as libfaac and libx264, you can use -- extra-cflags to specify the folder of the header file. You can use -- extra-cflags to specify the location of third-party library files. To compile a dynamic library, you can use the -- enable-shared configuration option.
To compile ffplay, you must first install the SDL library. Otherwise, ffplay cannot be compiled.
The compilation of the SDL library is the same as that of the installation files in other linux systems.
Third-party libraries are installed everywhere.

Http://www.cnblogs.com/MaxIE/archive/2007/02/03/638863.html

Here is an article for reference.

Copyright: boshui. Reprinted please indicate the source: http://www.cnblogs.com/qingquan/

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.