VideoHelp.com Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date: Oct 2008
    Location: Zimbabwe
    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?
    Quote Quote  

  2. Get Slack disturbed1's Avatar
    Join Date: Apr 2001
    Location: init 4
    You want to compile and install your libs to a local directory, then export that direcoty with pkgconfig before running ./configure for ffmpeg.

    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.
    Quote Quote  




Similar Threads

  1. Replies: 1
    Last Post: 23rd Feb 2012, 12:10
  2. libfaac encoding with ffmpeg
    By chicken264 in forum Video Conversion
    Replies: 30
    Last Post: 21st Dec 2011, 06:00
  3. FFmpeg Win64 static trunk build with libfaac request
    By astrosyn in forum Video Conversion
    Replies: 0
    Last Post: 14th Jan 2011, 16:37
  4. [FFmpeg] libxvid - Invalid aspect ratio
    By Klagar in forum Video Conversion
    Replies: 4
    Last Post: 26th Nov 2010, 16:52
  5. ffmpeg with libx264
    By alfmarius in forum Video Conversion
    Replies: 2
    Last Post: 7th Apr 2010, 11:10
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools