XBMC fails to compile with external ffmpeg due to missing vdpau support
#1
Hi there,

today I tried to compile xbmc-pvr but it fails in configure section:

OS: Gentoo 64bit
XBMC version: xbmc-pvr 11.0_p57 (with Eden support)
ffmpeg: 0.9

Code:
configure: == AVPacket and relevant functions defined in libavcodec. ==
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavfilter/avfilter.h usability... yes
checking libavfilter/avfilter.h presence... yes
checking for libavfilter/avfilter.h... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking libpostproc/postprocess.h usability... yes
checking libpostproc/postprocess.h presence... yes
checking for libpostproc/postprocess.h... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking libavcore/avcore.h usability... no
checking libavcore/avcore.h presence... no
checking for libavcore/avcore.h... no
checking libavcore/samplefmt.h usability... no
checking libavcore/samplefmt.h presence... no
checking for libavcore/samplefmt.h... no
checking libavutil/mem.h usability... yes
checking libavutil/mem.h presence... yes
checking for libavutil/mem.h... yes
checking libavutil/samplefmt.h usability... yes
checking libavutil/samplefmt.h presence... yes
checking for libavutil/samplefmt.h... yes
checking libavutil/opt.h usability... yes
checking libavutil/opt.h presence... yes
checking for libavutil/opt.h... yes
checking libswscale/rgb2rgb.h usability... no
checking libswscale/rgb2rgb.h presence... no
checking for libswscale/rgb2rgb.h... no
checking ffmpeg/rgb2rgb.h usability... no
checking ffmpeg/rgb2rgb.h presence... no
checking for ffmpeg/rgb2rgb.h... no
checking for AVFilterBufferRefVideoProps.sample_aspect_ratio... yes
configure: == Use of external ffmpeg enabled. ==
checking for ff_vdpau_vc1_decode_picture in -lavcodec... no
configure: error: == External ffmpeg doesn't support VDPAU. VDPAU support disabled. ==

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-tv/xbmc-11.0_p57/work/opdenkamp-xbmc-d967ec3/config.log

Of course I need vdpau (Atom ION system). I didn't change anything in the configuration and at least xbmc-11.0_p56 worked without any complains (but probably with an older ffmpeg version).

Is that issue related to XBMC or to ffmpeg? What's the trick to resolve it?
Reply
#2
I recommend to use internal ffmeg. I don't see any advantage in using a different version.
Reply
#3
Thx. I thought in using the internal version too. But there's no USE-Flag on the Gentoo-Ebuild to disable the usage of the external ffmpeg-lib.

Nevertheless I just had to downgrade ffmpeg to version 0.87. The it compiled fine.
Reply
#4
Does --disable-external-ffmpeg not work as an argument for configure?

Note that XBMC has patches to ffmpeg which you may not have on the external version.
Reply
#5
musv Wrote:Thx. I thought in using the internal version too. But there's no USE-Flag on the Gentoo-Ebuild to disable the usage of the external ffmpeg-lib.

Nevertheless I just had to downgrade ffmpeg to version 0.87. The it compiled fine.

you probably have to edit the ebuild. I don't know why gentoo prefers to use external ffmpeg.
Reply
#6
Where do you get xbmc-pvr ebuild? I want to rebuild my htpc and migrate to gentoo.
Thnks
Reply
#7
@musv: don't edit the ebuild. use:
Code:
EXTRA_ECONF="--disable-external-ffmpeg" emerge xbmc
Reply
#8
jiojio74 Wrote:Where do you get xbmc-pvr ebuild? I want to rebuild my htpc and migrate to gentoo.
Thnks

https://bugs.gentoo.org/show_bug.cgi?id=365511

Rename xbmc-11.0_p50_pre.ebuild into xbmc-11.0_p57.ebuild

external vs. internal ffmpeg version: With the older version it works until now. Maybe I'll try it next time. Which special patches does XBMC use for ffmpeg?
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC fails to compile with external ffmpeg due to missing vdpau support0