 Re: RTMPSrv/RTMPSuck fail at iPlayer
Here's an example of how to download a Radio show. TV shows are similar, but can be much more complicated, as they tend to have up to six alternative bitrates instead of just two.
To download an MP4 radio file, from a "Listen Again" (on demand) stream, from a Limelight server -
First, open the Playlist page by inserting the 8 digit PID (ID number) from the iPlayer schedule, in place of the 8 zero's marked in red:
http://www.bbc.co.uk/iplayer/playlist/00000000
Then open the media selector page by inserting the 8 digit IDENTIFIER found in the Playlist page, instead of the 8 zero's marked in red:
http://www.bbc.co.uk/mediaselector/4/mtis/stream/00000000
Use the details on the media selector page, in the section marked Limelight, 128 kbps, aac to complete the following batch file (remember, this example is for a BBC Radio 7 radio show: tv will be slightly different) -
:: Details from Media Selector page of a radio show -
:: 1. Details that never change
set protocol=rtmp
set server=bbcmedia.fcod.llnwd.net
set port=1935
set application=a1414/e3
:: 2. Contents of authString (as, av & te never change)
set as=adobe-hmac-sha256
set av=1
set te=connect
set mp=bbc7/secure_auth/modem/_____.mp4,bbc7/secure_auth/____.mp4
set et=__________
set fmta-token=______________________________________
:: 3. The Playpath (mp4 URL)
set identifier=mp4:bbc7/secure_auth/RBN2_bbc7_-_________________________________________.mp4
:: The Command :-
rtmpdump --protocol 0 --host %server% -a %application%?as=%as%&av=%av%&te=%te%&mp=%mp%&et=% et%&fmta-token=%fmta-token% -y %identifier% -o output_mp4.flv
Notes:
1. Contains only details from the Media Selector page.
2. Batch file must be run from a PIF set to an environment setting of 1024 KB extra Memory (on the PIF's Memory tab).
3. I am running Windows 98. To use RTMPDUMP in Win9x you need version 2.1d or earlier. Later versions of RTMPDUMP, and all versions of FLVstreamer, will not run on Windows 9x.
|