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
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
/usr/src/xine-lib-1.2# ./configure --help | grep ffmpeg /usr/src/xine-lib-1.2#
no need to use now --with-external-ffmpeg option for hg xine-lib 1.2
Goga
Goga777 kirjoitti:
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
/usr/src/xine-lib-1.2# ./configure --help | grep ffmpeg /usr/src/xine-lib-1.2#
no need to use now --with-external-ffmpeg option for hg xine-lib 1.2
Good to know. The include and linking parameters for autogen.sh solved the compilation problems, and were probably my main message, though. xine-lib 1.2 hg is (I guess) compatible with an older version of ffmpeg than the repository one.
yours, Jouni