Alright I have a workable solution for you.

Go to
http://www.npr.org/templates/story/story.php?storyId=14218075

You will see a little button that says launch player.
asuming you don't have real media or windows media player installed
you'll get an error box asking you to install one or the other of
them.

Down in the lower right hand corner of the box, you'll see an option
to t "Launch Standalone Player"

If you click on it it will try to download an smil file.
This is a playlist and if you open it a text editor you will see it
looks something like this...

<smil>
<meta name="title" content="All Things Considered - Thursday,
September 6, 2007" />
<meta name="author" content="http://www.npr.org/"; />
<meta name="copyright" content="2007" />
<body>
<audio 
src="http://u.npr.org/xserver/utype=stream/position=gateway/aamsz=RM/site=NPR/area=Business.Economy/program=ATC/storyid=14218075/random=1754324173/pageid=53622114/GUID=00071DA9999506E0612B6D4561626364";
/>
<audio 
src="rtsp://real.npr.org:80/real.npr.na-central/npr/atc/2007/09/20070906_atc_01.rm?v1st=80A1B49F6D49C9B6&mt=1&primaryTopic=1017&assignedTopics=1001,1002,1003,1006,1017"
title="Adjustable-Rate Mortgages Fuel Foreclosure Crisis" author="All
Things Considered - Thursday, September 6, 2007" copyright="2007" />
</body>
</smil>

The line you are looking for is the <audio src=http
This line indicates where the audio is streaming from.
Just have mplayer fetch it or do the wget streamurl | mplayer

It will download as a .rm so you will need the real media codecs installed.

Hope that helps!

Sincerely,
Steve


On 9/6/07, Steve <[EMAIL PROTECTED]> wrote:
> Just a quick thought, one quick and dirty way to do it is to do
> something like this,.
>
> wget streamurl | mplayer
>
> On 9/6/07, Steve <[EMAIL PROTECTED]> wrote:
> > If you can post the URL I may be able to help with the stream rip,
> > it's usually not all that difficult.  I have several MSDN video
> > learning streams I had to view via a stream rip before, that did
> > similar things.
> >
> > On 9/6/07, Michael Torrie <[EMAIL PROTECTED]> wrote:
> > > So I'm trying to use mplayer to give me .wav output of a streamed audio
> > > program, say NPR's all things considered.  The problem is that the link
> > > is actually a playlist (can't seem to download it properly though).  So
> > > mplayer goes through the sections one by one and dutifully writes out
> > > the file, and then when the next one comes along, immediately truncates
> > > the file, which is very useless.
> > >
> > > I thought I'd be smart and write the audio output to stdout, and then
> > > redirect it or concatenate it to a file.  Surprise! the stdout stream is
> > > truncated too, so the same things happens, which I find odd.
> > >
> > > Does anyone have any solution to this problem?  All the mplayer list can
> > > suggest is that one download the playlist and run each url manually.
> > > Yet I can't do this.  If I download the asx file, then download the url
> > > contained in there, I just get the original asx file again.  Very
> > > frustrating.  Does anyone know how to get the playlist urls?
> > >
> > > thanks.
> > >
> > > Michael
> > >
> > >
> > > /*
> > > PLUG: http://plug.org, #utah on irc.freenode.net
> > > Unsubscribe: http://plug.org/mailman/options/plug
> > > Don't fear the penguin.
> > > */
> > >
> >
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to