Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235562 - media-libs/xine-lib-1.1.15-r1 doesn't play xvid anymore
Summary: media-libs/xine-lib-1.1.15-r1 doesn't play xvid anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-23 19:18 UTC by Mark Nowiasz
Modified: 2008-08-29 06:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2008-08-23 19:18:43 UTC
After upgrading to media-libs/xine-lib-1.1.15-r1, xine (either using kaffeine or using xine-gui) doesn't play xvid anymore.

Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/xine-lib-1.1.15-r1
2. xine xvid-video
3. 

Actual Results:  
The stream <filename> uses an unsupported codec:

Video Codec: XviD (XVID)


emerge --info
Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Sat, 23 Aug 2008 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acli acpi ada aim alsa amd64 apm arts audiofile bash-completion berkdb bluetooth bzip2 cairo calendar cdb cddb cdparanoia cdr clamav cli cracklib crypt css ctype cups dbus dri dv dvb dvd dvdr dvdread emacs encode exif expat fam ffmpeg flac fontconfig fortran ftp gdbm gif gimp glut gnuplot gphoto2 gpm gps graphviz hal iconv icq imagemagick innodb ipv6 irc isdnlog jabber java java6 joystick jpeg jpeg2k kde lame latex lcms libnotify libwww lm_sensors logitech-mouse loop-aes maildir man mhash midi mime mmap mmx mng mp3 mpeg mplay msn mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntpl offensive ogg openexr opengl openmp pam pcre pda pdf perl png pppd python qt3 qt4 readline reflection rss scanner sdl session sox spl sqlite sse sse2 ssl startup-notification subversion suid svg sysfs syslog taglib tcpd themes theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack wmf x264 xattr xine xml xorg xosd xpn xscreensaver xulrunner xv xvid yahoo 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Wormo (RETIRED) gentoo-dev 2008-08-23 23:39:09 UTC
Could you try a quick check to make sure it's not a xine config problem -- move ~/.xine directory aside and try again?
Comment 2 Mark Nowiasz 2008-08-24 08:02:58 UTC
(In reply to comment #1)
> Could you try a quick check to make sure it's not a xine config problem -- move
> ~/.xine directory aside and try again?

I did *exactly* this before posting the bug :-) Doesn't work at all - even with a freshly created .xine directory the bug occurs.

BTW, mplayer works - so this shouldn't be transcode (or any other library) problem.

Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 00:18:51 UTC
Which version of media-libs/xvid do you have?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 00:24:09 UTC
And which version of media-video/ffmpeg?
Comment 5 Mark Nowiasz 2008-08-25 04:13:23 UTC
(In reply to comment #4)
> And which version of media-video/ffmpeg?

media-libs/xvid-1.1.3-r3 
fmpeg-0.4.9_p20080326


Comment 6 Mario Fetka (geos_one) 2008-08-25 07:47:51 UTC
i also have the same problem 
Comment 7 Alexis Ballier gentoo-dev 2008-08-25 08:12:35 UTC
whats the output of:
xine --list-plugins
?
does it fail aswell with 1.1.15 (no -r1) ?
Comment 8 Alexis Ballier gentoo-dev 2008-08-25 10:44:45 UTC
also try running revdep-rebuild or emerge @preserved-rebuild, your ffmpeg library might be broken
Comment 9 Mark Nowiasz 2008-08-25 15:01:17 UTC
(In reply to comment #7)
> whats the output of:
> xine --list-plugins
> ?

This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.

 Available xine's plugins:
   -Audio output:
     alsa, arts, file, none.

   -Video output:
     xv, raw, opengl, xshm, none, sdl.

   -Demuxer:
     anx, image, matroska, mpeg-ts, quicktime, flashvideo, asf, pva, aud, aiff,
     flac, nsf, realaudio, snd, tta, voc, vox, mod, mpeg_block, mpeg_pes, avi,
     slave, real, fli, wve, idcin, ipmovie, vqa, wc3movie, roq, str, film,
     smjpeg, fourxm, vmd, yuv4mpeg2, ogg, nsv, mng, iff, mpeg, ac3, dts, cdda,
     wav, mpc, rawdv, mp3, shn, elem, wavpack, yuv_frames, sputext, aac.

   -Input:
     v4l_tv, v4l_radio, FILE, rtp, mms, pnm, stdin, VCDO, http, DVB, VCD, pvr,
     CD, DVD, rtsp, tcp.

   -Subpicture:
     spudec, sputext, spudvb, spucc, spucmml.

   -Post processing:
     oscope, goom, expand, fill, invert, eq, denoise3d, boxblur, eq2, unsharp,
     pp, noise, upmix, upmix_mono, stretch, volnorm, switch, tvtime, mosaico,
     fftscope, fftgraph.

   -Audio decoder:
     gsm610, mad, wavpackdec, vorbis, nsf, mpc, dvaudio, a/52, flacdec, pcm,
     dts, faad.

   -Video decoder:
     mpeg2, image, theora, yuv, rgb, bitplane.

> does it fail aswell with 1.1.15 (no -r1) ?

yes indeed :-(



Comment 10 Mark Nowiasz 2008-08-25 15:03:34 UTC
(In reply to comment #8)
> also try running revdep-rebuild or emerge @preserved-rebuild, your ffmpeg
> library might be broken

revdep-rebuild: * Dynamic linking on your system is consistent... All done.
emerge @preserved-rebuild:

merge: 'preserved-rebuild' is an empty set
emerge: no targets left after set expansion

This is not suprising - as stated above, mplayer *does* play xvid (and uses ffmpeg and transcode). The culprit is xine-lib :-(

Comment 11 Alexis Ballier gentoo-dev 2008-08-28 14:20:49 UTC
(In reply to comment #9)
> 
>    -Video decoder:
>      mpeg2, image, theora, yuv, rgb, bitplane.

you dont have ffmpeg there.

what's your ffmpeg version ?

do you have /usr/lib/xine/plugins/1.24/xineplug_decode_ff.so ?

if yes, what's the output of an ldd on it?
if no, please try to rebuild xine-lib and attach the config.log and configure output.
Comment 12 Mark Nowiasz 2008-08-28 16:19:16 UTC
(In reply to comment #11)
> (In reply to comment #9)
> > 
> >    -Video decoder:
> >      mpeg2, image, theora, yuv, rgb, bitplane.
> 
> you dont have ffmpeg there.

Yep :-(


> what's your ffmpeg version ?

ffmpeg-0.4.9_p20080326

 
> do you have /usr/lib/xine/plugins/1.24/xineplug_decode_ff.so ?
> 
> if yes, what's the output of an ldd on it?

ldd /usr/lib/xine/plugins/1.24/xineplug_decode_ff.so
        linux-vdso.so.1 =>  (0x00007fff723fe000)
        libxine.so.1 => /usr/lib/libxine.so.1 (0x00007fa969e21000)
        libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0x00007fa96979d000)
        libz.so.1 => /lib/libz.so.1 (0x00007fa969586000)
        liba52.so.0 => /usr/lib/liba52.so.0 (0x00007fa96937a000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007fa969269000)
        libfaad.so.1 => /usr/lib/libfaad.so.1 (0x00007fa969027000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fa968dac000)
        libx264.so.60 => /usr/lib/libx264.so.60 (0x00007fa968b29000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fa968839000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fa968635000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa96832c000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa96811a000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00007fa967ef0000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fa967b15000)
        libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007fa967908000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fa9676d3000)
        libm.so.6 => /lib/libm.so.6 (0x00007fa967454000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fa96724d000)
        libpostproc.so.51 => /usr/lib/libpostproc.so.51 (0x00007fa967043000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fa966e28000)
        libc.so.6 => /lib/libc.so.6 (0x00007fa966adf000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fa96684a000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fa966619000)
        librt.so.1 => /lib/librt.so.1 (0x00007fa96640f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00007fa9661fb000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007fa965fe4000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fa96a2b2000)
        libx264.so.59 => not found
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa965ee0000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa965dda000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fa965bb0000)

Hmm - there seems to be a problem with libx264, which is quite odd:

locate libx264
/usr/lib64/libx264.a
/usr/lib64/libx264.so
/usr/lib64/libx264.so.60

It seems that libxine wants libx264.so.59 instead of libx264.so.60.

I've recompiled libxine twice now (once to test if 1.1.15 has got the same bug, and once to update 1.1.15 to 1.1.15-r1 again). The plugin *should* really find libx264.so.60.

Regards,
Mark
Comment 13 Alexis Ballier gentoo-dev 2008-08-28 16:23:41 UTC
(In reply to comment #12)
> ldd /usr/lib/xine/plugins/1.24/xineplug_decode_ff.so
[...]
>         libx264.so.60 => /usr/lib/libx264.so.60 (0x00007fa968b29000)
[...]
>         libx264.so.59 => not found

I think it finds it but ffmpeg was linked to .59 or something like that; what does 'ldd /usr/lib/libavcodec.so' says ?
can you try rebuilding ffmpeg and then xine-lib again ?
Comment 14 Maciej Pilichowski 2008-08-28 16:30:50 UTC
Since we are struggling with almost identical problem I take the liberty to point my report for xine:
http://bugs.xine-project.org/show_bug.cgi?id=151
I use opensuse so I don't want to interfere with my case here.
Comment 15 Mark Nowiasz 2008-08-28 17:58:32 UTC
(In reply to comment #13)
>
> can you try rebuilding ffmpeg and then xine-lib again ?

Rebuilding ffmpeg did the trick - now xine-lib plays xvid again :-)

What was so vexing about the bug: mplayer did work well - which uses (AFAIK) ffmpeg, otherwise I'd try to reemerge ffmpeg before.

BTW: ffmpeg should haven been rebuild (when using revdep-rebuild or emerge @preserved...) after libx464 has been updated.

Anyway, I guess this bug can be closed :-)


Comment 16 Alexis Ballier gentoo-dev 2008-08-29 06:24:11 UTC
(In reply to comment #15)
> (In reply to comment #13)
> >
> > can you try rebuilding ffmpeg and then xine-lib again ?
> 
> Rebuilding ffmpeg did the trick - now xine-lib plays xvid again :-)
> 
> What was so vexing about the bug: mplayer did work well - which uses (AFAIK)
> ffmpeg, otherwise I'd try to reemerge ffmpeg before.

mplayer uses a statically linked ffmpeg, so it doesn't depend on the ffmpeg package itself

> BTW: ffmpeg should haven been rebuild (when using revdep-rebuild or emerge
> @preserved...) after libx464 has been updated.

yep, that's what is weird; perhaps there was a problem with the preserve-libs feature, but revdep-rebuild should have found it, perhaps you had some temporary files left that made it think it was ok