Windows FFmpeg Quick Start

Source: Internet
Author: User

This series of articles navigation

Windows FFmpeg Quick Start

FFmpeg parameter explanation

MEncoder and FFmpeg parameter details (Java processing video)

Java Generate video thumbnails (ffmpeg)

Convert video files to FLV using FFmpeg

Java Video processing MEncoder

Java Video Processing Ffmped+mencoder

Introduction to Windows FFmpeg Quick Start ffmpeg what is FFmpeg? FFmpeg is a complete solution for recording, converting, and streaming audio and video, including Libavcodec, a set of leading audio/video codec class library. FFmpeg is developed on Linux when it 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. Use GCC as much as possible to compile the ffmpeg and do more with less.
The official website of FFmpeg is http://ffmpeg.mplayerhq.hu/. The Chinese wiki is http://www.ffmpeg.com.cn/, with a lot of information. The composition structure of ffmpeg ffmpeg mainly consists of a few parts:
  • Libavcodec: A library containing 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 contains all of the common audio-visual formats.
  • Three instance programs, these three instances are more complex and can basically be used as API manuals:
    • FFmpeg: The video format converter for the command line.
    • Ffplay: Video playback program. (Requires SDL support)
    • Ffserver: Multimedia Server
Once you understand the composition structure, you'll find that if you're looking for a way to convert video formats, that FFmpeg is definitely your first choice, Libavcodecis the most serious. You can refer to Ffmpeg.c, ffplay.c, FFSERVER.C, apiexample.c (decoding), and output_example.c (encoding) If you encounter an API that is not used. FFmpeg compile to use FFmpeg, the first step is to compile, for Linux users, you can refer to http://www.ffmpeg.com.cn/index.php/Ffmpeg%E7%BC%96%E8%AF%91%E8%AF% A6%E8%A7%A3 for Windows users, you can refer to Http://bbs.chinavideo.org/viewthread.php?tid=1897&extra=page%3D1
    • Compiling ffmpeg is a complex process, and if you want to speed up and appreciate ffmpeg, 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. Beginners can download it directly and start writing the FFmpeg library program.
  • SDK download and compile parameters can refer to 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 the ffmpeg, the latest SDK version is 3.0, and the version corresponding to FFmpeg is r10087. Beginners can start by compiling the output_example.c from the source code base, while referencing SDK Primer。 The following issues need to be noted 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, consider downloading snprintf.h and SNPRINTF.C from http://www.ijs.si/software/snprintf/into the 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 download.


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

Windows FFmpeg Quick Start

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.