Install FFMPEG in Linux

Source: Internet
Author: User
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
  1. Tar-zxvf lame-
    3.97
    .Tar.gz
  2. CD lame-3.97

  3. ./Configure -- enable-shared -- prefix =/usr
  4. Make
  5. 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
  1. ./Configure -- prefix =/usr
  2. Make
  3. 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
  1. ./Configure -- prefix =/usr
  2. Make
  3. 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
  1. Tar zvxf xvidcore-
    1.1
    .
    3
    .Tar.gz
  2. CD xvidcore-1.1
    .
    3
    /Build/generic
  3. ./Configure -- prefix =/usr
  4. Make
  5. 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
  1. Bunzip2 x264-snapshot-
    20070913
    -
    2245
    .Tar.bz2
  2. Tar xvf x264-snapshot-20070913
    -
    2245
    . Tar
  3. ./Configure -- prefix =/usr -- enable-shared
  4. Make
  5. 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
  1. Tar zxvf libdts-
    0.0
    .
    2
    .Tar.gz
  2. CD libdts-0.0
    .
    2

  3. ./Configure -- prefix =/usr
  4. Make
  5. 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
  1. ./Configure -- prefix =/usr
  2. Make
  3. Make install
./configure --prefix=/usrmakemake install

8. faad2

Faad2-2.6.1.tar.gz

Http://www.audiocoding.com/downloads.html

Installation Method

Java
Code
  1. Autoreconf-VIF
  2. ./Configure -- prefix =/usr -- with-mp4v2 -- enable-shared
  3. Make
  4. 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
  1. Tar zxvf faac-
    1.26
    .Tar.gz
  2. CD faac
  3. ./Bootstrap
  4. ./Configure -- prefix =/usr
  5. Make
  6. 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
  1. ./Configure -- prefix =/usr
  2. Make
  3. 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
  1. ./Configure -- prefix =/usr
  2. Make
  3. 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
  1. . /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
  2. Make
  3. Make install

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.