ABHIONLINUX
Site useful for linux administration and web hosting

2011/09/19

FFmpeg installation

Installing a52

wget http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
# tar -zxf a52dec-0.7.4.tar.gz
# cd a52dec-0.7.4
# ./configure --enable-shared=PKGS
# make
# make install



# wget http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/faac-1.28.tar.gz/download
# tar -xvzf faac-1.28.tar.gz
# ./bootstrap
#  ./configure
# make
# make install
# cd ..

installing  faad
 # wget http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.gz/download
 # tar -xvzf faad2-2.7.tar.gz
]#  autoreconf -vif
# ./configure --disable-drm --disable-mpeg4ip
# make
# make install

installing lame:
# wget http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download
# tar -xvzf lame-3.98.4.tar.gz
# ./configure
# make
# make install
intall yasm
# wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
# tar -xvzf yasm-1.1.0.tar.gz
]# ./configure
#make
# make install

x264
git clone git://git.videolan.org/x264.git
./configure --enable-shared --prefix=/usr
make
make install

xvidcore
wget http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
 tar -xvzf xvidcore-1.3.2.tar.gz
 cd build/generic/
./configure
make
make install


./configure
make
make install

libraw installation


wget http://sourceforge.net/projects/libraw1394/files/libraw1394/libraw1394-2.0.5.tar.gz/download
 tar -xvzf libraw1394-2.0.5.tar.gz
./configure 
make
make install

wget http://sourceforge.net/projects/libdc1394/files/libdc1394-2/2.1.2/libdc1394-2.1.2.tar.gz/download
./configure
make
make install


wget http://sourceforge.net/projects/opencore-amr/files/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz/download
./configure
make
make install

echo y | cp * /usr/local/lib/codecs/
 echo y | cp * /usr/local/lib64/codecs/

libogg
 wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz
./configure
make 
make install

libvorbis
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.gz
./configure
make
make install

wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
tar -xvzf libtheora-1.1.1.tar.gz
./configure
make
make isntall

export LD_LIBRARY_PATH=/usr/local/lib/
echo /usr/local/lib > /etc/ld.so.conf.d/custom-libs.conf

yum install dirac dirac-devel


./configure --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC






No comments:

Post a Comment