MPlayer signal 11 decode_audio error
Christoph Georgi
christoph.georgi at web.de
Mon Apr 25 00:27:07 UTC 2005
When specifying -ac a52 it still doesn't work. But that's because
mplayer seems to use the liba52 by default:
mplayer -ac a52 dvd://1:
---
Forced audio codec: a52
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
---
mplayer dvd://1:
---
Trying to force audio codec driver family libmad...
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
---
Therefore I tried to use the "internel" ac3 codec with the following result:
mplayer -ac ac3 dvd://1:
---
Forced audio codec: ac3
Requested audio codec family [ac3] (afm=libac3) not available.
Enable it at compilation.
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
---
and the movie player, but without sound!
Specifying channel or srate does not make any difference.
I don't really think that this is a mplayer bug, as I never had any
problem with mplayer compiling it myself. This time I'm using the ubuntu
deb package and I run into those problems.
btw. when compiling mplayer from source, what libs are needed to have xv
enabled? I never managed that without having the nvidia driver
installed, which is not possible anymore, as the new nvida drivers do
not seem to work with my geforce 2 go (another guy reported similar
issues and it's apparently an upstream problem).
thanks
.christoph
ZIYAD A. M. AL-BATLY wrote:
> On Sun, 2005-04-24 at 17:36 +1200, Christoph Georgi wrote:
>
>>It's really funny: I didn't know about this problem before a friend of
>>mine, whom I'm converting to Linux, asked me about it..
>>
>>Well, it seems to be a sound problem, as with -nosound the movie's
>>played fine.
>>
>>But, I couldn't find the line af = resample... in my config files.
>>Everything that seems to have to do something with audio is the following:
>>
>>---
>>~/.mplayer/gui.conf:
>>ao_driver = "oss:/dev/dsp"
>>ao_volnorm = "no"
>>ao_surround = "no"
>>ao_extra_stereo = "no"
>>ao_extra_stereo_coefficient = "1.000000"
>>ao_oss_mixer = "/dev/mixer"
>>ao_oss_mixer_channel = "pcm"
>>ao_oss_device = "/dev/dsp"
>>
>>~/.mplayer/config:
>><emtpy>
>>
>>/etc/mplayer/mplayer.conf:
>>ao=alsa,
>>[...]
>># From Fedora
>># the default mpeg audio decoder is currently broken, let's try libmad
>># first:
>>afm=libmad
>>
>>---
>>
>>libmad is installed in the version 0.15.1b-1
>>
>>I installed xine-ui to see whether I'm missing any important libs or
>>something, and with xine the dvd playback works fine with sound. I
>>assume it must be something with mplayer's settings?!
>>
>>thanks for your help!
>>.christoph
>
> Okay, to be honest with you, I don't know how to fix this problem,
> though, I'm sure it has to do with MPlayer's *internal* AC3 decoder. In
> MPlayer, you can decode AC3 audio streams in several ways, either with
> the internal AC3 (MPlayer calls it ac3) or with the *external* (but
> statically compiled!) liba52 (MPlayer calls it a52). So, try your luck
> and see if the version of MPlayer you have is compiled with liba52:
> mplayer -ac a52 dvd://1
> I hope that works. (I compile MPlayer myself from the CVS version about
> once a month, and since liba52 is compiled statically, I can't tell if
> MPlayer is compiled with this option or not by just looking at the info
> extracted from the *.deb file!)
>
> If that didn't work, try passing the "-channels 2" (or 6) and/or "-srate
> 48000" (or 44100) to MPlayer.
>
>
> Tell us what you got. As this is a very nasty bug and should be
> reported to MPlayer developers (assuming they don't know about it).
>
> Ziyad.
>
>
--
Christoph Georgi
-----------------------------
email. christoph.georgi at web.de
fon. +64 (0)9 815 8259
registered linux user #380268
ubuntulinux 4.10 (warty)
More information about the ubuntu-users
mailing list