Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Cannot build XBMC-9999 for about 10 days already
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 9:00 am    Post subject: [SOLVED] Cannot build XBMC-9999 for about 10 days already Reply with quote

Hi!

Some time ago (several weeks or so) I was successful in emerging the xbmc-9999 package. But I had to completely reinstall the system and now it's not possible to emerge it.

xbmc-10.1 compiled ok, but even the after installing 10.1 I still cannot build 9999 and the error is in the same place

Here is a piece of log:

Code:

CPP     xbmc/guilib/JpegIO.o
CPP     xbmc/guilib/Key.o
CPP     xbmc/guilib/LocalizeStrings.o
CPP     xbmc/guilib/Shader.o
CPP     xbmc/guilib/Texture.o
CPP     xbmc/guilib/TextureBundleXPR.o
CPP     xbmc/guilib/TextureBundleXBT.o
CPP     xbmc/guilib/TextureBundle.o
CPP     xbmc/guilib/TextureManager.o
CPP     xbmc/guilib/VisibleEffect.o
CPP     xbmc/guilib/XBTF.o
CPP     xbmc/guilib/XBTFReader.o
CPP     xbmc/guilib/TextureGL.o
CPP     xbmc/guilib/GUIFontTTFGL.o
CPP     xbmc/guilib/GUITextureGL.o
AR      xbmc/guilib/guilib.a
emake failed
 * ERROR: media-tv/xbmc-9999 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *          ebuild.sh, line   91:  Called src_compile
 *        environment, line 5831:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  562:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.
 * The complete build log is located at '/tmp/portage/media-tv/xbmc-9999/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-tv/xbmc-9999/temp/environment'.
 * S: '/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'

>>> Failed to emerge media-tv/xbmc-9999, Log file:

>>>  '/tmp/portage/media-tv/xbmc-9999/temp/build.log'

 * Messages for package media-tv/xbmc-9999:

 * ERROR: media-tv/xbmc-9999 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *          ebuild.sh, line   91:  Called src_compile
 *        environment, line 5831:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  562:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =media-tv/xbmc-9999',
 * the complete build log and the output of 'emerge -pqv =media-tv/xbmc-9999'.
 * The complete build log is located at '/tmp/portage/media-tv/xbmc-9999/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-tv/xbmc-9999/temp/environment'.
 * S: '/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999'


emerge --info =media-tv/xbmc-9999:

Code:

Portage 2.1.10.32 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.1
Timestamp of tree: Sun, 30 Oct 2011 19:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo samba4
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://91.121.125.139/gentoo-distfiles/ rsync://212.219.56.133/www.ibiblio.org/gentoo/ rsync://212.219.56.134/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/samba4"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow aac acl acpi alsa amd64 audio bash-completion berkdb bzip2 celt cli cracklib crypt cups curl cxx dri dts encode ffmpeg flac fontforge fortran gdbm geoip gif gpm gssapi iconv jpeg jpeg2k kerberos lame ldap libedit matroska mmx modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pcre png pppd python quicktime raw readline sdl session smp sse sse2 ssl svg sysfs tcpd theora threads tiff unicode vaapi vdpau video vim-syntax vorbis wavpack x264 xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host actions alias auth_basic autoindex cgi deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif status vhost_alias proxy" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



emerge -pqv =media-tv/xbmc-9999:

Code:

[ebuild     U ] media-tv/xbmc-9999 [10.1] USE="airplay%* alsa bluray%* css projectm%* rsxs%* rtmp sse sse2 udev vaapi vdpau webserver xrandr (-altivec) -avahi -debug -goom% -joystick -midi -profile -pulseaudio -samba%"


xbmc in git is updated frequently and it doesn't fix my problem. I'm not sure if this is a xbmc-related problem or gentoo-specific.

Can anyone give a hint of the right direction to be able to build it?

Thanks!


Last edited by c0ba on Thu Nov 03, 2011 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5654

PostPosted: Mon Oct 31, 2011 11:07 am    Post subject: Reply with quote

Well, if you want help, post the actual error.
:roll:
Just pastebin the whole log.
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 12:00 pm    Post subject: Reply with quote

Hi!

ok, here is build.log (the part with error is already in the first message): http://pastebin.com/9ChN6Rmj

and here is environment file: http://pastebin.com/95ejwPsk

If you need any of the *.out files located in temp please let me know.

But I think it should be reproducable since I had this problem in a just-installed gentoo system, and after reinstaling the whole OS again. I also tried to emerge it with all USE flags being turned off and faced the same error.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5654

