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

Re: BBC iPlayer for Radio - Live Stream


Thanks to your kind assistance, I have now solved the problem.

Running RTMPDUMP v2.1d on Windows 98, the following solution will record the Radio 7 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 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=cp60691.live.edgefcs.net
set auth=daEdrandIanbUbXbQbTbRcdbHcXcrdxbYcc-bmMSgl-bWG-InoGEnzoLCwFpxH
set slist=Radio_7_UK@s6464;Radio_7_UK_Low@s7081
set identifier=Radio_7_UK@s6464

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



Thirdly, replace the text highlighted in red in the lines set auth= and set slist= with the corresponding parts from the Media Selector page.


Fourthly, if you are outside the UK you will also need to replace the set identifier= string (the station address) with the INT (International) version, replacing the UK version. The International version 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