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

www.channel4.com: Using Rtmpdump for downloading 4OD videos

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

WhynotAndy 02-20-2010 06:59 AM

www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Hello

I'm trying to use rtmpdump to save streams from 4OD (channel 4 UK) .
The video I'm trying is at
Code:

http://www.channel4.com/programmes/my-big-fat-gypsy-wedding/4od/player/3034485
URL snooper gives me rtmpe://ak.securestream.channel4.com/4oD/mp4:assets/CH4_08_02_16_48115001001003_001.mp4
and
Code:

http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-4.37.swf
When I use rtmpdump it gives me an error telling me to use --swfVfy
I've downloaded the 4odplayer-4.37.swf player and put it in the same folder as the rtmpdump but I don't really know what string to use for this or even if I needed to do this.

Any help on how to form the correct command for rtmpdump would be great .

Thanks

matt314159 03-05-2010 02:31 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
I'm also trying to record a stream at 4od via this method and failing miserably. Is it even possible with 4od?

Code:

http://www.channel4.com/programmes/hell-in-the-pacific

hyc 03-05-2010 03:37 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Quote:

Originally Posted by WhynotAndy (Post 16744)
Hello

I'm trying to use rtmpdump to save streams from 4OD (channel 4 UK) .
The video I'm trying is at
Code:

http://www.channel4.com/programmes/my-big-fat-gypsy-wedding/4od/player/3034485
URL snooper gives me rtmpe://ak.securestream.channel4.com/4oD/mp4:assets/CH4_08_02_16_48115001001003_001.mp4
and
Code:

http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-4.37.swf
When I use rtmpdump it gives me an error telling me to use --swfVfy
I've downloaded the 4odplayer-4.37.swf player and put it in the same folder as the rtmpdump but I don't really know what string to use for this or even if I needed to do this.

Any help on how to form the correct command for rtmpdump would be great .

Thanks

You don't need to download the SWF file yourself.

I can't doublecheck this since I'm not in the UK and they're denying access based on IP addresses. But something like this ought to work:

Code:

rtmpdump -r rtmpe://ak.securestream.channel4.com/4oD/mp4:assets/CH4_08_02_16_48115001001003_001.mp4 -W http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-4.37.swf -a 4oD -y mp4:assets/CH4_08_02_16_48115001001003_001 -V -o output.mp4

Invisi 03-08-2010 03:04 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Hi,

That command doesn't quite seem to do the trick - although it does get you quite some way there. The output is:

DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Co
nnect.Rejected>
DEBUG: Property: <Name: description, STRING: [ AccessManager.
Reject ] : Access denied!>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

Does that help in getting there?

hyc 03-08-2010 07:54 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Try adding -p and the URL of the web page.

matt314159 03-09-2010 01:10 AM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
you know what's funny? Using a windows XP machine, I used Any FLV Downloader and it worked great. no intricate commands or anything, it picked up the stream and you click the download button. Totally didn't work on my Windows 7 machine. Just thought I'd throw that out there.

WhynotAndy 03-09-2010 03:02 AM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Hello thanks for the answer
I had a go with the code you suggested and it didn't work
here is the debug info
I used a different video form the site as well as the original i posted a link to

Code:

C:\rtmp>rtmpdump -r rtmpe://ll.securestream.channel4.com/a4174/e1/mp4:xcuassets/
CH4_08_02_16_48491005001001_001.mp4 -W http://www.channel4.com/static/programmes
/asset/flash/swf/4odplayer-4.37.swf -a 4oD -y mp4:xcuassets/CH4_08_02_16_4849100
5001001_001 -V -o output.mp4 -p http://www.channel4.com/programmes/embarrassing-
bodies/4od#3039233
RTMPDump v2.1c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : ll.securestream.channel4.com
DEBUG: Port    : 1935
DEBUG: Playpath : mp4:xcuassets/CH4_08_02_16_48491005001001_001
DEBUG: tcUrl    : rtmpe://ll.securestream.channel4.com:1935/4oD
DEBUG: swfUrl  : http://www.channel4.com/static/programmes/asset/flash/swf/4odp
layer-4.37.swf
DEBUG: pageUrl  : http://www.channel4.com/programmes/embarrassing-bodies/4od#303
9233
DEBUG: app      : 4oD
DEBUG: auth    : <NULL>
DEBUG: subscribepath : <NULL>
DEBUG: flashVer : WIN 10,0,22,87
DEBUG: live    : no
DEBUG: timeout  : 120 sec
DEBUG: SWFSHA256:
02 FF 59 B6 E4 53 5B 8B 72 AD 31 28 E6 87 3E 1C C4 E4 F8 9F 11 18 07 7D 78 69 E5
 D5 20 64 28 8B
