Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to play Musepack files in MPlayer?
Date: Tue, 10 Jan 2006 21:52:55
Message-Id: 20060110214812.GB31537@princeton.edu
In Reply to: [gentoo-user] How to play Musepack files in MPlayer? by Abhay Kedia
1 On Wed, Jan 11, 2006 at 01:54:15AM +0530, Penguin Lover Abhay Kedia squawked:
2 <below heavily snipped>
3 > Hello Everyone,
4 >
5 > I am trying to play mpc files in mplayer but get the following error while
6 > doing so
7 >
8 > ==========================================================================
9 > Requested audio codec family [musepack] (afm=mpcdec) not available.
10 > Enable it at compilation.
11 > Cannot find codec for audio format 0x2043504D.
12 > Read DOCS/HTML/en/codecs.html!
13 > ==========================================================================
14 >
15 > Here are the USE flags when I compile mplayer and the relevant output after
16 > configure gets completed
17 >
18 > ---------------------------------
19 > Disabled optional drivers:
20 > Codecs: opendivx x264 libdv amr_wb amr_nb xanim musepack speex twolame
21 > toolame liblzo
22 > ----------------------------------
23 >
24
25 okay, there is a musepack useflag, which, unfortunately, doesn't seem
26 to affect mplayer:
27
28 [04:42 PM]wwong ~ $ grep musepack /usr/portage/profiles/use.local.desc
29 app-cdr/k3b:musepack - Enable support for musepack files
30 media-sound/moc:musepack - Support for musepack (mpc) files
31 media-sound/mpd-svn:musepack - Enable support for musepack files
32 media-sound/musepack-tools:16bit - Higher quality sound output using dithering and noise-shaping
33
34 And a cursory glance at the mplayer ebuild shows that there's no
35 dependence on musepack of any sort (not even optional)
36
37 Now, there are two things you can do:
38 1) If you really want mplayer to support musepack, do some web
39 searches, make sure the codec really is supported, and then you go
40 and file a bug at b.g.o. for the feature request. In the mean time,
41 you can probably edit the ebuild yourself to include support for
42 musepack.
43
44 2) If you don't want to edit the ebuild (or can't be bothered to
45 learn), a stop-gap solution is to emerge media-sound/moc with the
46 musepack flag turned on. That should at least allow you to play the
47 files for the time being.
48
49 HTH,
50
51 W
52 --
53 "Reality is a crutch for people who can't handle drugs."
54 -- Lily Tomlin
55 Sortir en Pantoufles: up 59 days, 14:03
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to play Musepack files in MPlayer? Willie Wong <wwong@×××××××××.EDU>