Audio/video stream recording forums 
 | 
| Attention Visitor: | 
You may have to register or log in before you can post: 
  | 
		
			
  | 	
	
	
		
		|||||||
     
		  
 
	
	 | 
| 
		 | 
	Thread Tools | Display Modes | 
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			www.channel4.com: Using Rtmpdump for downloading 4OD videosHello 
		
	
		
		
		
		
		
	
		
		
	
	
	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 and Code: 
	http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-4.37.swf 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  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosI'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  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosQuote: 
	
 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  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosHi, 
		
	
		
		
		
		
		
	
		
		
	
	
	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?  | 
| 
		 
			 
			#5  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosTry adding -p and the URL of the web page. 
		
	
		
		
		
		
		
	
		
		
	
	
	 | 
| 
		 
			 
			#6  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosyou 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. 
		
	
		
		
		
		
		
	
		
		
	
	
	 | 
| 
		 
			 
			#7  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosHello 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.  | 
| 
		 
			 
			#9  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosWithout -a 4oD, this error vanishes but the stream still does not play. It says: 
		
	
		
		
		
		
		
	
		
		
	
	
	Quote: 
	
  | 
| 
		 
			 
			#10  
			
			
			
			
			
		 
		
		
	 | 
|||
		
		
  | 
|||
	
	
		
			
			Re: www.channel4.com: Using Rtmpdump for downloading 4OD videosQuote: 
	
 Thanks.  | 
 
 
 | 
		
	
		
| Tags: 4od, channel4, rtmpdump, rtmpsrv, swf verification, swfvfy | 
| Thread Tools | |
| Display Modes | |
		
  | 
	
		
  |