[MPlayer-users] How to compile now after extraincdir and extralibdir have been removed

John Doe jdmls at yahoo.com
Fri Apr 3 10:56:18 CEST 2009


From: Vijay Gill <vijay.s.gill at gmail.com>
> As the subject says I need to compile mplayer (latest svn). I have
> xvid, twolame and lame include and libraries in in say
> /somedir/include and /somedir/lib respectively.

After a lot of trial and errror... this seemed to work for me...

../configure --prefix=$PREFIX \
  --codecsdir=$CODECSDIR \
  --enable-mp3lame \
  --enable-mp3lame-lavc \
  --enable-twolame \
  --enable-theora \
  --enable-faac \
  --enable-faac-lavc \
  --enable-libamr_nb \
  --enable-libamr_wb \
  --enable-libdirac-lavc \
  --enable-x264 \
  --enable-x264-lavc \
  --enable-xvid \
  --enable-xvid-lavc \
  --disable-dvdnav \
  --disable-dvdread \
  --disable-dvdread-internal \
  --disable-libdvdcss-internal \
  --disable-fastmemcpy \
  --disable-lirc \
  --disable-lircc \
  --disable-dvb \
  --disable-tv \
  --disable-freetype \
  --disable-network \
  --disable-inet6 \
  --disable-ftp \
  --disable-vidix \
  --extra-libs="-lfaac -lx264 -lxvidcore -ldirac_decoder -ldirac_encoder -L$PREFIX/lib" \
  --extra-cflags="-I$PREFIX/include -I$PREFIX/include/dirac"

JD


      



More information about the MPlayer-users mailing list