Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: errors with mplayer and mp3 files
Date: Sun, 02 Sep 2012 15:41:59
Message-Id: 17404.1346600389@ccs.covici.com
In Reply to: [gentoo-user] Re: errors with mplayer and mp3 files by Nikos Chantziaras
1 Nikos Chantziaras <realnc@×××××.com> wrote:
2
3 > On 02/09/12 12:47, covici@××××××××××.com wrote:
4 > > Nikos Chantziaras <realnc@×××××.com> wrote:
5 > >
6 > >> On 02/09/12 03:23, covici@××××××××××.com wrote:
7 > >>> Hi. I am using unstable gentoo and using mplayer at the text console.
8 > >>> When playing an mp3 file, I often get the following error:
9 > >>> mpg123 decoding failed: No stream opened. (code 24)
10 > >>>
11 > >>> Any ideas on what causes this and/or how to fix? It would be nice not
12 > >>> to depend on mpg123 at all -- is this possible?
13 > >>>
14 > >>> Thanks in advance for any suggestions.
15 > >>
16 > >> Try enabling the "mad" USE flag for mplayer. This should then use
17 > >> libmad for MP3 decoding. I think.
18 > >
19 > > Thanks for your response -- mad is already enabled, but mpg123 is being
20 > > used.
21 >
22 > It seems mplayer pulls mpg123 as a dep:
23 >
24 > $ emerge -pv --depclean media-sound/mpg123
25 > Calculating dependencies... done!
26 > media-sound/mpg123-1.14.3 pulled in by:
27 > media-video/mplayer2-9999
28 >
29 > Looking at the ebuild, it indeed does:
30 >
31 > mp3? ( media-sound/mpg123 )
32 >
33 > I don't know why it's possible to enable both "mad" as well as
34 > "mp3". The solution is simple. Use "mad -mp3" as USE flags for
35 > mplayer. I just did the same and mplayer now only uses libmad to play
36 > MP3s.
37 >
38 > If no other package depends on mpg123 on your system, you can now
39 > delete it. "emerge -a --depclean" will take care of it.
40
41 Thanks much -- it seems to be working now. I had never heard of the
42 mad before -- learn something new every day. This list is very nice and
43 helpful.
44
45
46 --
47 Your life is like a penny. You're going to lose it. The question is:
48 How do
49 you spend it?
50
51 John Covici
52 covici@××××××××××.com

Replies

Subject Author
[gentoo-user] Re: errors with mplayer and mp3 files Nikos Chantziaras <realnc@×××××.com>