Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Using rtmpdump,rtmpsrv,rtmpsuck,RTMPexplorer to download BBC iPlayer radio & TV shows

(http://stream-recorder.com/forum/showthread.php?t=9995)

pihug12 09-06-2011 11:00 AM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Quote:

Originally Posted by chap (Post 32189)
remove from the command option "W"
Code:

rtmpdump -r "rtmp://80.239.224.94:1935/ondemand" -a "ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=daEbaadcEdBaIcjaadydHd2aWbjbEb1bVcV-bozA60-bWG-BnoFAqDnJDwEnzG&aifp=v001&slist=secure/1500kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.mp4;secure/banksr03-00067476-2manydjs_performanceh264_Flash8_v1_1;secure/800kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.mp4" -f "WIN 10,3,183,5" -p "http://www.bbc.co.uk/music/festivals/readingandleeds/2011/artists/2manydjs/" -C B:0 -y "mp4:secure/800kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.mp4" -o banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.flv
Use AdvTor:cool: .But it is better to use free VPN UK (more speed, faster boot up).

Woooow ! I got some questions for you. :D
I know that using a VPN is a better solution, but this method can be universal if the right exit-node exists. I will write a tutorial when I will be able to do all the steps.

1- How did you get this link ? Yours is a lot cleaner than mine. And you can see the two qualities (800kbps and 1500kbps), it's so awesome !

2- With Tor + Polipo the HTTP proxy is 127.0.0.1:8118 and the SOCKS proxy is 127.0.0.1:9050. So I tried to add "-S 127.0.0.1:9050" to your line. But then I got :
Quote:

WARNING: HandShake: client signature does not match!
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
I think the problem is coming from the "auth" line (&auth=daEbaadcEdBaIcjaadydHd2aWbjbEb1bVcV-bozA60-bWG-BnoFAqDnJDwEnzG) but I don't know how to generate another for me.

3- I tried AdvOR. This software is great ! I found out how to set up an GB exit-node and I catched the RTMPexplorer + RTMPSrv windows. The video played fine but RTMPSrv grabbed nothing. What am I missing ?

If you can answer all the questions, you're a boss. :cool:

pihug12 09-11-2011 03:46 AM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Thanks chap !

1- How did you get this address ? We can see the both qualities (800kbps and 1500kbps) in your URL, it's so awesome. °_°

2- I tried AdvTor, this software is great. :D But it doesn't work with RTMPexplorer with the "intercept new program" function. I have to use the proxy (127.0.0.1:9050) to bypass this problem.
RTMP Explorer doesn't catch the video with some versions of RTMPdump. I'm sure there are some bugs in this last software.

3- I can't use your address cause the "auth" parameter is bad I think (auth=daEbaadcEdBaIcjaadydHd2aWbjbEb1bVcV-bozA60-bWG-BnoFAqDnJDwEnzG). How can I generate it ?

I will write a tutorial when I can do all the steps by myself.

Thanks again. ;)

any ANONYMOUS forum user 09-13-2011 10:30 AM

Re: Recording RTMP streams from BBC media sites.. what works now?


 
Sorry, not available in my area.

Try to use RTMPexplorer with rtmpsuck.

See also:
How to record rtmp:// flash video .flv stream from embedded Adobe Flash Player

Ed999 09-14-2011 03:13 AM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Quote:

Originally Posted by mynameis (Post 32179)
That'd be definitely useful... being able to change the underlaying browser.

To choose which browser to use with RTMPexplorer, I believe you will have to contact the program's developer and submit to him a new-feature request.

However, as a work-around you could set your computer to use your preferred browser, Chrome, as the system's default browser. I find I can make changes within Windows to select a particular browser instead of Internet Explorer.

The unusual log output being seen in rtmpexplorer is quite typical for that program. It behaves very differently to rtmpdump, and the on-screen output is just one of the differences. I don't think rtmpexplorer has enjoyed as much testing as RTMPdump, and so still has some "rough edges".


For BBC files, a better way to capture the BBC iplayer stream is the program get_iplayer.pl because it gives you, optionally, a lot of information about the stream. These are the commands to use to get the stream information, i.e. the details about the different bitrate streams available for a particular tv show -

"C:\Program Files (x86)\Perl\bin\perl.exe" get_iplayer.pl --info 11138 >> Info.txt

"C:\Program Files (x86)\Perl\bin\perl.exe" get_iplayer.pl --streaminfo 11138 >> Info.txt

Obviously, you need to install Perl, as get_iplayer is a perl script.

Replace the id number 11138 shown in my example with the actual index number for the stream - i.e. the tv show - that you want. The command to use to identify the index number you need is -

"C:\Program Files (x86)\Perl\bin\perl.exe" get_iplayer.pl --type=tv --search "Sky At Night"

(replace the tv show name in this example with the name of the show you want).


Get_iplayer.pl can be downloaded at http://www.mediafire.com/?pd0nj8wk1qqj4cp

Perl (specifically, Active Perl) can be downloaded at http://www.mediafire.com/?vaay2joy2jz

This is a Windows version of the Perl software.


My solution of choice is to use get_iplayer to identify the stream details etc, but then to use rtmpdump to do the actual download.

Get_iplayer can't actually download an rtmp stream. It merely calls rtmpdump to do the downloading for it. There are often problems in setting up get_iplayer correctly to do that call; so I find it easier to just build the necessary rtmpdump command in a batch file, using copy-and-paste, from the information provided by the --info and --streaminfo functions in get_iplayer.

The usual approach, of using rtmpsrv.exe to get the command-string for you, will ONLY download the default stream. But a BBC tv show can have up to 6 streams, each using a different bitrate (including 800kbps and 1500kbps), and the easiest way to identify all the available streams - and their settings, as needed by rtmpdump - is the method using get_iplayer, which I've described. Otherwise, you are limited to just the default stream, which is usually the one with the lowest bitrate (typically, 400kbps) - and, accordingly, it has the poorest picture quality.


You don't need rtmpdump v2.4 for a BBC stream, because the BBC don't use rtmpe streams. Therefore the older builds of rtmpdump work fine. I use rtmpdump v2.1d, and it has no problem saving any BBC tv show, either in Windows 7 or in Win98SE.

pihug12 09-14-2011 12:46 PM

Re: Using rtmpdump,rtmpsrv,rtmpsuck,RTMPexplorer to download BBC iPlayer radio & TV s


 
@Ed999 : I can't use get_iplayer with the video I want :
* _http://www.bbc.co.uk/iplayer/episode/p00k33nq/
* _http://www.bbc.co.uk/music/festivals/readingandleeds/2011/artists/2manydjs/#p00k33nq
I don't live in the UK. What am I missing ?

chap 09-14-2011 04:49 PM

Re: Using rtmpdump,rtmpsrv,rtmpsuck,RTMPexplorer to download BBC iPlayer radio & TV s


 
Quote:

Originally Posted by Ed999 (Post 32466)
The usual approach, of using rtmpsrv.exe to get the command-string for you, will ONLY download the default stream. But a BBC tv show can have up to 6 streams, each using a different bitrate (including 800kbps and 1500kbps), and the easiest way to identify all the available streams - and their settings, as needed by rtmpdump - is the method using get_iplayer, which I've described. Otherwise, you are limited to just the default stream, which is usually the one with the lowest bitrate (typically, 400kbps) - and, accordingly, it has the poorest picture quality.

May depend on your connection speed?

Code:

RTMP Server v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://80.239.224.63:1935/ondemand" -a "ondemand?_fcs_vhost=cp41752
.edgefcs.net&auth=daEb.cxa6b_aodlbqaubRcAaQbNcObqardL-boCs4W-bWG-DpoDIoznJEoFtwC
&aifp=v001&slist=secure/800kbps/banksr03-00067476-2manydjs_performanceh264_Flash
9_Med_v1_0.mp4;secure/banksr03-00067476-2manydjs_performanceh264_Flash8_v1_1;sec
ure/1500kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.mp4" -f "
WIN 10,3,183,7" -W "http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf"
 -p "http://www.bbc.co.uk/iplayer/episode/p00k33nq/Reading_and_Leeds_Festival_20
11_Muse_2ManyDJs_Reading_Festival_2011_highlights/" -C B:0 -y "mp4:secure/1500kb
ps/banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.mp4" -o banksr03-00
067476-2manydjs_performanceh264_Flash9_Hi_v1_0.flv

Closing connection... done!

RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for client digest!
INFO: Connected...

Code:

