Re: [gentoo-user] How to play Musepack files in MPlayer?

2006-01-11 Thread Abhay Kedia
On Wednesday 11 January 2006 03:46, Willie Wong wrote:

 The documentation for mplayer, however, suggests that with xmms
 support it can play musepack files. So you probably should make sure
 you compiled mplayer with the xmms flag, and emerge xmms-musepack.
 Presumably that would work.

Actually I did try that but it doesn't work. If you see I do have xmms use 
flag enabled and xmms-musepack installed as well but same error. Musepack 
forums mention that mplayer is natively playing musepack files in CVS so I 
installed CVS as well...but no luck.
http://www.musepack.net/forum/viewtopic.php?t=255highlight=mplayer

Anyways, I am compiling moc now. Hope that it has an easy to use interface.

Regards,
Abhay


pgphCuOk1CExe.pgp
Description: PGP signature


Re: [gentoo-user] How to play Musepack files in MPlayer?

2006-01-11 Thread Willie Wong
On Wed, Jan 11, 2006 at 03:39:09PM +0530, Penguin Lover Abhay Kedia squawked:
 Actually I did try that but it doesn't work. If you see I do have xmms use 
 flag enabled and xmms-musepack installed as well but same error. Musepack 
 forums mention that mplayer is natively playing musepack files in CVS so I 
 installed CVS as well...but no luck.
 http://www.musepack.net/forum/viewtopic.php?t=255highlight=mplayer
 
 Anyways, I am compiling moc now. Hope that it has an easy to use interface.
 
Oh, sorry to be of no help. One quick question: does xmms with
xmms-musepack actually play the mpc files? (I mean, by itself, not
invoked through mplayer). 

What happens when you run the file against mplayer? Does it at least
load xmms? For example, when I try to play a mpc file (just installed
it as a test):

[01:09 PM]wwong ~ $ mplayer X-Mod_radio_x-level.mpc
MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



85 audio  196 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Playing X-Mod_radio_x-level.mpc.
Cache fill: 12.69% (1064620 bytes)XMMS: found plugin: libvorbis.so (Ogg 
Vorbis Player 1.2.10)
XMMS: found plugin: libmp4.so (MP4  MPEG2/4-AAC audio player - 1.2.x)
XMMS: found plugin: libmpc.so (Musepack Decoder Plugin 1.1)
XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.10)
XMMS: found plugin: libxmmsmad.so (MAD MPEG Decoder plugin 0.8)
XMMS: found plugin: libmikmod.so (MikMod Player 1.2.10)
XMMS: found plugin: libxmms-flac.so (Reference FLAC Player v1.1.2)
Waiting for the XMMS plugin to start playback of 'X-Mod_radio_x-level.mpc'...
Audio file detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400-176400)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==
Checking audio filter chain for 44100Hz/2ch/s16le - 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le - 44100Hz/2ch/s16le...
Video: no video
Starting playback...
XMMS: Closing plugin /usr/lib/xmms/Input/libxmms-flac.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmikmod.so
XMMS: Closing plugin /usr/lib/xmms/Input/libxmmsmad.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmpg123.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmpc.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmp4.so
XMMS: Closing plugin /usr/lib/xmms/Input/libvorbis.so

Exiting... (Quit)
[01:10 PM]wwong ~ $ 


IIRC, if you have the +xmms flag, mplayer sort of defaults to passing 
all files it doesn't recognize to XMMS and see whether it can do 
anything about it (even when I try to play, outrageously, a postscript 
file for example). If your copy of mplayer doesn't even call XMMS
and have it load the plugins, then something has gone awry.


[01:10 PM]wwong ~ $ emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre7-r1  -3dfx -3dnow -3dnowext +X +aac 
+aalib +alsa (-altivec) -arts +bidi -bindist -bl +cdparanoia -cpudetection 
-custom-cflags -debug -dga -directfb +doc -dts +dv -dvb +dvd +dvdread -edl 
+encode -esd -fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack +joystick +jpeg +libcaca 
-lirc -live -livecd +lzo +mad +matroska -matrox +mmx +mmxext -mythtv +nas +nls 
-nvidia +opengl +oss +png +real +rtc -samba +sdl +sse +sse2 +svga -tga -theora 
+truetype -v4l -v4l2 +vorbis +win32codecs +xanim -xinerama +xmms +xv +xvid 
-xvmc 0 kB 

Total size of downloads: 0 kB
[01:11 PM]wwong ~ $ emerge -pv xmms-musepack

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-plugins/xmms-musepack-1.1.2  0 kB 

Total size of downloads: 0 kB
[01:11 PM]wwong ~ $ emerge -pv xmms 

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-sound/xmms-1.2.10-r15  -3dnow +alsa -arts -directfb -esd 
+flac -jack -lirc +mad +mikmod +mmx +mp3 +nls +oss -sndfile +vorbis 0 kB 

Total size of downloads: 0 kB
[01:11 PM]wwong ~ $ 

HTH

W

-- 
One's never alone with a rubber duck. 
Sortir en Pantoufles: up 60 days, 10:11
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to play Musepack files in MPlayer?

2006-01-11 Thread Abhay Kedia
On Wednesday 11 January 2006 23:44, Willie Wong wrote:

 [01:09 PM]wwong ~ $ mplayer X-Mod_radio_x-level.mpc
 MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team

Ah...thanks a lot. That struck a cord :)
I did a major mistake. While searching for mplayer and musepack, I had an idea 
that CVS version will work. Portage has a cvs snapshot, so I compiled that. 
It didn't work so I compiled xmms-musepack and recompiled mplayer (cvs 
version). No luck! But your mail made me compile the stable package and this 
version uses the xmms plugin :). mpc files now play in mplayer (yipee).

Thanks once again for the help.
Regards,
Abhay


pgpwx9cLRfgDy.pgp
Description: PGP signature


[gentoo-user] How to play Musepack files in MPlayer?

2006-01-10 Thread Abhay Kedia
Hello Everyone,

I am trying to play mpc files in mplayer but get the following error while 
doing so

==
Requested audio codec family [musepack] (afm=mpcdec) not available.
Enable it at compilation.
Cannot find codec for audio format 0x2043504D.
Read DOCS/HTML/en/codecs.html!
==

Here are the USE flags when I compile mplayer and the relevant output after 
configure gets completed

[ebuild   R   ] media-video/mplayer-1.0.20060102  +3dfx -3dnow -3dnowext +X 
+aac -aalib +alsa (-altivec) +arts -bidi -bindist -bl +cdparanoia 
-cpudetection +custom-cflags -debug +dga -directfb -doc +dts -dv -dvb +dvd 
+dvdread -edl +encode -esd -fbcon -ggi +gif +gtk +i8x0 -ipv6 -jack -joystick 
+jpeg +libcaca -lirc -live -livecd -lzo +mad +matroska -matrox +mmx +mmxext 
-nas +nls -nvidia +opengl +oss +png +real -rtc -samba +sdl +sse +sse2 +svga 
-tga +theora +truetype -v4l -v4l2 +vorbis +win32codecs -xanim -xinerama +xmms 
+xv +xvid +xvmc 0 kB

-
  Disabled optional drivers:
Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 edl live555 mpdvdkit dvb smb
Codecs: opendivx x264 libdv amr_wb amr_nb xanim musepack speex twolame 
toolame liblzo
Audio output: sgi sun jack polyp esd dxr2 nas dsound win32
Video output: winvidix bl zr zr2 dxr3 dxr2 directx vesa fbdev aa ggi xmga 
mga directfb tga tdfxfb
Audio filters: ladspa
--