DEBUG: SWFSize  : 299789
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 06

DEBUG: HandShake: DH pubkey position: 987
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
75 FA E6 66 33 24 D7 79 B6 EE A1 C9 5E BC 92 E4 6B 89 89 AF E4 4B 2F 1E 1A EC A3
 1C D9 5D E5 EA
DEBUG: HandShake: Type Answer  : 06
DEBUG: HandShake: Server Uptime : 144462984
DEBUG: HandShake: FMS Version  : 3.5.2.1
DEBUG: HandShake: Server DH public key offset: 40
DEBUG: HandShake: Secret key:
06 A3 45 BF 6B 66 EE 3C 60 6B 52 1D 47 A2 94 13 69 D1 3C 33 BB 31 34 B3 D5 67 80
 33 62 5A 7B 5A AE AA 0F A2 0D 90 C2 B4 40 7D DE EF 5C A6 61 C5 5E 8D 6C 4F 60 6
E F3 53 D1 16 34 EB 8D 8B 38 9F FD ED 34 E8 63 8F 50 FF C5 B4 33 94 1D 87 2A 5A
DB 14 56 B8 FA 5D A8 EB FA BF 0F 75 EB D0 2E C9 DF 50 3F F2 0D 0D A2 F7 C8 A7 F0
 F0 C9 A5 C6 8F EE 0E 15 66 21 A4 2E 77 5E 73 69 0E E4 CC D9 24
DEBUG: RC4 Out Key:
48 56 45 D9 7B 81 DF 52 8D 21 5C AF DC A1 83 01
DEBUG: RC4 In Key:
B9 B9 BC EE 73 FB 3D 3E 04 D1 DC FA 29 50 E2 85
DEBUG: HandShake: Calculated digest key from secure key and server digest:
58 30 7B A2 9C 20 C8 E7 BC CB 46 43 CA 89 F1 B3 CF D4 84 5C D8 9C 0C D3 16 FC B3
 75 02 6D 63 18
DEBUG: HandShake: Client signature calculated:
A8 28 A2 90 CE 88 2C 78 F4 1F 61 5B 95 44 1B 93 DC 6D 7D 75 B0 93 83 F2 B0 B3 F4
 FC B0 12 91 F2
DEBUG: HandShake: Server sent signature:
3C 80 E1 AD 90 5F 5B CC 63 46 55 EA BE 09 5E B3 0D 31 6A 0F A6 DD EA 80 A6 C8 32
 FC 21 19 06 6E
DEBUG: HandShake: Digest key:
F9 10 96 9B B5 38 DD D9 EC 0E 16 CF 84 CC 20 C9 C0 8B BC 53 EC 5F 45 BC 36 09 AD
 C1 08 DE FF A7
DEBUG: HandShake: Signature calculated:
3C 80 E1 AD 90 5F 5B CC 63 46 55 EA BE 09 5E B3 0D 31 6A 0F A6 DD EA 80 A6 C8 32
 FC 21 19 06 6E
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 180 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:                    level, STRING:      error>
DEBUG: Property: <Name:                      code, STRING:      NetConnection.Co
nnect.Rejected>
DEBUG: Property: <Name:              description, STRING:      [ Server.Reject
] : (_defaultRoot_, _defaultVHost_) : Application (4oD) is not defined.>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.


hyc 03-09-2010 02:04 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Download rtmpdump 2.2. Read the manual page. Read the error message you got. Post back again after you've done all that.

elch 03-21-2010 10:53 AM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Without -a 4oD, this error vanishes but the stream still does not play. It says:

Quote:

DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,3,837>
DEBUG: Property: <Name: capabilities, NUMBER: 127.00>
DEBUG: Property: <Name: mode, NUMBER: 1.00>
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 3,5,3,837>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0.00, dLength=0, sending play: mp4:xcuassets/CH4_08_02_16_48491005001001_001
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 133 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Failed>
DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).>
DEBUG: Property: <Name: clientid, STRING: tmIg0ZPb>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.
Any ideas?

non77 04-04-2010 10:28 PM

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


 
Quote:

Originally Posted by hyc (Post 17053)
Download rtmpdump 2.2. Read the manual page. Read the error message you got. Post back again after you've done all that.

I've read the man page, but I still can't figure it out, would you mind explaining? I'm not even interested in the 4oD content, I just want to figure this out!

Thanks.


All times are GMT -6. The time now is 09:59 AM.