Linux
Lower
How to install FFMPEG
Keyword: Linux
FFmpeg
Finally installed, record the process
First install various Decoder
1. Lame
Lame-3.97.tar.gz
URL: http://sourceforge.net/project/showfiles.php? Group_id = 290 & package_id = 309
The installation method is as follows:
Java code
- Tar-zxvf lame-
3.97
.Tar.gz
- CD lame-3.97
- ./Configure -- enable-shared -- prefix =/usr
- Make
- Make install
tar -zxvf lame-3.97.tar.gzcd lame-3.97./configure --enable-shared --prefix=/usrmakemake install
2. libogg
Libogg-1.1.3.tar.gz
URL: http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
The installation method is as follows:
Java
Code
- ./Configure -- prefix =/usr
- Make
- Make install
./configure --prefix=/usrmakemake install
3. libvorbis
Libvorbis-1.1.2.tar.gz
URL: http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
The installation method is as follows:
Java
Code
- ./Configure -- prefix =/usr
- Make
- Make install
./configure --prefix=/usrmakemake install
4. XviD
Xvidcore-1.1.3.tar.gz
URL: http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz
The installation method is as follows:
Java
Code
- Tar zvxf xvidcore-
1.1
.
3
.Tar.gz
- CD xvidcore-1.1
.
3
/Build/generic
- ./Configure -- prefix =/usr
- Make
- Make install
tar zvxf xvidcore-1.1.3.tar.gzcd xvidcore-1.1.3/build/generic./configure --prefix=/usrmakemake install
5. x264
X264-snapshot-20071107-2245.tar.bz2
URL: http://www.videolan.org/developers/x264.html
Ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
The installation method is as follows:
Java code
- Bunzip2 x264-snapshot-
20070913
-
2245
.Tar.bz2
- Tar xvf x264-snapshot-20070913
-
2245
. Tar
- ./Configure -- prefix =/usr -- enable-shared
- Make
- Make install
bunzip2 x264-snapshot-20070913-2245.tar.bz2tar xvf x264-snapshot-20070913-2245.tar./configure --prefix=/usr --enable-sharedmakemake install
6. libdts
Libdts-0.0.2.tar.gz
[Url] http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz
[/Url]
Installation Method:
Java
Code
- Tar zxvf libdts-
0.0
.
2
.Tar.gz
- CD libdts-0.0
.
2
- ./Configure -- prefix =/usr
- Make
- Make install
tar zxvf libdts-0.0.2.tar.gzcd libdts-0.0.2./configure --prefix=/usrmakemake install
7. A52
A52dec-0.7.4.tar.gz
Http://liba52.sourceforge.net/downloads.html
Installation Method:
Java
Code
- ./Configure -- prefix =/usr
- Make
- Make install
./configure --prefix=/usrmakemake install
8. faad2
Faad2-2.6.1.tar.gz
Http://www.audiocoding.com/downloads.html
Installation Method
Java
Code
- Autoreconf-VIF
- ./Configure -- prefix =/usr -- with-mp4v2 -- enable-shared
- Make
- Make install
autoreconf -vif./configure --prefix=/usr --with-mp4v2 --enable-sharedmakemake install
9. faac
Faac-1.26.tar.gz
Http: // Linux
.Softpedia.com/progdownload/faac-download-554.html
Installation Method:
Java
Code
- Tar zxvf faac-
1.26
.Tar.gz
- CD faac
- ./Bootstrap
- ./Configure -- prefix =/usr
- Make
- Make install
tar zxvf faac-1.26.tar.gzcd faac./bootstrap./configure --prefix=/usrmake make install
10. Amr-Nb
Amrnb-6.1.0.4.tar.bz2
Http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2
Installation Method:
Java
Code
- ./Configure -- prefix =/usr
- Make
- Make install
./configure --prefix=/usrmakemake install
11. Amr-WB
Amrwb-7.0.0.1.tar.bz2
Http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.1.tar.bz2
Installation Method:
Java
Code
- ./Configure -- prefix =/usr
- Make
- Make install
./configure --prefix=/usrmakemake install
12. lib52
A52dec-0.7.4.tar.gz
Http://liba52.sourceforge.net/downloads.html
If the previous installation is successful, congratulations, you can install FFMPEG
Now
Install FFMPEG
Java
Code
- . /Configure -- prefix =/usr -- enable-GPL -- enable-shared -- enable-libmp3lame -- enable-libogg -- enable-libvorbis -- enable-libamr-Nb -- enable-libamr-WB -- enable-GPL- libxvid -- enable-libx264 -- enable-liba52 -- enable-liba52bin -- enable-libfaac -- enable-libfaad -- enable-libfaadbin -- enable-PP -- enable-pthreads -- disable-ffserver -- disable-ffplay
- Make
- Make install