View Single Post
  #3  
Old 09-17-2010, 12:09 PM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

Re: Using RTMPDUMP with BBC iPlayer


Yes, sure, the procedure I've outlined in this thread is a little bit complicated. But it gives you a second option, if your favourite downloader program hits a snag.

The trouble with get_iplayer is that although it's said to work great for Windows XP, it doesn't work so well for Windows 9x. A lot of the more recent changes in get_iplayer just don't work unless you're running WinXP or later, and as I use Windows 98 (and know many people who do) I wanted to offer a solution that will help them too.

I do include (in my original post in this thread) the string which rtmpsrv returns when interrogating a BBC Limelight server for radio. That command string works! So at the moment rtmpsrv works okay for that type of server. However, it doesn't work at ALL for the BBC's Akamai servers for radio. So for those, you need a different solution.


Actually, my solution (above), using rtmpdump v2.1d, is less complicated than it looks. It boils down to this -

First, open the Playlist page (replace the 8 zero's with the 8-digit number in the URL of the BBC page that plays the iPlayer show):-

http://www.bbc.co.uk/iplayer/playlist/00000000

Second, open the Media Selector page (replace the 8 zero's with the 8 digit Identifier contained in the Playlist page):

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



A. The highest quality on-demand stream: AAC in MP4A in FLV -

SET mp=
SET et=
SET fmta-token=
SET identifier=


rtmpdump --protocol 0 --host bbcmedia.fcod.llnwd.net -a a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=%mp%&et=%et%&fmta-token=%fmta-token% -y %identifier% -o output_mp4a.flv


B. The MP3 on-demand stream: MP3 in FLV -

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


rtmpdump --protocol 0 --host %server% -a ondemand?auth=%auth%&aifp=%aifp%&slist=%slist% -y %identifier% -o output_mp3.flv
Reply With Quote