From: Garry Knight on
Whiskers wrote:

> With a little fiddling and given the right codecs, mplayer can also be
> used - with the advantage that the stream can be 'dumped' for later use,

How do you get mplayer to dump a stream?

--
Garry Knight
garryknight(a)gmx.net
From: Garry Knight on
ge0ge wrote:

> It would have been nice to get it working in Firefox ... which I feel it
> should do. Maybe some teenie-weenie something else needs to be done but
> I don't know what.

If you've tried to view BBC News video in Firefox before, the site will have
set a cookie saving your preferences. If you find and delete that cookie
then click any video link and set your preferences again, it might just
work.

--
Garry Knight
garryknight(a)gmx.net
From: ge0ge on
Garry Knight wrote:
> ge0ge wrote:
>
>> It would have been nice to get it working in Firefox ... which I feel it
>> should do. Maybe some teenie-weenie something else needs to be done but
>> I don't know what.
>
> If you've tried to view BBC News video in Firefox before, the site will have
> set a cookie saving your preferences. If you find and delete that cookie
> then click any video link and set your preferences again, it might just
> work.

Spot on! I did just that and it bloody well worked. Thanks.


--
We've sent a man to the moon, and that's 29,000 miles away. The center
of the Earth is only 4,000 miles away. You could drive that in a week,
but for some reason nobody's ever done it.
-- Andy Rooney
From: Whiskers on
On 2007-01-28, Garry Knight <garryknight(a)gmx.net> wrote:
> Whiskers wrote:
>
>> With a little fiddling and given the right codecs, mplayer can also be
>> used - with the advantage that the stream can be 'dumped' for later use,
>
> How do you get mplayer to dump a stream?

Use the appropriate options on the command line; from man mplayer (which
is a very large and confusing document):

-dumpfile <filename> (MPlayer only)
Specify which file MPlayer should dump to. Should be used to-
gether with -dumpaudio / -dumpvideo / -dumpstream.

-dumpstream (MPlayer only)
Dumps the raw stream to ./stream.dump. Useful when ripping from
DVD or network. If you give more than one of -dumpaudio,
-dumpvideo, -dumpstream on the command line only the last one
will work.

You have to get the rtsp:// URL from whatever the website 'sends' as the
start of the stream; I haven't tried it myself yet, but I have read that
mplayer will accept one of the BBC's ".ram" files as a 'playlist' - using
mplayer's -playlist option. Those files seem to contain just one line,
which is the URL of the actual stream; eg

[Download]$ ls *.ram
fmg2.ram
[Download]$ cat fmg2.ram
rtsp://rmlive.bbc.co.uk/bbc-rbs/rmlive/ev7/live24/radio4/live/r4_dsat_g2.ra
[Download]$

I can 'trap' the .ram file by running Opera with plugins disabled,
selecting the BBC stream, then when the "BBC Player" appears in the browser
I click on "Listen using stand-alone Real Player" and then 'save' the
file. I'm sure I could streamline this a lot if I worked at the settings
in Opera. The BBC player and the files associated with it don't seem to
have a uniform interface across all the places where they offer it. (As a
last resort, a packet sniffer can extract the actual URL).

See also <http://dave.org.uk/streams/> and
<http://beebotron.awardspace.com/#bbclistenagainlinks> (both "unofficial").

--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
From: Liam O'Toole on
On Sun, 28 Jan 2007 21:46:46 +0000
Garry Knight <garryknight(a)gmx.net> wrote:

> Whiskers wrote:
>
> > With a little fiddling and given the right codecs, mplayer can also
> > be used - with the advantage that the stream can be 'dumped' for
> > later use,
>
> How do you get mplayer to dump a stream?
>

From the mplayer documentation:

Once you succeed in making MPlayer play your favorite internet
stream, you can use the option -dumpstream to save the stream into a
file. For example:

mplayer http://217.71.208.37:8006 -dumpstream -dumpfile stream.asf

will save the content streamed from http://217.71.208.37:8006 into
stream.asf. This works with all protocols supported by MPlayer, like
MMS, RSTP, and so forth.

--

Liam