View Single Post
  #7  
Old 09-22-2010, 11:01 PM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

BBC iPlayer - Downloading a Radio station's live stream


Running RTMPDUMP v2.1d on Windows 98, the following solution will record a BBC Radio live stream (provided you are in the UK).

You do NOT need to install the Macromedia Flash Player in order to use this solution. All you need is RTMPDUMP.exe (for the dumping of the stream to disk), and GOM Player (to play the file). I have, at present, no solution for playing the file whilst recording it: you must play it back from disk once you've finished making the recording.


First, open the Media Selector page (this example is for the BBC Radio 7 live stream) -

http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_7


Secondly, create a plain text batch (.BAT) file, using Notepad if you are running Windows. Here is the contents of my successful batch file -

set server=
set auth=
set slist=
set identifier=


rtmpdump --live --protocol 0 --host %server% -a live?auth=%auth%&aifp=v001&slist=%slist% --playpath %identifier%?auth=%auth%&aifp=v001&slist=%slist% -o BBC_live_mp4.flv


Thirdly, insert the text in the lines set server=, set auth=, set slist= and set identifier= from the corresponding parts of the Media Selector page.


Fourthly, if you are outside the UK make sure the set identifier= string (the station address) is the INT (International) version, not the UK version. The International version for Radio 7, for example, is: Radio_7_Int@6463

For International listeners, the set slist= string will also be Radio_7_Int@6463 (because the International broadcast has no lower quality stream, being - sadly - already a low quality stream).


With slight adaptations, the above solution should work for all BBC radio stations. The Media Selector pages for Radio 1, 2, 3, 4, 5live, and 6music contain the equivalent technical information:

Radio 1 -
http://www.bbc.co.uk/mediaselector/4.../bbc_radio_one

Radio 2 -
http://www.bbc.co.uk/mediaselector/4.../bbc_radio_two

Radio 3 -
http://www.bbc.co.uk/mediaselector/4...bc_radio_three

Radio 4 -
http://www.bbc.co.uk/mediaselector/4...c_radio_fourfm

Radio 5live -
http://www.bbc.co.uk/mediaselector/4...adio_five_live

Radio 6music -
http://www.bbc.co.uk/mediaselector/4...eam/bbc_6music

Radio 7 -
http://www.bbc.co.uk/mediaselector/4/mtis/stream/bbc_7


Notes :

1. This is a live stream: there is no means of resuming a live stream!

2. Most BBC radio shows can be recorded from the Listen Again pages (e.g. http://www.bbc.co.uk/radio7/programmes/schedules) for 7 days following the broadcast. But the need to record the live stream can arise, in those cases (now, thankfully, fairly few) where the show is not likely to be allocated a Listen Again link.

Live broadcasts, mainly, are not given Listen Again status (e.g. music concerts on Radio 1 or on 6Music, or sports broadcasts on Radio 5).
Reply With Quote