C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-window
s\rtmpdump-2.3\rtmpexplorer>rtmpdump -r "rtmp://80.239.224.94:1935/ondemand" -a
"ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=daEdobJbLbZbIbBdjbWbacGcvaHd0aZa4d
J-boCtdt-bWG-FoqEHoxoJCuHwxK&aifp=v001&slist=secure/1500kbps/banksr03-00067476-2
manydjs_performanceh264_Flash9_Hi_v1_0.mp4;secure/800kbps/banksr03-00067476-2man
ydjs_performanceh264_Flash9_Med_v1_0.mp4;secure/banksr03-00067476-2manydjs_perfo
rmanceh264_Flash8_v1_1" -p "http://www.bbc.co.uk/iplayer/episode/p00k33nq/Readin
g_and_Leeds_Festival_2011_Muse_2ManyDJs_Reading_Festival_2011_highlights/" -C B:
0 -y "mp4:secure/1500kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v
1_0.mp4" -o banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.flv
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration              4726.64
INFO:  moovPosition          40.00
INFO:  width                640.00
INFO:  height                360.00
INFO:  videocodecid          avc1
INFO:  audiocodecid          mp4a
INFO:  avcprofile            77.00
INFO:  avclevel              30.00
INFO:  aacaot                2.00
INFO:  videoframerate        25.00
INFO:  audiosamplerate      48000.00
INFO:  audiochannels        2.00
INFO: trackinfo:
INFO:  length                11816600.00
INFO:  timescale            2500.00
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  length                226874368.00
INFO:  timescale            48000.00
INFO: sampledescription:
INFO:  sampletype            mp4a
4357.981 kB / 23.68 sec (0.5%)

Code:

General
Complete name                    : C:\Documents and Settings\Администратор\Мои документы\STREAM\rtmpdump-2.3-windows\rtmpdump-2.3\rtmpexplorer\banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.flv
Format                          : Flash Video
File size                        : 5.26 MiB
Duration                        : 28s 840ms
Overall bit rate                : 1 529 Kbps

Video
Format                          : AVC
Format/Info                      : Advanced Video Codec
Format profile                  : Main@L3.0
Format settings, CABAC          : No
Format settings, ReFrames        : 2 frames
Codec ID                        : 7
Duration                        : 28s 840ms
Width                            : 640 pixels
Height                          : 360 pixels
Display aspect ratio            : 16:9
Frame rate mode                  : Constant
Frame rate                      : 25.000 fps
Color space                      : YUV
Chroma subsampling              : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Color primaries                  : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics        : BT.709-5, BT.1361
Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
Format                          : AAC
Format/Info                      : Advanced Audio Codec
Format profile                  : LC
Codec ID                        : 10
Duration                        : 28s 800ms
Channel(s)                      : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                : Lossy


vor12 11-17-2011 11:00 PM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Quote:

Originally Posted by chap (Post 32189)
remove from the command option "W"
Code:

rtmpdump -r "rtmp://80.239.224.94:1935/ondemand" -a "ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=daEbaadcEdBaIcjaadydHd2aWbjbEb1bVcV-bozA60-bWG-BnoFAqDnJDwEnzG&aifp=v001&slist=secure/1500kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Hi_v1_0.mp4;secure/banksr03-00067476-2manydjs_performanceh264_Flash8_v1_1;secure/800kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.mp4" -f "WIN 10,3,183,5" -p "http://www.bbc.co.uk/music/festivals/readingandleeds/2011/artists/2manydjs/" -C B:0 -y "mp4:secure/800kbps/banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.mp4" -o banksr03-00067476-2manydjs_performanceh264_Flash9_Med_v1_0.flv
Use AdvTor:cool: .But it is better to use free VPN UK (more speed, faster boot up).

Hello! Sorry to bump an old thread but I thought this could help me out with an issue I've been having downloading BBC video from their website outside the UK - clips not available on iPlayer.

It looks as though you live in Ukraine, yet were able to download a BBC video using RTMPdump/AdvOR? Did you set up a GB exit node for RTMPexplorer, or was it another method?

If you were actually successful, it seems I have a little hope getting a video from outside the UK. For reference, this is is clip I'm trying to capture: http://www.bbc.co.uk/programmes/p00lxvtg

Any help is VASTLY appreciated!

chap 11-18-2011 12:00 AM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Quote:

Originally Posted by vor12 (Post 34411)

If you were actually successful, it seems I have a little hope getting a video from outside the UK. For reference, this is is clip I'm trying to capture: http://www.bbc.co.uk/programmes/p00lxvtg

Any help is VASTLY appreciated!

use free vpn(UK)

Code:

