PDA

View Full Version : BBC World Service



jrp
2005-05-05, 14:43
I can get the World Service on Windows Media Player 10 from

http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.asx

It does not, however, appear to be recognised by slimserver. Why not?

Is there an alternative realplayer route?

kdf
2005-05-05, 15:18
I dont believe slimserver supports asx streams out of the box. You can, however, look into AlienBBC which is designed to deal with real audio and asx

Triode
2005-05-05, 15:32
Actually should work on windows out of the box assuming the asx file is parsable by slimserver. However this does not appear to be
the case.

Looking in the asx file, the stream is actually the following url. If you are on windows try putting the following into the Radio
Url box on the Internet Radio screen:
mms://a1149.l1305038288.c13050.g.lm.akamaistream.net/D/1149/13050/v0001/reflector:38288

If you are on linux you may want to look at AlienBBC. But this also uses the slim asx parser, so this may be the probably the
problem..
----- Original Message -----
From: "kdf" <kdf.1okxrd (AT) no-mx (DOT) forums.slimdevices.com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Thursday, May 05, 2005 11:18 PM
Subject: [slim] Re: BBC World Service


>
> I dont believe slimserver supports asx streams out of the box. You can,
> however, look into AlienBBC which is designed to deal with real audio
> and asx
>
>
> --
> kdf
>

jrp
2005-05-05, 16:36
Looking in the asx file, the stream is actually the following url. If you are on windows try putting the following into the Radio
Url box on the Internet Radio screen:
mms://a1149.l1305038288.c13050.g.lm.akamaistream.net/D/1149/13050/v0001/reflector:38288

If you are on linux you may want to look at AlienBBC. But this also uses the slim asx parser, so this may be the probably the
problem..


That URL seems to crash slimserver.

I've tried AlienBBC and mplayer will play that URL, but only if I use the -playlist command line parameter.



C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\mplayer>mplayer
http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.asx
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.asx.
Resolving www.bbc.co.uk for AF_INET...
Connecting to server www.bbc.co.uk[212.58.224.115]:80 ...
Resolving www.bbc.co.uk for AF_INET...
Connecting to server www.bbc.co.uk[212.58.224.115]:80 ...
size_confirm mismatch!: 30835 28271
Error while parsing chunk header
Trying default streaming for http protocol
Resolving www.bbc.co.uk for AF_INET...
Connecting to server www.bbc.co.uk[212.58.224.115]:80 ...
Cache size set to 320 KBytes
Connected to server: www.bbc.co.uk
Cache fill: 0.14% (466 bytes)

Exiting... (End of file)

C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\mplayer>mplayer
-playlist http://www.bbc.co.uk/worldservice/meta/tx/nb/live_news_au_nb.asx
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Northwood (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

Resolving www.bbc.co.uk for AF_INET...
Connecting to server www.bbc.co.uk[212.58.224.115]:80 ...
Cache size set to 320 KBytes
Connected to server: www.bbc.co.uk
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing mms://a1149.l1305038288.c13050.g.lm.akamaistream.net/D/1149/13050/v0001/
reflector:38288.
Resolving a1149.l1305038288.c13050.g.lm.akamaistream.net for AF_INET...
Connecting to server a1149.l1305038288.c13050.g.lm.akamaistream.net[80.15.249.13
]:1755 ...
connected
unknown object
file object, packet length = 631 (631)
unknown object
stream object, stream id: 1
unknown object
unknown object
data object
mmst packet_length = 631
Cache size set to 320 KBytes
Connected to server: a1149.l1305038288.c13050.g.lm.akamaistream.net
Cache fill: 17.50% (57344 bytes) ASF file format detected.
================================================== ========================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 10 (0xA)
Channels: 1
Samplerate: 16000
avg byte/sec: 2000
Block align: 600
bits/sample: 16
cbSize: 46
Unknown extra header dump: [10] [0] [4] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [10] [0] [0] [0] [8d] [99] [5a] [0] [5] [c9] [2d] [48] [90] [1a] [60] [0] [0
] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 16000
avg byte/sec: 32000
Block align: 2
bits/sample: 16
cbSize: 0
===========================
GetOutput r=0x0 size:8192 align:1
StreamCount r=0x0 1 1
AUDIO: 16000 Hz, 1 ch, s16le, 16.0 kbit/6.25% (ratio: 2000->32000)
Selected audio codec: [wma9spdmo] afm:dmo (Windows Media Audio 9 Speech DMO)
================================================== ========================
Checking audio filter chain for 16000Hz/1ch/s16le -> 16000Hz/2ch/s16le...
AF_pre: 16000Hz/1ch/s16le
AO: [dsound] 16000Hz 2ch s16le (2 bps)
Building audio filter chain for 16000Hz/1ch/s16le -> 16000Hz/2ch/s16le...
Video: no video
Starting playback...


I'm not sure that I have installed mplayer correctly (installing the whole mplayer directory in C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\mplayer>) copying just the mplayer.exe into C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread seems to make little difference.

jrp
2005-05-05, 17:59
OK. Now got AlienBBC working after some help from another thread.

I would like to recommend the squeezebox2 to a (non-technical) friend who wants to listen to BBC World Service from abroad, but cannot, in conscience do so if it doesn't handle the straightforward .asx files, but requires the installation of something like AlienBBC, which seems pretty fragile and is certainly tricky to install.

It would be completely straightforward to recommend if the squeezebox2 supported the windows media extension / playsforsure standards or, even better, if he could play to it straight from Windows MCE 2005.

Is there a project to do this? I know how to build MCE add-in. Is there some documentation on the Squeezebox that might explain in what format the Squeezebox expects to receive streaming audio? It may be a reasonably straightforward task, using DirectX filters.

Philip Meyer
2005-05-07, 10:53
>Looking in the asx file, the stream is actually the following url. If you are on windows try putting the following into the Radio
>Url box on the Internet Radio screen:
>mms://a1149.l1305038288.c13050.g.lm.akamaistream.net/D/1149/13050/v0001/reflector:38288

I just tried to do that, and think I've found a bug in SlimServer. It does play the stream, just it appears to be a bit picky...

The last radio station that I was tuned in to was WXPN.
However, I was playing some flac files in my current playlist.
I was reading the above message, and thought I'd try tuning into the BBC World Service. I copied the above link into the Internet Radio help page and pressed "Tune In". My previous internet radio station, WXPN, started playing! Weird. I either expected it to work and play the BBC World Service, or not work and continue with the current playlist or clear the current playlist. I tried this several times and it wouldn't tune in to the correct stream.

I got it to work by pressing "Clear" playlist, and then trying to tune in again. This worked - BBC World Service started to play. However, the "Now Playing" area above the current playlist panel in the fishbone skin had not been refreshed to display what was playing. As a result, there was no option to save the current playlist.

WinXP Pro. SlimServer Version: 6.1.0 - trunk. Fishbone Skin.

Phil