INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

FFMPEG with libxvid libx264 and libfaac without root access

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
banon
Member


Joined: 02 Oct 2008
Location: Zimbabwe

Post Posted: Oct 04, 2008 03:52 Posts Comp View users profile Send private message Reply with quote

Hi.
I need some help in getting ffmpeg compiled with --enable-libxvid --enable-libfaac --enable-x264.
i ain't got root access on server, where i need to compile it, so i'm not able to install codecs in normal dir /usr/lib... or something.
it's kinda obvious that when trying to compile ffmpeg it can't find codecs in usual places.
how can i 'tell' ffmpeg to search for the libs in some place else?


disturbed1
Member


Joined: 22 Apr 2001
Location: init 4

Post Posted: Oct 06, 2008 06:19 Posts Comp View users profile Send private message Reply with quote

You want to compile and install your libs to a local directory, then export that direcoty with pkgconfig before running ./configure for ffmpeg. biggrin.gif

Example - for let's say lame.

./configure --prefix=/home/name/$FFMPEG-LIB-DIR
make
make install

or

./configure --prefix=/usr
make
make install DESTDIR=$FFMPEG-LIB-DIR


It will be trial and error for the above. I know for a fact x264 can get by with ./configure --prefix=/usr, then passing a destination variable to make install.

Then for ffmpeg -
PKG_CONFIG_PATH="$FFMPEG-LIB-DIR/usr/lib/pkgconfig" \
./configure --prefix=/$HOME \
--$YOUR-OTHER-OPTIONS


$FFMPEG-LIB-DIR is an actual directory you create. Any thing else with $ is just an arbitrary value specific to you.

You might want to jump on ffmpeg's IRC and ask the question there if you run into trouble with the above.
_________________
Linux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
DVDFab DVD to DVD and Blu-ray to Blu-ray offers a 20% discount until Nov 22, 2009. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics