PDA

View Full Version : AlienBBC and Mac installation instructions revised .



Andy Palmer
2005-01-09, 08:45
Hi Jules/Daniel,

When I point Safari to http://<ip address of server>:5123/Status it
returns a message saying:

Safari can’t open the page “http://<ip address of server>:5123/Status/”
because it could not connect to the server “<ip address of server>”.

even though SlimServer is running.

When I run transcoder_proxy.pl from Terminal it just sits there.

I then opened another Terminal window to try running mplayer and get:

Computer:/usr/local/bin username$ /usr/local/bin/mplayer
rtsp://rmlivev8.bbc.net.uk/farm/\*/ev7/live24/radio1/live/r1_dsat_g2.ra
MPlayer dev-CVS-041116-19:27-3.3 (C) 2000-2004 MPlayer Team

AltiVec found
CPU: PowerPC
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file
or directory
Reading config file /Users/username/.mplayer/config
Reading /Users/username/.mplayer/codecs.conf: Can't open
'/Users/username/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /Users/username/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using Darwin accurate timing
Can't open input config file /Users/username/.mplayer/input.conf: No
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or directory
Falling back on default (hardcoded) input config

Playing
rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio1/live/r1_dsat_g2.ra.
Resolving rmlivev8.bbc.net.uk for AF_INET6...
Couldn't resolve name for AF_INET6: rmlivev8.bbc.net.uk
Resolving rmlivev8.bbc.net.uk for AF_INET...
Connecting to server rmlivev8.bbc.net.uk[212.58.224.101]:554 ...
Cache size set to 640 KBytes
Connected to server: rmlivev8.bbc.net.uk
Cache fill: 18.75% (0 bytes) REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 26
Unknown extra header dump: [0] [80] [0] [10] [0] [17] [2] [80] [0] [10]
[1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [2] [0] [4]
===========================
demux_real: invalid chunksize! (0)
Clip info:
name: BBC Radio 1
author: BBC
copyright: (C) British Broadcasting Corporation 2004
================================================== ======================
==
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/Library/Application
Support/ffmpegX/reallib/cook.so.6.0'
Error: dlcompat: file "/Library/Application
Support/ffmpegX/reallib/cook.so.6.0" not found
ERROR: Could not open required DirectShow codec cook.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
ERROR: Could not open required DirectShow codec cook3260.dll.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/Library/Application
Support/ffmpegX/reallib/cook.bundle/Contents/MacOS/cook'
Decoder init failed, error code: 0x80040005
ADecoder preinit failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x6B6F6F63.
Read DOCS/HTML/en/codecs.html!
================================================== ======================
==
Audio: no sound
Video: no video


Exiting... (End of file)
Computer:/usr/local/bin username$

All the while the other Terminal running transcoder did not change.
It looks like a problem with the codecs?

Thanks for your help
Andy.

PS. I'm not the Andy Palmer of Tivoli Fame unfortunately :)

Daniel Cohen
2005-01-09, 09:48
On 9/1/05 at 3:45 pm +0000, Andy Palmer wrote
>Hi Jules/Daniel,
>
>When I point Safari to http://<ip address of server>:5123/Status it
>returns a message saying:
>
>Safari can't open the page "http://<ip address of
>server>:5123/Status/" because it could not connect to the server
>"<ip address of server>".
>
>even though SlimServer is running.


That may be a Safari issue, I'm not sure. I find Safari even has
trouble finding 'localhost' at times.

>
>When I run transcoder_proxy.pl from Terminal it just sits there.


It shouldn't do anything much, but it should report that it has found
lame, and then sit there. Did it find lame?

>
>I then opened another Terminal window to try running mplayer and get:
>
>Computer:/usr/local/bin username$ /usr/local/bin/mplayer
>rtsp://rmlivev8.bbc.net.uk/farm/\*/ev7/live24/radio1/live/r1_dsat_g2.ra
>MPlayer dev-CVS-041116-19:27-3.3 (C) 2000-2004 MPlayer Team
>

I've snipped a lot here. Most of that information is what I got, and
is as it should be. It is worth trying other radio streams such as
Radio 2. I know I had some trouble with Radio 1, but can't recall
what.

>Opening audio decoder: [realaud] RealAudio decoder
>opening shared obj '/Library/Application Support/ffmpegX/reallib/cook.so.6.0'
>Error: dlcompat: file "/Library/Application
>Support/ffmpegX/reallib/cook.so.6.0" not found
>ERROR: Could not open required DirectShow codec cook.so.6.0.
>Read the RealAudio section of the DOCS!
>ADecoder preinit failed :(
>ADecoder init failed :(
>Opening audio decoder: [realaud] RealAudio decoder
>ERROR: Could not open required DirectShow codec cook3260.dll.
>Read the RealAudio section of the DOCS!
>ADecoder preinit failed :(
>ADecoder init failed :(
>Opening audio decoder: [realaud] RealAudio decoder
>opening shared obj '/Library/Application
>Support/ffmpegX/reallib/cook.bundle/Contents/MacOS/cook'
>Decoder init failed, error code: 0x80040005
>ADecoder preinit failed :(
>ADecoder init failed :(
>Cannot find codec for audio format 0x6B6F6F63.
>Read DOCS/HTML/en/codecs.html!
>
>
>All the while the other Terminal running transcoder did not change.
>It looks like a problem with the codecs?

Yes, that does look like a problem with the codec. You certainly
don't need anything other than cook.bundle, but I'll need to think
further about whether you have to do something to get it recognised.

I'm just listening to Radio 1 at the moment via mplayer. I get the
same lines as you up to and including the "opening shared object"
line.

But then my installation works ok, with the next few lines being

Audio codec: [23] 44 kbps Stereo Music High Response - RA8
Audio bitrate: 44.100 kbit/s (5513 bps)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 5513->176400 (44.1 kbit)
Selected audio codec: [racookmac] afm:realaud (Mac OS X RealAudio COOK)

(and so on).

What version of mplayer are you using? What's the size of the mplayer
file? I seem to recall from some earlier posts that some versions of
mplayer don't work well but the ffmpegX version should be fine.


--
Daniel Cohen