 Re: Using RTMPDUMP with BBC iPlayer
Things you probably need to know -
1. I am running Windows 98. I know absolutely nothing about Windows XP/Vista/7.
2. I'm using rtmpdump v2.1d which is the last version that runs on Windows 98. Changes in later versions of rtmpdump mean that my solutions might only work for you if you run v2.1d (but don't use earlier versions, as they have unresolved bugs, use v2.1d).
3. I have posted about the radio iPlayer, not the tv iPlayer. I haven't had much success with the tv version, because it offers so many bitrate streams. That causes complications. I have done successful downloads from TV, on a handful of occasions. But each time I had to bodge a solution! Haven't got the hang of it yet.
The host address bbcmedia.fcod.llnwd.net is ONLY valid for radio!
The BBC use many different host addresses. You need to look at my above posts and understand how to open the Media Selector page. That page will give you all the vital details such as host address, etc.
4. You can't run rtmpsrv by double-clicking the EXE file! Here's the contents of my batch file -
@ECHO OFF
rem *** Edit the HOSTS file ***
rem Replace line 1 with this:
rem 127.0.0.1 bbcmedia.fcod.llnwd.net
ATTRIB -R -S -H C:\WINDOWS\HOSTS
EDIT C:\WINDOWS\HOSTS
ATTRIB +R +S +H C:\WINDOWS\HOSTS
rem *** Start RTMPSRV ***
:: Start RTMPSRV.EXE and pipe the URLs it displays to a .BAT file
:: to be used with RTMPDUMP to download the iPlayer file
rtmpsrv > RTMPdump_run.bat
After you've run that batch file, with rtmpsrv running, you start the iPlayer page playing. The above batch file saves the output from rtmpsrv for you.
Then, close the iPlayer page. Close rtmpsrv.
Then run my second batch file -
@ECHO OFF
rem *** Edit the HOSTS file ***
rem Restore the normal line 1:
rem 127.0.0.1 localhost
ATTRIB -R -S -H C:\WINDOWS\HOSTS
EDIT C:\WINDOWS\HOSTS
ATTRIB +R +S +H C:\WINDOWS\HOSTS
rem *** Run RTMPDUMP ***
rem ** View the Download commands **
C:\WINDOWS\NOTEPAD.EXE RTMPdump_run.bat
rem ** Delete all but one of the Download commands **
EDIT RTMPdump_run.bat
rem ** Run RTMPDUMP to download the FLV file **
CALL RTMPdump_run.bat
rem ** Rename the downloaded file **
REN *.MP4 *.flv
|