LInux 下如何安裝ffmpeg

來源:互聯網
上載者:User
LInux


如何安裝ffmpeg

關鍵字: linux

ffmpeg

終於裝上了,把過程記錄一下

首先要安裝各種解碼器

1、lame

lame-3.97.tar.gz

Url:http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309

安裝方法如下:

Java代碼
  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

安裝方法如下:

Java
代碼
  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

安裝方法如下:

Java
代碼
  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

安裝方法如下:

Java
代碼
  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/

安裝方法如下:

Java代碼
  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]

安裝方法:

Java
代碼
  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

安裝方法:

Java
代碼
  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

安裝方法

Java
代碼
  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

安裝方法:

Java
代碼
  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

安裝方法:

Java
代碼
  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

安裝方法:

Java
代碼
  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

如果前面的安裝一切順利的話,恭喜你,可以安裝ffmpeg

安裝ffmpeg

Java
代碼
  1. ./configure --prefix=/usr --enable-gpl --enable-shared --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libamr-nb --enable-libamr-wb --enable-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 
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.