Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-03-2011, 09:12 AM
Ed999 Ed999 is offline
Senior Member
 
Join Date: Feb 2009
Posts: 115
Ed999 is on a distinguished road
Default

BBC Radio 4 Extra - RTMPDUMP v2.1d


RADIO 4 EXTRA from 2nd April 2011 -

BBC Radio 7 was abolished on 1st April, and replaced by Radio 4 Extra. In consequence, this is the new BATCH file for downloading .FLV files (MP4 Audio in FLV) from the Radio 4 Extra iPlayer, using RTMPdump.exe version 2.1d (for Windows 98) or 2.2d (for Windows XP).


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


The download is carried out by the following Batch (.BAT) file -


:: 1. Settings which do NOT change -

SET server=bbcmedia.fcod.llnwd.net
SET application=a1414/e3
SET as=adobe-hmac-sha256
SET av=1
SET te=connect



:: 2. Settings from Media Selector page -

SET et=1301836044
SET fmta-token=f9db339767bf11e400ce4de3ae4f74467f20181c8c67ede1bd 968bf33ce12a5bSET identifier=RBN2_radio_4_extra_-_sunday_0330_b00c79c2_2011_04_03_03_59_44.mp4

SET mp=radio4extra/secure_auth/RBN2_radio_4_extra_-_sunday_0330_b00c79c2_2011_04_03_03_59_44.mp4,radi o4extra/secure_auth/modem/RBN2_radio_4_extra_-_sunday_0330_b00c79c2_2011_04_03_04_00_12.mp4


Note:
The 'Identifier' string to use in the SET command (above) is the Filename only, not the entire Path.


:: Command line -
:: NB: In Windows 98, this must be run from a .PIF shortcut file with an Initial Environment of 1024 KB or greater.

rtmpdump -r "rtmp://%server%:1935/%application%?as=%as%&av=%av%&te=%te%&mp=%mp%&et=% et%&fmta-token=%fmta-token%" -a "%application%?as=%as%&av=%av%&te=%te%&mp=%mp%&et= %et%&fmta-token=%fmta-token%" -y "mp4:radio4extra/secure_auth/%identifier%" -o out_mp4a.flv


Notes:
1. If no port is specified, the download will still work!
2. The -p switch is NOT essential, the download will still work if it's omitted!
3. The -f switch is NOT essential, the download will still work if it's omitted!
4. The -W switch is NOT essential, the download will still work if it's omitted!
5. The -p, -f and -W switches are all derived from the iPlayer's Console page, which *plays* the stream aloud, so they are not needed if the stream is NOT being played. [NB: Even a completely *wrong* -p, -f or -W switch will NOT break the download!]
6. The entire -r switch after the colon can be omitted, as all its functions are contained in the -a switch.
7. The entire -r switch before the colon can be replaced by --protocol & --host switches.
8. The order of the authString elements in the -a switch can NOT be altered; the download fails if those elements are included in an out-of-order sequence.
9. The mp= switch must contain both of the secure_auth links: dial-up AND broadband; select the active one in the -y switch. [NB: Even though the dial-up URL (48Kbps) is not selected in the -y switch, it MUST be correct in the -a switch or the download fails!]
10. Sometimes the only way to get a connection is to remove the "modem" (i.e. dial-up) secure_auth alternative URL from both the -r switch and the -a switch.
11. By replacing the strings et= and fmta-token= in -r and in -a with current versions (obtained by refreshing the Media Selector page), it is possible to get an earlier version of the file than the default version, e.g. the 8am instead of the 7pm, if you have the URL address of the earlier version for the -a and -y switches.
12. From 2 April 2011, it is NOT possible to resume a partially completed download (the --resume switch no longer works).
13. To close a failed download faster (the default timeout is 120 secs) add: --timeout 10
14. "Handshake type mismatch": a WARNING is not an ERROR. A type 6 request can validly get 6, 8 or 9 in the reply (other values would probably indicate an actual problem).
Reply With Quote
 
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:00 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons