Social Networking Software

How to install FFMPEG
Published August 20, 2008 by Antonio


Installing FFMPEG and rmovie in linux





You must download the FFMPEG source code from this trunk ("svn://svn.mplayerhq.hu/ffmpeg/trunk") using SVN.



if you already has SVN installed, write this code to your terminal:




$ svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg




Compile your application with this option:




$./configure --prefix=/usr/local --enable-libvorbis --enable-pthreads --extra-cflags=-Wall --enable-gpl --enable-libmp3lame --enable-shared




Note: you can add more options ex. --enable-libtheora, --enable-libogg , etc..




$ make


$ make install


$ make check





Installing FFMPEG requires that you install different libraries first for a best performance and more variety of code and decoding functions.
The only library that is required for RawConnect Open Social is lame-3.9b6 but we recommend to install a few libraries more for a better performance.
This is the list of the libraries that you will have to compile and install.





lame-3.9b6

liba52

libvorvis

libtheora

libogg

libfaad

libfaac






The Next Step will be Copying some libraries and creating some links:




$ ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50

$ ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51

$ ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49

$ ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0

$ ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51






Edit this file /etc/ld.so.conf and include this
/usr/local/lib



write this code from your terminal


$ ldconfig -v






After installing FFMPEG and creating the links and paths you should be able to install rmovie
write this code from your terminal



$ gem install rmovie








0 Comments | 105 Views
Tags: FFMPEG Video
This article was edited on January 5, 2009
Gallery_icon_com Post Comment
Login
Email
Password
Home| Photos| Forums| Videos| Groups| Profiles| About Us| Terms of Use| Contact|
Copyright 2008 rawconnect.com is Powered by RAW Connect Open Source Community Software .
Start your own social network by downloading RAW Connect today