Now, it clearly shows that musepack is one of the optional codecs but how do I 
enable it to compile with mplayer? I have tried installing various musepack 
related packages so that mplayer's configure detects mpc support but in vain.

# emerge -pv libmusepack libmpcdec musepack-tools
[ebuild   R   ] media-libs/libmusepack-1.1-r1  -static 0 kB
[ebuild   R   ] media-libs/libmpcdec-1.2  -doc -static 0 kB
[ebuild   R   ] media-sound/musepack-tools-1.15v  +16bit -esd -static 0 kB

No relevant use flags seem to be there in the ebuild. What should I do? Any 
ideas will be highly appreciated.


TIA
Regards,
Abhay


pgpm3uy1BhQE7.pgp
Description: PGP signature


Re: [gentoo-user] How to play Musepack files in MPlayer?

2006-01-10 Thread Willie Wong
On Wed, Jan 11, 2006 at 01:54:15AM +0530, Penguin Lover Abhay Kedia squawked:
below heavily snipped
 Hello Everyone,
 
 I am trying to play mpc files in mplayer but get the following error while 
 doing so
 
 ==
 Requested audio codec family [musepack] (afm=mpcdec) not available.
 Enable it at compilation.
 Cannot find codec for audio format 0x2043504D.
 Read DOCS/HTML/en/codecs.html!
 ==
 
 Here are the USE flags when I compile mplayer and the relevant output after 
 configure gets completed
 
 -
   Disabled optional drivers:
 Codecs: opendivx x264 libdv amr_wb amr_nb xanim musepack speex twolame 
 toolame liblzo
 --
 

okay, there is a musepack useflag, which, unfortunately, doesn't seem
to affect mplayer:

[04:42 PM]wwong ~ $ grep musepack /usr/portage/profiles/use.local.desc 
app-cdr/k3b:musepack - Enable support for musepack files
media-sound/moc:musepack - Support for musepack (mpc) files
media-sound/mpd-svn:musepack - Enable support for musepack files
media-sound/musepack-tools:16bit - Higher quality sound output using dithering 
and noise-shaping

And a cursory glance at the mplayer ebuild shows that there's no
dependence on musepack of any sort (not even optional)

Now, there are two things you can do:
  1) If you really want mplayer to support musepack, do some web
  searches, make sure the codec really is supported, and then you go
  and file a bug at b.g.o. for the feature request. In the mean time,
  you can probably edit the ebuild yourself to include support for
  musepack.

  2) If you don't want to edit the ebuild (or can't be bothered to
  learn), a stop-gap solution is to emerge media-sound/moc with the
  musepack flag turned on. That should at least allow you to play the
  files for the time being. 

HTH, 

W
-- 
Reality is a crutch for people who can't handle drugs.
-- Lily Tomlin
Sortir en Pantoufles: up 59 days, 14:03
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to play Musepack files in MPlayer?

2006-01-10 Thread Willie Wong
On Tue, Jan 10, 2006 at 04:48:12PM -0500, Penguin Lover Willie Wong squawked:
 Now, there are two things you can do:
   1) If you really want mplayer to support musepack, do some web
   searches, make sure the codec really is supported, and then you go
   and file a bug at b.g.o. for the feature request. In the mean time,
   you can probably edit the ebuild yourself to include support for
   musepack.

Well, scratch that. I just checked mplayer-devel, and there have been
great agony over musepack. Basically the developers don't like the way
things are done on the mpc end, and so I haven't seen more than a
prelim patch submitted and I don't even know if it was accepted. 

The documentation for mplayer, however, suggests that with xmms
support it can play musepack files. So you probably should make sure
you compiled mplayer with the xmms flag, and emerge xmms-musepack.
Presumably that would work. 

Best, 

W
-- 
Zaphod grinned two manic grins, sauntered over to the bar 
and bought most of it. 

- Zaphod in paradise. 
Sortir en Pantoufles: up 59 days, 14:34
-- 
gentoo-user@gentoo.org mailing list