FFmpeg installation procedure (Linux)

Source: Internet
Author: User

 

Software requirements:

Http://www.pudn.com/downloads324/sourcecode/multimedia/streaming/detail1430584.html

Http://www.pudn.com/downloads324/sourcecode/multimedia/streaming/detail1430582.html

Wget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz
Wget http://downloads.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090705-2245.tar.bz2
Wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.3.tar.bz2
Wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2
Wget http://nchc.dl.sourceforge.net/sourceforge/faac/faad2-2.7.tar.bz2
Wget http://nchc.dl.sourceforge.net/sourceforge/faac/faac-1.28.tar.bz2
Wget http://downloads.xvid.org/downloads/xvidcore-1.2.1.tar.gz
Wget http://debian.unnet.nl/pub/videolan/libdts/0.0.2/libdts-0.0.2.tar.gz


Http://down1.chinaunix.net/distfiles/libdts-0.0.2.tar.gz
Wget

Http://jaist.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz

WgetHttp://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz

FFmpeg

Http://download.chinaunix.net/download.php? Id = 5530 & resourceid = 2990

 

 

 

1. yasm
# Wget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz
# Tar-zxvf yasm-0.8.0.tar.gz | cd-
# Cd yasm-0.8.0
#./Configure
# Make & make install

2. H.264 code
# Wget http://downloads.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090705-2245.tar.bz2
# Tar-jxvf x264-snapshot-20090705-2245.tar.bz2
# Cd x264-snapshot-20090705-2245
#./Configure -- enable-shared -- prefix =/usr
# Make & make install // If the yasm version is too low, an error will be reported during compilation. This file must be supported by git. If configure cannot find the Lib path, it must be in/etc/lD. so. add/usr/local/lib to the conf file, and then execute ldconfig to make it take effect.

3. amrwb
# Wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.3.tar.bz2
# Tar-jxvf amrwb-7.0.0.3.tar.bz2
# Cd amrwb-7.0.0.3
#./Configure & make install

4. amrnb
# Wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2
# Tar-jxvf amrnb-7.0.0.2.tar.bz2
# Cd amrnb-7.0.0.2
#./Configure & make install

5. faad2
# Wget http://nchc.dl.sourceforge.net/sourceforge/faac/faad2-2.7.tar.bz2
# Cd faad2-2.7
#./Configure -- enable-shared
# Make & make install

6. faac
# Wget http://nchc.dl.sourceforge.net/sourceforge/faac/faac-1.28.tar.bz2
# Cd faac-1.28
#./Configure -- enable-shared -- with-mp4v2
# Make & make install

7. XviD (DivX)
# Wget http://downloads.xvid.org/downloads/xvidcore-1.2.1.tar.gz
# Tar-zxvf xvidcore-1.2.1.tar.gz
# Cd xvidcore/build/generic/
#./Configure
# Make & make install

8. libdts

Http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz

# Wget http://down1.chinaunix.net/distfiles/libdts-0.0.2.tar.gz

# Tar zxvf libdts-0.0.2.tar.gz
# Cd libdts-0.0.2
#./Configure -- enable-shared
# Make & make install

9. Lame (mp3encoder)
# Wget http://jaist.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
# Tar zxvf lame-398-2.tar.gz
# Cd lame-398-2
#./Configure -- enable-shared
# Make & make install

10.A52

# WgetHttp://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz

# Tar zxvfA52dec-0.7.4.tar.gz

# CdA52dec-0.7.4

#./Configure -- enable-shared
# Make & make install

11. FFMPEG
# SVN checkout SVN: // svn.ffmpeg.org/ffmpeg/trunk FFMPEG

Or

Http://download.chinaunix.net/download.php? Id = 25235 & resourceid = 2990

 

# Tar jxvf ffmpeg-0.5.tar.bz2

# Cd ffmpeg-0.5

#./Configure -- prefix =/opt/FFMPEG -- enable-shared -- enable-GPL -- enable-pthreads

# Make clean
# Make & 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.