Gentoo, xbmc is not realy working
#16
Cool. I wonder if this commit would avoid the need for texture.patch:
https://github.com/xbmc/xbmc/commit/fb1e...b0f5b56f76

The mp3 bug is caused by the artwork - it is being reported by ffmpeg as a video stream, but we stall waiting for more than one frame.
It was fixed here:
https://github.com/xbmc/xbmc/pull/2800

So, it is fixed on master, and it didn't occur on Frodo, as ffmpeg behaved differently. Seems your build has fallen between the two.

100% cpu? Depends what is happening. On the first run, xbmc spends quite a long time downloading plugin updates in the background, so tends to be busy for a while.
Normally on a gui screen where nothing is animating, or when playing not-too-hard video (e.g. 720p) it should drop down to somewhere between 20% and 50%.

But it can be worse with sub-optimal advancedsettings/guisettings. That's why people tend to use openelec/raspbmc/xbian, where settings have been tweaked.
Reply
#17
I make the changes from https://github.com/xbmc/xbmc/pull/2800 to omxplayer.cpp
But now I can't compile:
Code:
/var/tmp/portage/xbmc-12.2/lib/DllAvCodec.h:144:120: Warnung: »int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)« ist veraltet (deklariert bei /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
/var/tmp/portage/xbmc-12.2/lib/DllAvCodec.h:144:170: Warnung: »int avcodec_encode_audio(AVCodecContext*, uint8_t*, int, const short int*)« ist veraltet (deklariert bei /usr/include/libavcodec/avcodec.h:4209) [-Wdeprecated-declarations]
OMXPlayer.cpp: In Elementfunktion »virtual bool COMXPlayer::OpenVideoStream(int, int, bool)«:
OMXPlayer.cpp:3009:52: Fehler: »class CAdvancedSettings« hat kein Element namens »m_musicExtensions«
make: *** [OMXPlayer.o] Fehler 1

dsiggi
Reply
#18
(2013-08-06, 18:22)dsiggi Wrote: I make the changes from https://github.com/xbmc/xbmc/pull/2800 to omxplayer.cpp

Yes, the patch applies to master branch of xbmc. It may need adapting for Frodo branch.
Reply
#19
Okay,
so I tested it with xbmc master branche
Code:
git clone git://github.com/xbmc/xbmc.git
I make the steps, listet above, exlude the texture.patch and the omxplayer.patch.

But I cannot build Texturepacker
Code:
g++ -DTARGET_POSIX -DUSE_LZO_PACKING   md5.cpp SDL_anigif.cpp XBTFWriter.cpp XBMCTex.cpp /var/tmp/portage/xbmc/xbmc/guilib/XBTF.cpp -lSDL_image -lSDL -llzo2 -L/var/tmp/portage/xbmc/lib/libsquish -lsquish-native -Wl,-rpath=/lib -o TexturePacker
XBTFWriter.cpp:25:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
XBMCTex.cpp:38:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
make: *** [TexturePacker] Error 1

Okay, so I applyed the texture.patch without the lines
Code:
-DEFINES += -D_LINUX -DUSE_LZO_PACKING
+DEFINES       += -D_LINUX -DUSE_LZO_PACKING
ifneq ($(or $(findstring powerpc,@ARCH@),$(findstring ppc, @ARCH@)),)
-DEFINES += -DHOST_BIGENDIAN
+DEFINES       += -DHOST_BIGENDIAN

Now the TexturePacker is compiled.

So, the patch is really necessary.

And now all is working.
Thanks for your help!

dsiggi
Reply

Logout Mark Read Team Forum Stats Members Help
Gentoo, xbmc is not realy working0