PostPosted: Mon Oct 31, 2011 1:20 pm    Post subject: Reply with quote

Code:
In static member function 'static void CxImagePNG::user_error_fn(png_struct*, const char*)':
ximapng.h:72:25: error: invalid use of incomplete type 'struct png_struct'

libpng-1.5 problem - media-tv/xbmc-10.1 has a patch for it, live ebuild does not.
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 1:23 pm    Post subject: Reply with quote

VoidMage wrote:

libpng-1.5 problem - media-tv/xbmc-10.1 has a patch for it, live ebuild does not.


Thanks! But what is the solution? Downgrade to libpng-1.4.8?
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Mon Oct 31, 2011 1:54 pm    Post subject: Reply with quote

c0ba wrote:
VoidMage wrote:

libpng-1.5 problem - media-tv/xbmc-10.1 has a patch for it, live ebuild does not.


Thanks! But what is the solution? Downgrade to libpng-1.4.8?


check this out: http://forums.funtoo.org/viewtopic.php?id=193

you can find it in gentoo too.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Oct 31, 2011 2:32 pm    Post subject: Reply with quote

Upstream XBMC problem. No idea why they haven't applied the fix yet.

See:

http://trac.xbmc.org/ticket/11977
http://trac.xbmc.org/ticket/12001
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 3:07 pm    Post subject: Reply with quote

How can I apply the patch from http://trac.xbmc.org/ticket/12001 before (while) emerging?

UPD: ouch! Sorry, DaggyStyle didn't notice your post. ;)
Back to top
View user's profile Send private message
jcTux
Apprentice
Apprentice


Joined: 29 Dec 2009
Posts: 276
Location: Tours, France

PostPosted: Mon Oct 31, 2011 7:17 pm    Post subject: Reply with quote

Thank you guys.
Finally i compiled successfully xbmc since libpng update.

I resume the steps I followed for those, like me, are not developer and are not always comfortable when it comes to patch a program.

Frome DaggyStyle post:
Code:
# mkdir -p /etc/portage/patches/media-tv/xbmc/

# cd /etc/portage/patches/media-tv/xbmc/


Download the patches:
Code:
wget http://trac.xbmc.org/raw-attachment/ticket/12001/xbmc-9999-headers.patch

wget http://trac.xbmc.org/raw-attachment/ticket/12001/xbmc-9999-libpng-1.5.patch


And it works.
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 7:51 pm    Post subject: Reply with quote

Yay!

I did a successful emerge as well. Thanks!
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Mon Oct 31, 2011 8:35 pm    Post subject: Reply with quote

It worked here too! Thanks! This is awesome.
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 10:51 pm    Post subject: Reply with quote

There is also a small problem with this installation (and I did face it in the previous successful install) - everything is played except Xvid mpeg4 files.

For xvid files a black screen kind of opened (partially, a black background is displayed) and there is sound - but no video.

Herу is the xbmc log in the moment of starting the playback:

