Getting Started with Windows FFmpeg High speed

Source: Internet
Author: User
Tags api manual

This series of articles navigation

Getting Started with Windows FFmpeg High speed

Explanation of FFmpeg parameters

MEncoder and FFmpeg specific explanations (Java processing Video)

Java Generate video thumbnails (ffmpeg)

Convert video files to FLV using FFmpeg

Java Video processing MEncoder

Java Video Processing Ffmped+mencoder

Getting Started with Windows FFmpeg High speedFFmpeg Brief IntroductionWhat is FFmpeg? FFmpeg is a complete solution for recording, converting, and streaming audio and video, including Libavcodec, a set of first audio/video codec class library. FFmpeg is developed on Linux, and can be compiled under most operating systems, including Windows. Note
    • FFmpeg has a strong reliance on GCC, so it is not easy to compile ffmpeg with VC on Windows. Try to compile ffmpeg with GCC as much as you can.
The official website of FFmpeg ishttp://ffmpeg.mplayerhq.hu/。 The Chinese wiki ishttp://www.ffmpeg.com.cn/, very much information.composition of the FFMPEG structureFFmpeg mainly consists of a few parts:
  • Libavcodec: A library that includes all FFmpeg audio and video codecs. To ensure optimal performance and high reusability, most codecs are developed from scratch.
  • Libavformat: A library of parsers and generator that includes all of the common audio-visual formats.
  • Three instance programs, these three instances are more complex, basically can be used as an API manual:
    • FFmpeg: The video format converter for the command line.
    • Ffplay: Video playback program. (SDL support required)
    • Ffserver: Multimedia Server
Once you understand the composition structure, you'll find that assuming you're looking for a way to convert video formats, that FFmpeg is definitely your first choice, Libavcodecis the most serious. Assuming that the API will not be used, you can refer to Ffmpeg.c, ffplay.c, FFSERVER.C, apiexample.c (decoding) and output_example.c (encoding).Compilation of FFmpegTo use FFmpeg, the first step is to compile, and for Linux users,http://www.ffmpeg.com.cn/index.php/Ffmpeg%E7%BC%96%E8%AF%91%E8%AF%A6%E8%A7%A3For Windows users, you canhttp://bbs.chinavideo.org/viewthread.php?tid=1897&extra=page%3D1
    • Compiling ffmpeg is a complex process, assuming you want to raise the speed and appreciate the ffmpeg wind, you can skip this step and go directly to the next section.
FFmpeg's SDKFFmpeg is a complex project, the first step of compiling, especially the compilation process under Windows, is even more complex. Therefore, the good friend provides the DLL and LIB library files under Windows, as well as the related header files. Novices can download it directly and start writing the FFmpeg library program.
  • SDK download and compile parameters can be http://www.ffmpeg.com.cn/index.php/SDK_Download .
  • The SDK primer can be downloaded from http://www.bairuitech.com/html/ruanjianxiazai/20070713/49.html .
Both of these are sufficient to complete FFmpeg's entry, the latest SDK version number is 3.0, and the version number corresponding to FFmpeg is r10087. Beginners are able to start from the output_example.c in the source library, and participate at the same time SDK Primer。 You need to be aware of the following issues when compiling output_example.c:
  • VC is not supported in the C language of inline, so the relevant inline can be deleted.
  • For snprintf support, you can consider downloading Snprintf.h and snprintf.c from http://www.ijs.si/software/snprintf/ into project.
Prepared a output_example.c VC (Edtion Express) project, interested friends can mail to tang.jiyu at gmail dot comRequest, or visit http://tinyurl.com/5h4v8q to download.


Blog Source: http://huqilong.blog.51cto.com/53638/137140

Getting Started with Windows FFmpeg High speed

Related Article

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.