[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: capture real audio stream



Lorenzo Bettini wrote:
> I'm trying the link you provided with the command
> 
> mplayer 
> "rtsp://rmv8.bbc.net.uk/radio2/fridaymusic.ra?BBC-UID=a426cbda207670378b86528c714caba3684a2b4fc040b101329203b36444a5b5&SSO2-UID='" 
> -vo null -vc null -ao pcm:file=/mnt/appo/musica/webber.wav
> 
> and it seems to work fine! :-)

Note that the BBC-UID parameter is a cookie that enables them to
gather statistics about the number of users using their site and
things like that.  It may be left off entirely and the link will work
fine (but without providing them user statistics).  Normally a browser
would return the same cookie for that browser for the same user when
they visit the site again or download other content.

In other words it would probably be friendly if everyone avoided using
the same cookie.  Not providing a cookie I believe would appear as a
browser with cookies disabled.

> by the way, isn't there a way to record directly in mp3 I suppose?

Not presently, at least not that mplayer allows.  The best that can be
done AFAICT is to dump to a pipe and to encode to ogg from the pipe in
parallel.  I have seen references to an "mplayer-stdout" but have not
been able to capture it yet.  I use the dump-to-a-named-pipe method
and then encode to ogg in parallel.

> cothrige wrote:
> >I do hope this is not the way that the BBC Radio people will be doing
> >things everywhere, as it is certainly a great deal less convenient.

Agreed.

Bob



Reply to: