Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173396 - >=media-libs/xine-lib-1.1.3 errors when playing a certain mp3 types
Summary: >=media-libs/xine-lib-1.1.3 errors when playing a certain mp3 types
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 20:03 UTC by garfungiloops
Modified: 2007-04-14 08:56 UTC (History)
1 user (show)

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


Attachments
test mp3 files to describe the bug (mp3_test.tgz,207.00 KB, application/octet-stream)
2007-04-05 09:12 UTC, garfungiloops
Details
a small test for the second problem (mpga stream) (video_test.tgz,101.90 KB, text/plain)
2007-04-05 09:57 UTC, garfungiloops
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garfungiloops 2007-04-04 20:03:03 UTC
some mp3's just generate the errors during the playback with xine-lib based programs (like amarok and xine), at the same time they are perfectly playing with the other software like audacious, mplayer and mpg123

Reproducible: Always

Steps to Reproduce:
1. playing mp3's with xine
2.
3.

Actual Results:  
errors in xine's output, ripple playback, noise  etc.

Expected Results:  
normal sound

root:/home/bob# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gento
o-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm) XP 3100+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 01 Apr 2007 15:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu
tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/shar
e/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://distfiles.gentoo.o
rg http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac alsa berkdb bidi bitmap-fonts cdr cli clucene cracklib cryp                                                    t cups cvs dbus directfb divx4linux dri dvd dvdr dvdread encode exif faad fbcon                                                     ffmpeg fortran gdbm gif gimpprint glitz gpm gtk icc iconv imagemagick imlib ipv6                                                     isdnlog jack jpeg kde libg++ matroska midi mjpeg mmx mozilla mp3 mpeg ncurses n                                                    ls nptl nptlonly nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python qt                                                     readline real reflection session spl sqlite3 sse ssl tcpd threads tiff truetype                                                     truetype-fonts type1-fonts unicode usb v41 v412 vidix vorbis win32codecs wxwind                                                    ows x86 xcomposite xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_P                                                    CM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec                                                    958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm                                                     softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_                                                    DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"                                                     USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i12                                                    8 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion                                                     sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS,                                                     PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




-----------------------------------------------
when I hear a ripples I have the output from xine like:

bits_left=1484
bits_left=1512
bits_left=1844
bits_left=1720
bits_left=2117
bits_left=1888
bits_left=2292
bits_left=900
bits_left=821
bits_left=1077
bits_left=805

etc..

when I hear just a noise + some scratches I have:

[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
[mp3 @ 0xb68fb808]Header missing skipping one byte.
overread, skip -4 enddists: -1 -1


at the same time mplayer, mpg123 and audacious produce no errors.

I think it was ok with some older version of the xine-lib, I will try to find which one, plus I will try to find the differences in mp3 type when it's playing normally and when not. Currently I'm suspecting that it's bad when I have "Join Stereo" ...
Comment 1 garfungiloops 2007-04-04 20:27:34 UTC
Yes. Just installed a version of xine-lib-1.1.2-r3.
It does NOT has a mentioned errors!
The affected files are playing perfectly.
So it's seems to be a versions 1.1.3 and 1.1.4 became a STABLE too early...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 20:53:51 UTC
Attach a sample file to reproduce this here and reopen then.
Comment 3 garfungiloops 2007-04-05 09:12:14 UTC
Created attachment 115491 [details]
test mp3 files to describe the bug

bob:~/DLD/mp3_test$ xine test320.mp3
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2004 The xine Team.
invalid new backstep 1008
invalid new backstep 1009
Comment 4 garfungiloops 2007-04-05 09:21:17 UTC
Please see the previous attachment.
I've just created a set of test mp3's with lame.
It seems to that a  problem is only with 320kbps (with and without "Joint Stereo")
(2 files are attached)

In that case I hear a ripples.

There is another problems when it's just a noise, but this happens only with movies. VLC shows the codec "mpga" for this stream.
I will try to cut a fragment and attach it later.

And please take into account once again that xine-lib-1.1.2-r3 has no such problems.
Comment 5 garfungiloops 2007-04-05 09:57:38 UTC
Created attachment 115495 [details]
a small test for the second problem (mpga stream)

no sound when playing "mpga" streams (MPEG audio according to VLC doc)

xine video_test.avi

[mp3 @ 0xb69ad808]Header missing skipping one byte.
[mp3 @ 0xb69ad808]Header missing skipping one byte.
[mp3 @ 0xb69ad808]incomplete frame
...
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-04-10 08:57:32 UTC
Just enable mad useflag. FFmpeg to play mp3 files is just a pathetic workaround, but works for basic uses at least.
Comment 7 garfungiloops 2007-04-14 08:56:09 UTC
Fixed thanks!