Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 buildI successfully downloaded an RTMPE stream that uses the new handshake 9 protocol, using the latest build of RTMPdump (v2.4, 2011-07-23 build), from the ITV Player in the UK. I also am in the UK.
The older build, RTMPdump v2.1d, gives the error "Type mismatch: client sent 6, server answered 9". FLVstreamer has no support for downloading an RTMPE stream. Details of RTMPDUMP.EXE I downloaded RTMPDUMP.EXE (RTMPdump v2.4, 2011-07-23 build) from - http://rtmpdump.mplayerhq.hu/.../rtmpdump-20110723-git-b627335-win32.zip Details of RTMPE Stream The RTMPE stream is an on-demand stream from the ITV Player, a catch-up service on the ITV website for digital station ITV3 - http://www.itv.com/.../bychannel/default.html?Filter=ITV3 This is the URL address of the page, an episode of the television series 'Jeeves and Wooster' - http://www.itv.com/itvplayer/video/?Filter=260878 This is the XML file which contains the RTMPE link (this file was in my 'Temporary Internet Files' folder once I started the episode playing by opening the above page) - PlaylistService.svc This command succeeded in a .BAT batch file - Quote:
Procedure - a. Play the target video in ITV Player using Internet Explorer. b. Retrieve the file PlaylistService.xml (size 19KB) from this folder - c. Copy the RTMPE instruction and the 800 kbps playpath from that .xml file and paste them into the .BAT batch file, to populate the -a and -y commands.C:\Windows\Temporary Internet Files d. Will need to include the --resume command, as will usually have to repeat steps a to c several times to get the complete file. Save a copy of output.flv to another folder each time, so can start from where left off if a resume attempt corrupts the output file, which sometimes happens. Continued in next post... |
#2
|
|||
|
|||
Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 buildThis is the verbose version -
Code:
DEBUG: Protocol : RTMPE DEBUG: Hostname : cp72511.edgefcs.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:production/CATCHUP/109044dc/bd20/471b/8154/9ec39c4cd2ad/1- 8013-0010-002_JEEVES-AND-WOOSTER-(SERIES-2)_TX010811_ITV400_4X3.MP4 DEBUG: tcUrl : rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEdGbKdCbIcJcI dRbpdVcDcla3ddb8c3d_bCchcYbGbJdLcAdNcKdwd_bxbScvcvb8-booy5f-eS-6ys4KBrlAtAs&aifp =v002&slist=production/ DEBUG: app : ondemand?auth=eaEdGbKdCbIcJcIdRbpdVcDcla3ddb8c3d_bCchcYbGbJdLc AdNcKdwd_bxbScvcvb8-booy5f-eS-6ys4KBrlAtAs&aifp=v002&slist=production/ DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 06 DEBUG: HandShake: DH pubkey position: 166 DEBUG: HandShake: Client digest offset: 879 DEBUG: HandShake: Initial client digest: DEBUG: 33 51 7a 0f 53 86 ae dd 37 9f 10 59 06 89 64 8f DEBUG: de c6 2d 8e 85 db 6a 04 f7 ad bb f0 64 0c 0d fa DEBUG: HandShake: Type Answer : 09 WARNING: HandShake: Type mismatch: client sent 6, server answered 9 DEBUG: HandShake: Server Uptime : 146970121 DEBUG: HandShake: FMS Version : 3.5.6.1 DEBUG: HandShake: Server DH public key offset: 579 DEBUG: HandShake: Secret key: DEBUG: 2f 62 c1 f0 4a 9e 3b 24 d5 00 3e 3a 20 3a 0c 2c DEBUG: 88 0b 3b 00 dc d2 11 5e cd 6f 2c 5f 2e 55 5b 23 DEBUG: 38 8e 5a 65 0c a6 78 80 d7 54 23 85 0c fe 4c 1d DEBUG: 72 e3 e1 6c ed 09 fe d0 fa a8 7c 65 3d 3d db ee DEBUG: 2e fd d9 88 ea 79 9a ce 83 fe c9 41 82 e0 07 77 DEBUG: 20 55 51 cc 0d 07 e3 8a 2b e3 47 74 3b d2 22 8c DEBUG: d6 03 55 4a 6d cc c0 f0 b5 06 32 8a 27 5b 5e 84 DEBUG: 46 79 cd 62 1b 5b f6 31 5f 6c 72 ca d8 73 27 31 DEBUG: RC4 Out Key: DEBUG: 04 12 36 f9 d2 fa 1d 27 24 69 16 f9 69 f8 3e 55 DEBUG: RC4 In Key: DEBUG: af 0d 5a 81 37 0b 29 81 fb 05 cb fe ea ee d0 c8 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: 97 90 e1 d1 ba 74 21 bd fe cd 57 df 46 af bd 3c DEBUG: 92 8e 71 14 b9 75 77 40 d6 e0 29 29 76 33 79 d0 DEBUG: HandShake: Client signature calculated: DEBUG: 5b b4 ba 9e b4 8b 50 8d e9 72 76 3c c5 e2 f4 39 DEBUG: 97 bb c2 fe 81 1f 0b c2 7d 0b ca f5 00 b1 0d 7b DEBUG: HandShake: Server sent signature: DEBUG: 85 cd f3 e0 81 44 2d fa 8f 39 ee dc 39 0e ee 56 DEBUG: df b3 9b 1c db 6d 48 2a ec a9 20 b2 41 15 6e f6 DEBUG: HandShake: Digest key: DEBUG: a8 88 42 24 a5 74 14 50 f4 55 21 17 05 01 46 12 DEBUG: 86 5d 40 6c 7c 12 e9 44 d0 7d ca 6b b7 58 2e 1f DEBUG: HandShake: Signature calculated: DEBUG: 85 cd f3 e0 81 44 2d fa 8f 39 ee dc 39 0e ee 56 DEBUG: df b3 9b 1c db 6d 48 2a ec a9 20 b2 41 15 6e f6 DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG: Invoking connect INFO: Connected... DEBUG: HandleServerBW: server BW = 1250000 DEBUG: HandleClientBW: client BW = 1250000 2 DEBUG: HandleCtrl, received ctrl. type: 26, len: 3 DEBUG: HandleCtrl, SWFVerification ping received: ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy! DEBUG: RTMP_ClientPacket, received: invoke 242 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,6,6003> 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.Su ccess> 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,6,6003> 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, stopTime=0, sending play: mp4:production/CATCHUP/10 9044dc/bd20/471b/8154/9ec39c4cd2ad/1-8013-0010-002_JEEVES-AND-WOOSTER-(SERIES-2) _TX010811_ITV400_4X3.MP4 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: RTMP_ClientPacket, received: invoke 57 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: RTMP_ClientPacket, received: invoke 20 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result id 0 without matching request DEBUG: HandleChangeChunkSize, received: chunk size change to 4096 DEBUG: HandleCtrl, received ctrl. type: 4, len: 6 DEBUG: HandleCtrl, Stream IsRecorded 1 DEBUG: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 1 DEBUG: RTMP_ClientPacket, received: invoke 392 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: status> DEBUG: Property: <Name: code, STRING: NetStream.Play.Reset> DEBUG: Property: <Name: description, STRING: Playing and resetting pr oduction/CATCHUP/109044dc/bd20/471b/8154/9ec39c4cd2ad/1-8013-0010-002_JEEVES-AND -WOOSTER-(SERIES-2)_TX010811_ITV400_4X3.MP4.> DEBUG: Property: <Name: details, STRING: production/CATCHUP/10904 4dc/bd20/471b/8154/9ec39c4cd2ad/1-8013-0010-002_JEEVES-AND-WOOSTER-(SERIES-2)_TX 010811_ITV400_4X3.MP4> DEBUG: Property: <Name: clientid, STRING: pjTYQEQ0> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset DEBUG: RTMP_ClientPacket, received: invoke 386 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: status> DEBUG: Property: <Name: code, STRING: NetStream.Play.Start> DEBUG: Property: <Name: description, STRING: Started playing producti on/CATCHUP/109044dc/bd20/471b/8154/9ec39c4cd2ad/1-8013-0010-002_JEEVES-AND-WOOST ER-(SERIES-2)_TX010811_ITV400_4X3.MP4.> DEBUG: Property: <Name: details, STRING: production/CATCHUP/10904 4dc/bd20/471b/8154/9ec39c4cd2ad/1-8013-0010-002_JEEVES-AND-WOOSTER-(SERIES-2)_TX 010811_ITV400_4X3.MP4> DEBUG: Property: <Name: clientid, STRING: pjTYQEQ0> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Play.Start Starting download at: 0.000 kB DEBUG: RTMP_ClientPacket, received: notify 24 bytes DEBUG: (object begin) DEBUG: (object end) DEBUG: ignoring too small audio packet: size: 0 DEBUG: RTMP_ClientPacket, received: notify 44 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: code, STRING: NetStream.Data.Start> DEBUG: (object end) DEBUG: (object end) DEBUG: RTMP_ClientPacket, received: notify 494 bytes |
#3
|
|||
|
|||
Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 buildCode:
DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: duration, NUMBER: 2991.23> DEBUG: Property: <Name: moovPosition, NUMBER: 32.00> DEBUG: Property: <Name: width, NUMBER: 512.00> DEBUG: Property: <Name: height, NUMBER: 384.00> DEBUG: Property: <Name: videocodecid, STRING: avc1> DEBUG: Property: <Name: audiocodecid, STRING: mp4a> DEBUG: Property: <Name: avcprofile, NUMBER: 66.00> DEBUG: Property: <Name: avclevel, NUMBER: 30.00> DEBUG: Property: <Name: aacaot, NUMBER: 2.00> DEBUG: Property: <Name: videoframerate, NUMBER: 25.00> DEBUG: Property: <Name: audiosamplerate, NUMBER: 24000.00> DEBUG: Property: <Name: audiochannels, NUMBER: 2.00> DEBUG: Property: <Name: trackinfo, OBJECT> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 74778000.00> DEBUG: Property: <Name: timescale, NUMBER: 25000.00> DEBUG: Property: <Name: language, STRING: eng> DEBUG: Property: <Name: sampledescription, OBJECT> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: avc1> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object begin) DEBUG: Property: <Name: length, NUMBER: 71789568.00> DEBUG: Property: <Name: timescale, NUMBER: 24000.00> DEBUG: Property: <Name: language, STRING: eng> DEBUG: Property: <Name: sampledescription, OBJECT> DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: sampletype, STRING: mp4a> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) INFO: Metadata: INFO: duration 2991.23 INFO: moovPosition 32.00 INFO: width 512.00 INFO: height 384.00 INFO: videocodecid avc1 INFO: audiocodecid mp4a INFO: avcprofile 66.00 INFO: avclevel 30.00 INFO: aacaot 2.00 INFO: videoframerate 25.00 INFO: audiosamplerate 24000.00 INFO: audiochannels 2.00 INFO: trackinfo: INFO: length 74778000.00 INFO: timescale 25000.00 INFO: language eng INFO: sampledescription: INFO: sampletype avc1 INFO: length 71789568.00 INFO: timescale 24000.00 INFO: language eng INFO: sampledescription: INFO: sampletype mp4a 46024.907 kB / 932.60 sec (31.1%) DEBUG: Invoking deleteStream ERROR: RTMP_ReadPacket, failed to read RTMP packet header 46112.430 kB / 933.40 sec (31.2%) DEBUG: RTMP_Read returned: 24087 Download may be incomplete (downloaded about 31.20%), try resuming DEBUG: Closing connection. |
#4
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bEd999
Quote:
Code:
C:\Documents and Settings\Администратор\Мои документы\STREAM>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondem and?ovpfv=1.1&auth=eaEbSbldpbaaVcldjbWdAaPaldvbmbmaHdSbpbRaNc0bbcqczcYaXd4accucB czaKbO-booYZo-eS-8yn4HBnjCtxs&aifp=v002&slist=production/" -f "WIN 10,3,181,34" -p "http://www.itv.com/itvplayer/video/?Filter=261592" -C Z: -y "mp4:production/ CATCHUP/15b986cc/e1fb/481d/96ea/a3adfb71c3fb/Y-0757-0172-B_HEARTBEAT-(SERIES-10) _TX040811_ITV400_16X9.MP4" -o Y-0757-0172-B_HEARTBEAT-(SERIES-10)_TX040811_ITV40 0_16X9.flv RTMPDump v2.1d (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy! Starting download at: 0.000 kB Metadata: duration 2768.64 moovPosition 32.00 width 512.00 height 288.00 videocodecid avc1 audiocodecid mp4a avcprofile 66.00 avclevel 30.00 aacaot 2.00 videoframerate 25.00 audiosamplerate 24000.00 audiochannels 2.00 trackinfo: length 69213000.00 timescale 25000.00 language eng sampledescription: sampletype avc1 length 66447360.00 timescale 24000.00 language eng sampledescription: sampletype mp4a 1834.448 kB / 36.80 sec (1.3%) Last edited by chap : 08-05-2011 at 12:36 AM. |
#5
|
|||
|
|||
Re: How to use RTMPDump? - rtmp dump tutorialsCongratulations on your success in downloading an RTMPE stream using RTMPdump v2.1d, running a non-English O/S.
Sadly, I haven't been able to duplicate your results with ITV Player. To assist other users, please could you clarify - a. Which operating system you are using. b. Which language version of the O/S you are running. c. Which country you are in. What you've achieved seems to be not possible for users within the UK, using v2.1d of RTMPDump under Windows 7, if running an unmodified (i.e. English) version of Windows 7. The Windows 7 system which I've been testing failed to connect to ITV Player's RTMPE stream even when running RTMPDump v2.3, but succeeded when running RTMPDump v2.4. I would much prefer to be able to use RTMPDump v2.1d as that would enable it to run even on my home computer, which uses Windows 98SE. |
#6
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bIt doesnt matter:
What OS What language OS What country What is relevant is the HANDSHAKE used by the RTMPE stream He obviously found an RTMPE stream using < handshake type 9. You obviously did not. Also, for god sakes get rid of Windows 98SE. That OS is 13 years old! |
#7
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bQuote:
b. ru c. use vpn |
#8
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bQuote:
As an update to this information, here are the details of the latest version of the BBC iPlayer's SWF file, as of today (11 Aug 2011) - url: http://www.bbc.co.uk/emp/ukrp/revisi...0538_1_emp.swf ctim: Thu, 11 Aug 2011 11:37:53 GMT date: Thu, 14 Apr 2011 13:59:25 GMT size: 00062544 hash: b079c5f7778a317f3aaf872f47023ff8dc1f408528be4a9fcc 732238a6c3ede3 Last edited by Ed999 : 08-11-2011 at 02:54 PM. |
#9
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bQuote:
Quote:
Chap, unfortunately when I located the actual stream referred to in your post and finally got it running I did discover that it is using the handshake 6 protocol, as shown in the above extract from RTMPdump's output, unlike most current streams on ITV Player, which in general now uses handshake 9 - hence can't be saved using RTMPDump v2.1d but needs v2.4. |
#10
|
|||
|
|||
Re: Successful download of RTMPE Handshake 9 stream using RTMPdump v2.4, 2011-07-23 bI tried , but strangely I can still download the video using RTMPdump 2.1d
Do you have a sample video(handshake 9)? Last edited by chap : 08-12-2011 at 12:45 PM. |
Thread Tools | |
Display Modes | |
|
|