[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Add which package to get mplayer to play an ogg stream?



On Thursday 20 October 2005 14:27, Adam Funk wrote:
> On my Debian testing system at work, this works (using Marillat's
> mplayer-i586 package):
>
> $ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg
>
>
> On my Debian testing system at home (using Marillat's mplayer-k7
> package), however, it caches then fails thus:
>
> $ mplayer http://engine.collegemedia.vt.edu:8000/wuvt.ogg
> MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
> CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
> Detected cache-line size is 64 bytes
> MMX2 supported but disabled
> 3DNow supported but disabled
> 3DNowExt supported but disabled
> CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX
>
>
>
> 73 audio & 180 video codecs
> Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
> Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
> startup scripts.
> Opening joystick device /dev/input/js0
> Can't open joystick device /dev/input/js0 : No such file or directory
> Can't init input joystick
> Setting up LIRC support...
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support.
> You will not be able to use your remote control.
> Playing http://engine.collegemedia.vt.edu:8000/wuvt.ogg.
> Resolving engine.collegemedia.vt.edu for AF_INET...
> Connecting to server engine.collegemedia.vt.edu[128.173.235.23]:8000 ...
> Cache size set to 1024 KBytes
> Connected to server: engine.collegemedia.vt.edu
> Cache fill: 19.53% (204800 bytes)    [Ogg] stream 0: audio (Vorbis),
> -aid 0
> Ogg file format detected.
> =========================================================================
>= Trying to force audio codec driver family libmad...
> Cannot find codec for audio format 0x73627276.
> Read DOCS/HTML/en/codecs.html!
> =========================================================================
>= Audio: no sound
> Video: no video
>
>
> Exiting... (End of file)
>
For what it's worth, a successful open looks like this:
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 112.0 kbit/7.94% (ratio: 14000->176400)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================

>
> I've compared various dpkg -l output to try to find the missing
> codec/library package but can't find it.  Does anyone know what package
> I need to add to play this stream?
>
> Thanks,
> Adam

I know you need at least libvorbis0a and libmad0 to play an ogg file, but 
when I remove the shared library, I don't get the same error as you, so 
that's probably not what's wrong.  Still, it's worth a version check:
ii  libvorbis0a                    1.1.0-1                    The Vorbis 
General Audio Compression Codec
ii  libmad0                        0.15.1b-2.1                MPEG audio 
decoder library
ii  mplayer-586                    1.0-pre7cvs20050716-0.1    The Ultimate 
Movie Player For Linux


One other thing you might check: check your config files for defaults that 
might not make sense.

My Swedish is non-existent, but it seems a work-around is available.  See 
the thread at 
http://lists.debian.org/debian-user-swedish/2005/05/msg00001.html.  Check 
out the first reply.  It seems you need to edit your codecs.conf as shown.

However, according to http://www4.mplayerhq.hu/DOCS/codecs-status.html, you 
should be able to play that format using libvorbis, so perhaps a reinstall 
of libvorbis, and possibly mplayer, is in order.

By the way, if you google on "audio codec 0x73627276" (without the quotes), 
you should get quite a few hits, and perhaps one of them is in a language 
you understand better than Swedish. ;-)

Good luck,
Justin Guerin



Reply to: