FFmpeg Quick Start in Windows

Source: Internet
Author: User
This series Article Navigation

FFmpeg Quick Start in Windows

FFmpeg parameter description

Detailed description of mencoder and FFMPEG parameters (Java video processing)

Java generates video thumbnails (FFMPEG)

Use FFMPEG to convert video files to FLV

Java video processing mencoder

Java video processing ffmped + mencoder

 

FFmpeg Quick Start in Windows FFmpeg Introduction What is FFMPEG? FFmpeg is a complete solution for recording, conversion, and streaming audio and video, including Libavcodec , 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/ There are many materials. 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.
  • Three instances ProgramThese 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, Libavcodec It 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 Http://www.ffmpeg.com.cn/index.php/Ffmpeg%E7%BC%96%E8%AF%91%E8%AF%A6%E8%A7%A3 For Windows users, refer Http://bbs.chinavideo.org/viewthread.php? Tid = 1897 & extra = Page % 3d1
    • Compiling FFmpeg is a complicated process. If you want to speed up and appreciate the FFMPEG style, you can skip this step and go directly to the next chapter.
FFmpeg SDK FFmpeg is a complex project. The first step of compilation is especially complicated in windows. Therefore, kindly netizens provided the DLL and Lib library files compiled in windows and related header files. New users can download the Code directly and write the FFMPEG library program.
  • For SDK download and compilation parameters, referHttp://www.ffmpeg.com.cn/index.php/SDK_Download.
  • SDK getting startedHttp://www.bairuitech.com/html/ruanjianxiazai/20070713/49.htmlDownload.
The above two are enough to get started with FFMPEG. The latest SDK version is 3.0, and the corresponding FFMPEG version is r10087. New users can compile Source code Start with output_example.c in the library. For more information, see SDK getting started . Note the following when compiling output_example.c:
  • VC does not support inline in C, so you can delete the relevant inline.
  • For snprintf support, you can considerHttp://www.ijs.si/software/snprintf/Download snprintf. h and snprintf. C to the project.
Prepare an output_example.c VC (2008 express Edtion) project. If you are interested, you can email Tang. Jiyu at gmail dot com Ask for, or visit the http://tinyurl.com/5h4v8q to download.

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

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.