RTMP Server v2.4 GIT-2011-11-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand" -a "ondemand?auth=daEbzao
dlcDbtdjbqcjarcxdrbMa4czbndb-boXGf1-bWG-GnpGBpFoOEwFtyL&aifp=v001&slist=secure/8
00kbps/parkie02-00076616-HIDDLESTONE_Flash9_Med_v1_0.mp4;secure/1500kbps/parkie0
2-00076616-HIDDLESTONE_Flash9_Hi_v1_0.mp4;secure/parkie02-00076616-HIDDLESTONE_F
lash8_v1_1" -f "WIN 11,0,1,152" -W "http://www.bbc.co.uk/emp/releases/iplayer/re
visions/617463_618125_3/617463_618125_3_emp.swf" -p "http://www.bbc.co.uk/progra
mmes/p00lxvtg" -C O:1 -C O:0 -y "secure/parkie02-00076616-HIDDLESTONE_Flash8_v1_
1?auth=daEbzaodlcDbtdjbqcjarcxdrbMa4czbndb-boXGf1-bWG-GnpGBpFoOEwFtyL&aifp=v001&
slist=secure/800kbps/parkie02-00076616-HIDDLESTONE_Flash9_Med_v1_0.mp4;secure/15
00kbps/parkie02-00076616-HIDDLESTONE_Flash9_Hi_v1_0.mp4;secure/parkie02-00076616
-HIDDLESTONE_Flash8_v1_1" -o parkie02-00076616-HIDDLESTONE_Flash8_v1_1.flv

Closing connection... done!

RTMPDump v2.4 GIT-2011-11-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  creationdate          Wed Nov 16 23:37:53 2011
INFO:  duration              192.03
INFO:  framerate            25.00
INFO:  height                360.00
INFO:  lastkeyframetimestamp 191080.00
INFO:  lasttimestamp        192025.00
INFO:  On2                  Technologies
INFO:  width                640.00
4561.012 kB / 73.12 sec (38.0%)


vor12 11-18-2011 12:18 AM

Re: BBC Player problem / RTMPExplorer + rtmpdump 2.4


 
Quote:

Originally Posted by chap (Post 34413)
use free vpn(UK)

Code:

RTMP Server v2.4 GIT-2011-11-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r "rtmp://cp41752.edgefcs.net:1935/ondemand" -a "ondemand?auth=daEbzao
dlcDbtdjbqcjarcxdrbMa4czbndb-boXGf1-bWG-GnpGBpFoOEwFtyL&aifp=v001&slist=secure/8
00kbps/parkie02-00076616-HIDDLESTONE_Flash9_Med_v1_0.mp4;secure/1500kbps/parkie0
2-00076616-HIDDLESTONE_Flash9_Hi_v1_0.mp4;secure/parkie02-00076616-HIDDLESTONE_F
lash8_v1_1" -f "WIN 11,0,1,152" -W "http://www.bbc.co.uk/emp/releases/iplayer/re
visions/617463_618125_3/617463_618125_3_emp.swf" -p "http://www.bbc.co.uk/progra
mmes/p00lxvtg" -C O:1 -C O:0 -y "secure/parkie02-00076616-HIDDLESTONE_Flash8_v1_
1?auth=daEbzaodlcDbtdjbqcjarcxdrbMa4czbndb-boXGf1-bWG-GnpGBpFoOEwFtyL&aifp=v001&
slist=secure/800kbps/parkie02-00076616-HIDDLESTONE_Flash9_Med_v1_0.mp4;secure/15
00kbps/parkie02-00076616-HIDDLESTONE_Flash9_Hi_v1_0.mp4;secure/parkie02-00076616
-HIDDLESTONE_Flash8_v1_1" -o parkie02-00076616-HIDDLESTONE_Flash8_v1_1.flv

Closing connection... done!

RTMPDump v2.4 GIT-2011-11-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  creationdate          Wed Nov 16 23:37:53 2011
INFO:  duration              192.03
INFO:  framerate            25.00
INFO:  height                360.00
INFO:  lastkeyframetimestamp 191080.00
INFO:  lasttimestamp        192025.00
INFO:  On2                  Technologies
INFO:  width                640.00
4561.012 kB / 73.12 sec (38.0%)


Thanks for the reply!

I assume you used RTMPexplorer to generate that command line?

Also, I'm not sure what you mean by free VPN - is there any particular one you'd recommend? Should it work with RTMPexplorer? Apologies for the noob questions ^^


All times are GMT -6. The time now is 03:07 PM.