The complete process of compiling ffmpeg on Windows, including compiling x264, SDL, FAAC. Compile ffmpeg on Windows need to use Mingw+msys, this topic is used to record the compilation process encountered various problems and solutions, reproduced please specify the source:First, download preparation
Prepare the necessary tools and source code for the compilation process.
(1). MinGW Http://sourceforge.net/projects/mingw/files/MS
About FAACFAAC is a MPEG-4 and MPEG-2 AAC encoder, characterized by: portability, fast, support LC/MAIN/LTP, through dream support DRM, code small relative to the ffmpeg of the AAC transcoding, FAAC is really very little, And you can directly add code to the project to compile, you can also use the static library, and no huge dynamic library of the trouble.Download installation
Compile the static library for use by our program directly as sho
My program was changed based on the faac example in the frontend directory in the faac 1.28 library.
The following is the procedure of running the program:
First, call faacenchandle hencoder = faacencopen (samplerate, channels, samplesinput,
Maxbytesoutput );
1.Open the AAC encoding engine and create an AAC encoding handle.
The samplerate parameter is the sampling rate of the audio PCM stream to be encode
FAAC Coding Code FlowchartA general block diagram of the AAC coding system (stolen pictures)The comparison can be found, in fact, FAAC encoding and general AAC coding is roughly the same, mainly including the psychological acoustics model processing part and quantization processing two parts, also includes some optimization process. Implementation of the source + comment:int Faacapi Faacencencode (faacencha
For some reason you need to come again, start with my fedora. Everything when you're ready to download it. x264 is mainly for coding purposes. Decoder Libavcodec basically support the
preparatory work:
Yum Install yasm//installation yasm has enabled x264 to use--ENABLE-ASM options to optimize x86 and arm compilation Yum install gcc//install the basic compiled packages so that the Yum will automatically help you put those libstdc ... Wait a whole bunch of them. Yum Install FreeType//mplayer Ass
Description
You are given a sequence A1, A2, ..., an consisting of different integers. It is required to split this sequence into the maximum number of subsequences such, after sorting integers in each of them in increasing order, the total
Audio codec and real-combat article (1) PCM go to AAC (AAC encoding)Author: Liu · Poechant Blog: blog.csdn.net/poechant e-mail: zhongchao.ustc@gmail.com Date: April 7th, 2012
This uses FAAC to implement AAC encoding. 1 Download and install FAAC
The installation process here is implemented on MAC and Linux, and windows can be similar to the reference.
wget http://downloads.sourceforge.net/
This uses FAAC to implement AAC encoding. In addition, the data segment of WAV is PCM, the code will appear many PCM abbreviations. 1 Download and install FAAC
The installation process here is implemented on MAC and Linux, and windows can be similar to the reference.
wget http://downloads.sourceforge.net/faac/faac-1.28
to avoid error:libmp3lame >= 3.98.3 not found error in the third step, and need to install lame in advance.))#tar XZVF lame-3.98.4.tar.gz#cd lame-3.98.4#./configure--enable-nasm#make#make Install#cd:++++++++libogg+++++++++++#wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz#tar XZVF libogg-1.3.0.tar.gz#cd libogg-1.3.0#./configure#make#make Install#cd:++++++++libvorbis+++++++++++#wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz#tar XZVF libvorbis-1.3.3.tar.gz#c
-1.2.0#./Configure# Make# Make install# Cd ..++ X264 ++# Git clone git: // git.videolan.org/x264# Cd x264#./Configure -- enable-shared# Make# Make install# Cd ..
++ LAME ++# Wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz# Tar xzvf lame-3.99.5.tar.gz# Cd lame-3.99.5#./Configure -- enable-nasm# Make# Make install# Cd ..++ Libogg ++# Wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz# Tar xzvf libogg-1.3.0.tar.gz# Cd libogg-1.3.0#./Configure# Make# Make
and its dependent packages:1). Yasm# Wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz# Tar xzvf yasm-1.2.0.tar.gz# Cd yasm-1.2.0#./Configure# Make# Make install# Cd ..2). x264# Git clone git: // git.videolan.org/x264# Cd x264#./Configure -- enable-shared# Make# Make install# Cd ..3). LAME# Wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz# Tar xzvf lame-3.99.5.tar.gz# Cd lame-3.99.5#./Configure -- enable-nasm# Make# Make install# Cd ..4). libogg
be installed with Yum, as much as possible with Yum to install, no more wget to obtain.#wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz#tar XZVF yasm-1.2.0.tar.gz#cd yasm-1.2.0#./configure#make#make Install#cd:#git Clone git://git.videolan.org/x264#cd x264#./configure--enable-shared#make#make Install#cd:#wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz#tar XZVF lame-3.99.5.tar.gz#cd lame-3.99.5#./configure--enable-nasm#make#make Install#cd:#yu
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.