Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125022 - xmms-mad displays incorrect track duration in playlist
Summary: xmms-mad displays incorrect track duration in playlist
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on: xmms-must-die
Blocks:
  Show dependency tree
 
Reported: 2006-03-04 16:10 UTC by Frank Russo
Modified: 2006-10-23 00:48 UTC (History)
0 users

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 Frank Russo 2006-03-04 16:10:29 UTC
Good afternoon,

With xmms-mad enabled as an output plugin in xmms, a number of MP3 files display the incorrect duration in the playlist window.  Durations such as 17779:47 for a three minute song are not uncommon.  This does not apply to all mp3 files, only some of them.  mpeg123 and easytag display the proper duration, so I am assuming that this is a problem with xmms-mad or libmad.  Files play normally, although seeking is disabled.

Ping me if you need sample files to repro, or additional information regarding my executables/libs (where is the bugzilla file-upload applet?).

Thank you for your time,
Frank Russo


Other info:
h2so4 ~ # emerge -s xmms-mad

Searching...
[ Results for search key : xmms-mad ]
[ Applications found : 1 ]

*  media-plugins/xmms-mad
      Latest version available: 0.8-r1
      Latest version installed: 0.8-r1
      Size of files: 307 kB
      Homepage:      http://xmms-mad.sourceforge.net/
      Description:   A XMMS plugin for MAD
      License:       GPL-2


h2so4 ~ # emerge -s libmad

Searching...
[ Results for search key : libmad ]
[ Applications found : 1 ]

*  media-libs/libmad
      Latest version available: 0.15.1b
      Latest version installed: 0.15.1b
      Size of files: 490 kB
      Homepage:      http://mad.sourceforge.net
      Description:   "M"peg "A"udio "D"ecoder library
      License:       GPL-2
h2so4 ~ # emerge --info

Portage 2.1_pre5-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 alsa apm arts artswrappersuid asf audiofile avi berkdb bitmap-fonts bootsplash cdparanoia cdr crypt cups dga divx4linux dv dvd dvdread eds emboss encode faac ffmpeg flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml id3 imlib ipv6 java joystick jpeg jpeg2k kde lame libg++ libwww mad matroska mikmod mmx2 mng motif mp3 mpeg mpeg2 mplayer musepack ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime rar readline real samba scanner sdl session spell sse ssl subtitles tcpd tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win32codecs wxgtk1 wxwindows x264 xanim xine xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Frank Russo 2006-03-05 15:25:32 UTC
I have uploaded a sample file to my comcast account.  The link is:

http://home.comcast.net/~f.russo/Gentoo-BugID-125022.tar.gz

This is a good one because the duration is -23735:-30.  This would be expected if it were Huey Louis's song "Back In Time", but is unacceptable otherwise ;-)

Comment 2 AKS 2006-04-20 12:11:03 UTC
go on Option > Preferences > MAD MPEG Decoder Plugin > Configure
and switch off "fast playtime calculation"

this will solve
Comment 3 Frank Russo 2006-04-20 12:54:29 UTC
Disabling "Fast Playtime Calculation" does not resolve the problem for the sample file provided.  The duration shows as "-23735:-30".  Tested on the origional machine as well as my work box (Dell 4600 i686).

Thank you for your time,
Frank Russo
Comment 4 Frank Russo 2006-10-10 06:15:06 UTC
Sample file linked is no longer available (cancled Comcast account, moved to Austria)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:48:18 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

WONTFIX.