[vdr] compiling the xine-1.2 with external ffmpeg

Jouni Karvo Jouni.Karvo at iki.fi
Wed Jan 21 21:37:09 CET 2009


hi,

I just compiled the hg xine-lib 1.2 with SVN ffmpeg.  In case someone is
interested in the same, these are the options required for xine-lib:

./autogen.sh --with-external-ffmpeg
CPPFLAGS="-I/usr/local/include/libavcodec
-I/usr/local/include/libavdevice -I/usr/local/include/libavformat
-I/usr/local/include/libavutil -I/usr/local/include/libpostproc
-I/usr/local/include/libyasm -I/usr/include"
FFMPEG_LIBS="-L/usr/local/lib -lavcodec -lavformat -lavdevice -lavutil -lz"

After this, a simple make + make install works.

To get xine-ui to compile, I needed to
* change the order of the lines starting datadir= and datarootdir= in
/usr/local/lib/pkgconfig/libxine.pc, and give
* give the pkgconfig-parameter: ./configure
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

...and again, then a simple make + make install will work.

Seems to work now - haven't tested H.264 yet, though.

yours,
       Jouni



More information about the vdr mailing list