To use
RTMPDUMP with Windows 98 / 98SE / ME you need to use v2.1d (or earlier):
http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.1d-windows.zip
RTMPDUMP v2.2d requires Windows XP or later. It generates an error ('fault in MSVCRT.DLL') in Windows 9x.
I, too, would very much like to know which command line arguments would produce helpful debug logs. Can anybody help?
In the case of an archive (i.e. a non-iPlayer) BBC file, which they use to stream on-demand shows that are intended to be available for longer than 7 days following transmission, including their education and scientific shows (e.g. Patrick Moore's astronomy series 'The Sky At Night'), RTMPSRV.exe does not appear to be able to detect the connection settings.
A command can be built by hand, as follows, since these RTMP files are not using quite as complex a command as iPlayer -
1. In the HTML code of the BBC webpage that plays the file, locate the URL address of the Playlist (an .XML file). Example:
http://www.bbc.co.uk/archive/xml/76/20.xml
2. Open the Playlist page. It contains the SERVER and IDENTIFIER data. Construct the following URL (on a *single* line), to open the Media Selector page:
http://www.bbc.co.uk/mediaselector/4/gtis/stream/?
server=
[SERVER]&identifier=
[IDENTIFIER]
Example:
http://www.bbc.co.uk/mediaselector/4/gtis/stream/?server=cp47317.edgefcs.net&identifier=archive/white/OAT_BBC_7620
3. Open the Media Selector page. It contains the APPLICATION (always "ondemand") and TOKEN data. Construct the following URL:
rtmpdump -r "rtmp://
[SERVER]:1935/ondemand?
_fcs_vhost=
[SERVER]&auth=
[TOKEN]&aifp=v001
&slist=
[IDENTIFIER]" --tcUrl "rtmp://
[SERVER]:80/
ondemand?_fcs_vhost=
[SERVER]&auth=
[TOKEN]
&aifp=v001&slist=
[IDENTIFIER]" --app "ondemand?
_fcs_vhost=
[SERVER]&auth=
[TOKEN]&aifp=v001&slist=
[IDENTIFIER]" --auth "
[TOKEN]" -W "http://www.bbc.co.uk
/emp/9player.swf?revision=18182_20020" -o output.flv
NB: The -W command represents the version of the Macromedia Flash plugin installed in your computer (Flash Player 9 in my case), plus a revision (i.e. version) number found in the HTML code of the BBC webpage in question.
Here is an example of a complete command line -
rtmpdump -r "rtmp://cp47317.edgefcs.net:1935/ondemand?_fcs_vhost=cp47317.edgefcs.net&auth=dbEc7 bqbZdtc9dSa7b7c0d_cJbmdLa7awd0-bmehZn-c0-d0i_-KorEBqFpGErEwxL&aifp=v001&slist=archive/white/OAT_BBC_7620" --tcUrl "rtmp://cp47317.edgefcs.net:80/ondemand?_fcs_vhost=cp47317.edgefcs.net&auth=dbEc7 bqbZdtc9dSa7b7c0d_cJbmdLa7awd0-bmehZn-c0-d0i_-KorEBqFpGErEwxL&aifp=v001&slist=archive/white/OAT_BBC_7620" --app "ondemand?_fcs_vhost=cp47317.edgefcs.net&auth=dbEc 7bqbZdtc9dSa7b7c0d_cJbmdLa7awd0-bmehZn-c0-d0i_-KorEBqFpGErEwxL&aifp=v001&slist=archive/white/OAT_BBC_7620" --auth "dbEc7bqbZdtc9dSa7b7c0d_cJbmdLa7awd0-bmehZn-c0-d0i_-KorEBqFpGErEwxL" -W "http://www.bbc.co.uk/emp/9player.swf?revision=18182_20020" -o file.flv