compiling problems with external ffmpeg (10bit) on latest xbmc build
#1
Hello there,

i tried to compile 10bit support @ fedora core 14 64bit like in the wiki described. (http://wiki.xbmc.org/index.php?title=HOW...nux_CentOS and here http://wiki.xbmc.org/index.php?title=Hi1...back#Linux) All libraries required are already installed over that supplied script.
I tried every combination so far but no luck with ffmpeg 0.7.11 0.8.10, 0.9.1.
Also tried to search forum no luck on that part "http://forum.xbmc.org/showthread.php?tid=100601"
i am using intel i3 with integrated graphics and onboard sound.

sources tested so far:
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
git clone git://git.videolan.org/ffmpeg.git ffmpeg-alternative
git clone git://github.com/xbmc/xbmc.git eden
got clone git://github.com/elupus/xbmc.git eden-alternative


./configure --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC --enable-vdpau

./configure --prefix=/usr --enable-external-ffmpeg

when i try to compile with external ffmpeg i get the following errors:

make[1]: Leaving directory `/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/addons'
make -C xbmc/cores/playercorefactory
make[1]: Entering directory `/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/playercorefactory'
CPP PlayerCoreFactory.o
In file included from /root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvCore.h:28:0,
from /root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvCodec.h:27,
from /root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodec.h:31,
from /root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/paplayer/DVDPlayerCodec.h:28,
from PlayerCoreFactory.cpp:27:
/root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvUtil.h: In member function âvirtual int DllAvUtilBase::av_set_string3(void*, const char*, const char*, int, const AVOption**)â:
/root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvUtil.h:122:121: error: â::av_set_string3â has not been declared
/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/guilib/GraphicContext.h: At global scope:
/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/guilib/GraphicContext.h:245:150: warning: âg_graphicsContextâ defined but not used
make[1]: *** [PlayerCoreFactory.o] Error 1
make[1]: Leaving directory `/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/playercorefactory'
make: *** [xbmc/cores/playercorefactory/playercorefactory.a] Error 2


when i comment that part out compile continues and stops on the following

In file included from /usr/local/include/libavfilter/avfiltergraph.h:25:0,
from /root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvFilter.h:45,
from /root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:30,
from /root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:25,
from LinuxRendererGL.cpp:47:
/usr/local/include/libavfilter/avfilter.h:130:10: error: use of enum âAVPictureTypeâ without previous declaration
In file included from /root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:25:0,
from LinuxRendererGL.cpp:47:
/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:101:13: error: cannot declare field âCDVDVideoCodecFFmpeg::m_dllAvUtilâ to be of abstract type âDllAvUtilâ
/root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvUtil.h:199:1: note: because the following virtual functions are pure within âDllAvUtilâ:
/root/ffmpeg_xbmc_040850-14012012/eden/lib/DllAvUtil.h:92:15: note: virtual int DllAvUtilInterface::av_set_string3(void*, const char*, const char*, int, const AVOption**)
/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/utils/CharsetConverter.h:83:157: warning: âg_charsetConverterâ defined but not used
make[1]: *** [LinuxRendererGL.o] Error 1
make[1]: Leaving directory `/root/ffmpeg_xbmc_040850-14012012/eden/xbmc/cores/VideoRenderers'
make: *** [xbmc/cores/VideoRenderers/VideoRenderer.a] Error 2

in the end when i try to fix all problems the linker wont put them together.

seems like some deprecated stuff that is still being used by xbmc.
when i google it says: vcodec: use av_opt_set() instead of deprecated av_set_string3()
Any idea how to fix that issue? i cant be the only one who want 10bit working a fedora system Smile isnt there any precompiled rpm for fedora/redhat with 10bit support?

when i try wget http://mirrors.xbmc.org/releases/source/...0.1.tar.gz with external ffmpeg its compiling and starting but i still see the artefacts on 10bit video even on softdecoder :/

regards

Anhi
Reply
#2
try installing ffmpeg to /usr instead. No issues for me compiling against ffmpeg 0.9.1. also be sure you have a very fresh pull from git://github.com/xbmc/xbmc.git as there was a recent commit that forces software rendering for hi10p formats.
kodi from https://github.com/eternalsword/xbmc/tree/delta, transparency 7.1.5, funtoo kernel 3.18.0
Reply

Logout Mark Read Team Forum Stats Members Help
compiling problems with external ffmpeg (10bit) on latest xbmc build0