Code:
01:56:44 T:140337402971968  NOTICE: DVDPlayer: Opening: /media/video/projektorperishilton.www.kvnforall.info(season4)/projektorperishilton.(106).www.kvnforall.info.avi
01:56:44 T:140337402971968 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
01:56:44 T:140336955418368  NOTICE: Creating InputStream
01:56:44 T:140336955418368  NOTICE: Creating Demuxer
01:56:44 T:140336955418368  NOTICE: Opening video stream: 0 source: 256
01:56:44 T:140336955418368  NOTICE: Creating video codec with codec id: 13
01:56:44 T:140336955418368  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2
01:56:44 T:140336955418368  NOTICE: Creating video thread
01:56:44 T:140336955418368  NOTICE: Opening audio stream: 1 source: 256
01:56:44 T:140336955418368  NOTICE: Finding audio codec for: 86017
01:56:44 T:140336934864640  NOTICE: running thread: video_thread
01:56:44 T:140336955418368  NOTICE: Creating audio thread
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 56008, consumed: 0
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640   ERROR: Previous line repeats 1 times.
01:56:44 T:140336934864640 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
01:56:44 T:140336910939904  NOTICE: running thread: CDVDPlayerAudio::Process()
01:56:44 T:140336910939904  NOTICE: Creating audio device with codec id: 86017, channels: 1, sample rate: 48000, no pass-through
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 29222, consumed: 5851
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 21567, consumed: 11779
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 30809, consumed: 7913
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 22527, consumed: 8280
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 26618, consumed: 7969
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5093, consumed: 6139
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 28080, consumed: 5093
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 8995, consumed: 7427
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 19590, consumed: 8995
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7369, consumed: 6051
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 27062, consumed: 7369
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5136, consumed: 4408
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18788, consumed: 5136
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5969, consumed: 4713
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 27188, consumed: 5969
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5187, consumed: 4229
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18014, consumed: 5187
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6272, consumed: 4796
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 26946, consumed: 6272
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4593, consumed: 5818
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 26991, consumed: 4593
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5968, consumed: 7378
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18986, consumed: 5968
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6433, consumed: 7400
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 27060, consumed: 6433
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6059, consumed: 6199
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18663, consumed: 6059
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7487, consumed: 5854
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 45211, consumed: 7487
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640   ERROR: Previous line repeats 1 times.
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7651, consumed: 6701
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18359, consumed: 7651
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5007, consumed: 6266
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 26393, consumed: 5007
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4200, consumed: 5555
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 25393, consumed: 4200
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6982, consumed: 7048
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 17074, consumed: 6982
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6196, consumed: 4367
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 24626, consumed: 6196
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5266, consumed: 4123
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 24012, consumed: 5266
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5075, consumed: 6050
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 16027, consumed: 5075
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5667, consumed: 5954
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 25294, consumed: 5667
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5439, consumed: 4633
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 25185, consumed: 5439
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5906, consumed: 7133
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 18415, consumed: 5906
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5630, consumed: 6595
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 27820, consumed: 5630
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5900, consumed: 5945
01:56:44 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 20958, consumed: 5900
01:56:44 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640   ERROR: Previous line repeats 2 times.
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 10730, consumed: 8527
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 35538, consumed: 10730
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7061, consumed: 8544
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 34497, consumed: 7061
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 8652, consumed: 10637
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 23311, consumed: 8652
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 9541, consumed: 9619
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 34553, consumed: 9541
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7514, consumed: 6198
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 23244, consumed: 7514
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 6886, consumed: 9371
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 33791, consumed: 6886
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7324, consumed: 8010
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 31373, consumed: 7324
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 8055, consumed: 6707
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 20229, consumed: 8055
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5859, consumed: 7675
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 30484, consumed: 5859
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5525, consumed: 5681
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 30086, consumed: 5525
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 7106, consumed: 6379
01:56:45 T:140336934864640 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 19572, consumed: 7106
01:56:45 T:140336934864640   ERROR: Decode - avcodec_decode_video returned failure
01:56:45 T:140336934864640   ERROR: Previous line repeats 2 times.


Does anyone know a solution to this?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Mon Oct 31, 2011 11:22 pm    Post subject: Reply with quote

I have the same problem here with videos encoded in mpeg4. I used this line in the mplayer output:
Code:
[lavf] stream 0: video (mpeg4), -vid 0

to determine if mpeg4 was used. Some of my .mp4 files are encode with h264 and they work fine.

Unless this is a pressing problem, you could wait a week or so and then rebuild.
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Mon Oct 31, 2011 11:38 pm    Post subject: Reply with quote

Seems like I've already waited for several weeks without luck =(. My previous successful build was more than 10 days ago. Since then nothing changed. I googled for some users having same problems in previous versions of ffmpeg. But my version is newer than the one that they had when their problem was solved. So currently no answer.
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Nov 02, 2011 12:08 pm    Post subject: Reply with quote

Count it as a workaround, but sometimes it helps to let xbmc-9999 compile with internal libraries (esp. libav vs. ffmpeg asynced stuff can cause troubles)

To do so, run:

Code:
sed -i '/--enable-external-libraries/d' /usr/portage/media-tv/xbmc/xbmc-9999.ebuild
ebuild $_ manifest
emerge xbmc

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Wed Nov 02, 2011 12:55 pm    Post subject: Reply with quote

gimpel wrote:
Count it as a workaround, but sometimes it helps to let xbmc-9999 compile with internal libraries (esp. libav vs. ffmpeg asynced stuff can cause troubles)

To do so, run:

Code:
sed -i '/--enable-external-libraries/d' /usr/portage/media-tv/xbmc/xbmc-9999.ebuild
ebuild $_ manifest
emerge xbmc


Thanks! But I've already tried this.
That leads to a very unstable xbmc.
And it didn't solve the problem with xvid playback previous time I tried it
Back to top
View user's profile Send private message
c0ba
n00b
n00b


Joined: 29 Sep 2011
Posts: 20

PostPosted: Thu Nov 10, 2011 7:51 pm    Post subject: Reply with quote

Ok, the xvid problem is solved by turning off VAAPI in XBMC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum