Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288976 - media-libs/xine-lib-1.1.16.3-r1: "lame -V0" encoded mp3 files skip with mad USE flag
Summary: media-libs/xine-lib-1.1.16.3-r1: "lame -V0" encoded mp3 files skip with mad U...
Status: RESOLVED WONTFIX
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: 2009-10-14 00:56 UTC by Nikos Chantziaras
Modified: 2012-01-10 10:39 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info,4.12 KB, text/plain)
2009-10-14 01:01 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2009-10-14 00:56:33 UTC
I noticed that when I encode an audio file with "lame -V0 file.wav file.mp3" (-V0 is the highest quality VBR encoding mode), the resulting file.mp3 will be played back wrongly (the sound will badly and noticeably skip at some places) if xine-lib is emerged with the "mad" USE flag enabled (which is the default, even.) This doesn't seem to be a player issue; I confirmed the sound skips with both Amarok 2.2.0 (KDE 4 is configured to use Xine here) as well as gxine 0.5.903.

Emerging with mad USE flag disabled or deleting /usr/lib64/libmad.* fixes the issues.

Also, this doesn't seem to be a libmad issue either, since madplay (0.15.2b-r1) plays the files just fine. The problem seems to only occur in applications that use xine-lib, and xine-lib itself uses libmad. Apps that use libmad directly don't seem to suffer.

To test, encode some audio with lame (I use 3.98.2-r2) using it's -V0 option and play it back in gxine or xine-configured Amarok. If you can't reproduce, I will upload a FLAC file somewhere that would result in the breakage when encoded with -V0.
Comment 1 Nikos Chantziaras 2009-10-14 01:01:56 UTC
Created attachment 207032 [details]
emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-24 21:35:33 UTC
Try 1.1.18
Comment 3 Nikos Chantziaras 2010-03-08 09:16:55 UTC
(In reply to comment #2)
> Try 1.1.18

Bug still there.
Comment 4 Nikos Chantziaras 2010-03-08 09:27:28 UTC
Example mp3 file where this occurs:

http://foss.math.aegean.gr/~realnc/files/Insomnia%20Gkoutzelomix.mp3

amarok+xine+mad will result in skips at about 0:15 and 0:29.  madplay plays it perfectly.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-01-10 10:31:37 UTC
(In reply to comment #4)
> Example mp3 file where this occurs:
> 
> http://foss.math.aegean.gr/~realnc/files/Insomnia%20Gkoutzelomix.mp3
> 
> amarok+xine+mad will result in skips at about 0:15 and 0:29.  madplay plays it
> perfectly.

And xine-lib-1.2.0? Is it even possible to use amarok with xine-lib anymore?
Comment 6 Nikos Chantziaras 2012-01-10 10:39:21 UTC
(In reply to comment #5)
> Is it even possible to use amarok with xine-lib anymore?

No, it's not.