Re: [Hampshire] Capture realplayer stream

Top Page

Reply to this message
Author: Tim
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Capture realplayer stream
On Mon September 10 2007 20:34, Dominic Cleal wrote:
> On Sun, 9 Sep 2007 17:24:12 +0100, Tim wrote:
> > On Sun September 9 2007 10:54, Jonathan Hudson wrote:
> > > If you have the stream embedded in http://****.ram, the add
> > > "-playlist".
> >
> > I think the part I am missing here is the rtsp:// I have looked at
> > the source of the BBC page but I can't find the rtsp url or any .ram
> > files listed. Is this just BBC being awkward or am I looking in the
> > wrong place??
>
> For the .ram files, I normally view the BBC Radio Player page[1], click
> on the programme I'm looking for, then copy the link from the "Listen
> using stand-alone Real Player" link shown on the left. Unfortunately,
> the BBC Radio Player page was broken for a few weeks recently, but it's
> back to normal now.
>
> Thanks for the link to dave.org.uk Jonathan, that's a neat index.
>
> [1] http://www.bbc.co.uk/radio/aod/mainframe.shtml
>
> --
> Dominic Cleal
> dominic@???


Well from Dominics suggestion, I clicked on file (although I get the
realplayer window on the bbc site realplayers still opens an external
player), open location and that gave me the link to the realplayer stream
(don't know why I never thought of that to start with). Problem is when I use
it with Jonathans command I get a couple of errors:

mit@2[~]$
URL="rtsp://rm-acl.bbc.co.uk/radio2/musicclub/bb/davidgilmour_track_16x9_bb.rm"
mplayer -cache 128 -bandwidth 9999999999999 $URL -ao
null -dumpstream -dumpfile /tmp/bbc2.ra
MPlayer 2:1.0~rc1-1mepis1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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
rtsp://rm-acl.bbc.co.uk/radio2/musicclub/bb/davidgilmour_track_16x9_bb.rm.
Resolving rm-acl.bbc.co.uk for AF_INET...
Connecting to server rm-acl.bbc.co.uk[212.58.227.104]: 554...
librtsp: server responds: 'RTSP/1.0 459 Aggregate operation not allowed'
Cache size set to 128 KBytes
rdt chunk not recognized: got 0x4f
rdt chunk not recognized: got 0x2a
Core dumped ;)

Exiting... (End of file)

The first error is librtsp: server responds: 'RTSP/1.0 459 Aggregate operation
not allowed'

This is followed a couple of lines down with the two lines rdt chunk not
recognized

A /tmp/bbc2.ra file was produced but it was only 3 minutes long (as opposed to
the hour+ long it should be and there was no sound from it.

Any thoughts?

Tim

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth