FFMPEG INSTALLATION FROM SOURCE Print E-mail
Written by Administrator   
Saturday, 16 December 2006
Requiements packages:
libffac
libffad2
xvid
libogg,libvorbis
mp3lame
ffmpeg

Setting Up Install Folder, Logging and download Packages
1)Log into ssh
2) cd /usr/src && mkdir install && cd install
3) Download faad2 and faac
from http://faac.sourceforge.net/oldsite/download.php get Faad2 and faac (new versions)

wget http://prdownloads.sourceforge.net/faac/faad2-2.0.tar.gz?download
wget http://prdownloads.sourceforge.net/faac/faac-1.24.tar.gz?download

4) Verify that you have these components are installed
rpm -qa automake
rpm -qa autoconf
rpm -qa libtool
rpm -qa m4
rpm -qa gcc-c++

If any are missing than simply yum install (packagename), if you dont have a package manager than get one, it will save you alot of time
and headaches.

Installing Faac
5)tar -zxvf faac-1.24.tar.gz && cd faac
6) sh bootstrap
7) ./configure
8) make
9) make install
10) cd ..

Installing Faad2
11) tar -zxvf faad2-2.0.tar.gz
12) cd faad2 && less README.linux
13) There is 2 bugs with this package, so need to manually edit these files
14) nano Makefile.am
Edit the file to look like this
SUBDIRS = libfaad common frontend plugins
EXTRA_DIST = faad2.spec

15) cd common/mp4ff && nano mp4ffint.h
16) Comment out this line
//void mp4ff_track_add(mp4ff_t *f);

17) cd ../
18)autoreconf -vif
19) ./configure
20) make
21) make install

Installing Libogg and Libvorbis
22)Check to see if libogg and libvorbs
rpm -qa libogg-devel
rpm -qa libvorbis-devel

If not installed then simply Package Install (replace yum and install settings with your package manager)
yum install libogg-devel
yum install libvorbis-devel

Installing LAME (for audio)
23)go into lame sourceforge - http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309
24)wget http://mesh.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
25)tar -zxvf lame-3.97.tar.gz
26)cd lame*
27) ./configure; make install

Installing Xvid
28) cd .. && wget http://downloads.xvid.org/downloads/xvidcore-1.1.2.tar.gz
29) cd xvid*/build/generic/
30) ./configure; make; make install;
31) ./configure && make && make install;
32) cd ../../..

Installing ffmpeg
33) rpm -q subversion If not install, then install subversion
34) svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
35) ./configure --prefix=/usr/src/install/ffmpeg --enable-shared --enable-xvid --enable-vorbis --enable-libogg --enable-mp3lame --enable-gpl --enable-faad --enable-faac --enable-a52

36)Check to see if /usr/local/lib exists on this file
cat /etc/ld.so.conf

If not
echo /usr/local/lib >>/etc/ld.so.conf

37) nano/etc/ld.so.conf (leave only /usr/local/lib if others exist)
38) save file
39) ldconfig


Add as favourites (65) | Quote this article on your site | Views: 886

Be first to comment this article
RSS comments

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Personal verbal attacks will be deleted.
  • Please don't use comments to plug your web site. Such material will be removed.
  • Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
  • Keep in mind that the above process only applies if you simply entered the wrong security code.
Name:
E-mail
Homepage
Title:
BBCode:Web AddressEmail AddressLoad Image from WebBold TextItalic TextUnderlined TextQuoteCodeOpen ListList ItemClose List
Comment:



Code:* Code
I wish to be contacted by email regarding additional comments

Powered by AkoComment Tweaked Special Edition v.1.4.5

 
< Prev   Next >
Main Menu
Home
Our Services
Contact Us
Search
News Feeds
Our offers
Linux Tutorials
Affiliate program
Links
CarTube.co.cc
PetTube.co.cc
Slick RSS
GetAFreelancer.com New Projects
Latest projects published at GetAFreelancer.com
ScriptLance Projects
The newest projects posted on ScriptLance.
Google AdSense
Last comments
Howto install memcached, setup...
Thanks! :)
08/05/08 09:38 More...
By Jupp

Howto install memcached, setup...
wery good site
26/01/08 12:18 More...
By u26stycznia2008

Script installation Services
Comment 13 2008
Helo1l, great site!
13/10/07 10:10 More...
By John 200809

Visitors Counter
73803 Visitors
Joomla Template by Joomlashack
components joomla modules Joomla Templates Joomla tutorials