Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-20-2010, 07:59 AM
WhynotAndy WhynotAndy is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
WhynotAndy is on a distinguished road
Default

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
Reply With Quote
  #2  
Old 03-05-2010, 03:31 PM
matt314159 matt314159 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 2
matt314159 is on a distinguished road
Default

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
Reply With Quote
  #3  
Old 03-05-2010, 04:37 PM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

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


Quote:
Originally Posted by WhynotAndy View Post
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
Reply With Quote
  #4  
Old 03-08-2010, 04:04 PM
Invisi Invisi is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Invisi is on a distinguished road
Default

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?
Reply With Quote
  #5  
Old 03-08-2010, 08:54 PM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

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


Try adding -p and the URL of the web page.
Reply With Quote
  #6  
Old 03-09-2010, 02:10 AM
matt314159 matt314159 is offline
Junior Member
 
Join Date: Mar 2010
Posts: 2
matt314159 is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old 03-09-2010, 04:02 AM
WhynotAndy WhynotAndy is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
WhynotAndy is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 03-09-2010, 03:04 PM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

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.
Reply With Quote
  #9  
Old 03-21-2010, 11:53 AM
elch elch is offline
Member
 
Join Date: Mar 2010
Posts: 78
elch is on a distinguished road
Default

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?
Reply With Quote
  #10  
Old 04-04-2010, 11:28 PM
non77 non77 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
non77 is on a distinguished road
Default

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


Quote:
Originally Posted by hyc View Post
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.
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:10 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons