2009-08-15, 21:09
EricV Wrote:I use 5:0.5+svn20090720-0.0 that is a kind of wrapper for all libraries:
Depends: libavcodec52 (>= 5:0.5+svn20090720), libavdevice52 (>= 5:0.5+svn20090720), libavfilter0 (>= 5:0.5+svn20090720), libavformat52 (>= 5:0.5+svn20090720), libavutil50 (>= 5:0.5+svn20090720), libc6 (>= 2.7), libpostproc51 (>= 5:0.5+svn20090720), libsdl1.2debian (>= 1.2.10-1), libswscale0 (>= 5:0.5+svn20090720)
Suggests: nvidia-libvdpau1
As far as your statement goes regarding /usr/include/ffmpeg you are just wrong (or you mean a .h directly under ffmpeg?). If I use the development files from one of the libraries mentionned above here is what I get:
dpkg -L libavcodec-dev
/.
/usr
/usr/include
/usr/include/ffmpeg
/usr/include/ffmpeg/libavcodec
/usr/include/ffmpeg/libavcodec/opt.h
/usr/include/ffmpeg/libavcodec/vdpau.h
/usr/include/ffmpeg/libavcodec/xvmc.h
/usr/include/ffmpeg/libavcodec/avcodec.h
/usr/include/ffmpeg/libavcodec/dca.h
/usr/lib
/usr/lib/libavcodec.a
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libavcodec.pc
/usr/share
/usr/share/doc
/usr/share/doc/libavcodec-dev
/usr/share/doc/libavcodec-dev/changelog.Debian.gz
/usr/share/doc/libavcodec-dev/changelog.gz
/usr/share/doc/libavcodec-dev/copyright
/usr/lib/libavcodec.so
So even If I have theses headers installed, the configure script does not find them unless I add CPPFLAG=-I/usr/include/ffmpeg
Concerning audioconvert.h, you missed my point that was that DDL* files located in XBMC/xbmc/cores/ffmpeg includes this file and, in order to manage to do this, the preprocessor must have a search path to XBMC/xbmc/cores/ffmpeg that also contains modified ffmpeg headers. As such you have no guaranty to use the external package header file.
So my point is ffmpeg cannot be used as an external library untils this mess is resolved. End of the story.
If you have the resources to maintain your fork yourself no problem but I saw that this was not the preferred path.
Is there really any need for this ranting? I recommend you investigate this issue further before you make your next post.
There is no ffmpeg 5:0.5+svn20090720 in the Debian archive at all. For the Debian multimedia team's git repo that's used to package ffmpeg, the latest version is 4:0.5+svn20090706-1. You can see all this for yourself at packages.qa.debian.org/ffmpeg-debian.
Judging by this, you are probably using the ffmpeg packages from Marillat of debian-multimedia.org. The Debian multimedia team which maintains ffmpeg for Debian has nothing to do with Marillat or debian-multimedia.org for these kind of reasons and others.
FYI, current FFmpeg SVN doesn't even install headers in /usr/include/ffmpeg. They are installed in $(INCDIR)/lib$(NAME). See for yourself (hint: look at subdir.mak:19 of their current SVN HEAD). This is obviously a change Marillat introduced. There are also other changes Marillat has made to his fork of ffmpeg.
Just so you know, I'm using Debian unstable right now and have built XBMC successfully with the debian dir in XBMC SVN using pbuilder (i.e. a clean chroot environment). Like I said already, the ffmpeg packages in Debian are built from the sources that are tracked in the '0.5' branch of ffmpeg. I am also running XBMC in Debian unstable with no issues.