Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
rtmpdump failed to read RTMP packet header problemHi
I'm trying to dump this stream: Code:
http://tv4embed.com/usa/ABC-stream1.html Code:
rtmpdump -V -v -r "rtmp://rtmp.zerocast.tv:1935/redirect" -a "redirect" -f "LNX 16,0,0,305" -W "http://zerocast.tv/player-licensed.swf" -p "http://zerocast.in/embed.php?a=1&id=&width=620&height=470&autostart=true&strech=" -y "rGCi7bg0Qxvs8q7Sl13l" -T "Z3gUAz9mfhfx4LG" -o "Z3gUAz9mfhfx4LG.flv" but I get "ERROR: RTMP_ReadPacket, failed to read RTMP packet header" when I run this command. the full rtmpdump output is: Code:
RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 0 DEBUG: Parsed host : rtmp.zerocast.tv DEBUG: Parsed app : redirect DEBUG: Protocol : RTMP DEBUG: Hostname : rtmp.zerocast.tv DEBUG: Port : 1935 DEBUG: Playpath : rGCi7bg0Qxvs8q7Sl13l DEBUG: tcUrl : rtmp://rtmp.zerocast.tv:1935/redirect DEBUG: swfUrl : http://zerocast.tv/player-licensed.swf DEBUG: pageUrl : http://zerocast.in/embed.php?a=1&id=&width=620&height=470&autostart=true&strech= DEBUG: app : redirect DEBUG: flashVer : LNX 16,0,0,305 DEBUG: StopTime : 20000 msec DEBUG: live : yes DEBUG: timeout : 30 sec DEBUG: SWFSHA256: DEBUG: 0c 0a a9 9a a8 ee 11 5e b8 13 c5 9d 2d f3 64 28 DEBUG: 2e ee ee d6 c8 96 5e 18 03 e5 44 69 f6 e0 f6 96 DEBUG: SWFSize : 224524 DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 03 DEBUG: HandShake: Client digest offset: 417 DEBUG: HandShake: Initial client digest: DEBUG: 34 a3 71 73 d3 18 45 f2 36 15 4d 58 37 9f 31 a1 DEBUG: e1 78 72 ac 71 73 6b c0 84 5d 59 46 29 0a e4 97 DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 96850052 DEBUG: HandShake: FMS Version : 3.0.1.1 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47 DEBUG: HandShake: Client signature calculated: DEBUG: 09 d2 a0 ab 5d fa ef 8a 61 b0 f7 ed c4 d2 3c b1 DEBUG: 22 31 c9 7b ef 01 43 b5 76 d4 53 b5 b9 8d 49 20 DEBUG: HandShake: Server sent signature: DEBUG: 76 a3 3a b4 72 a4 50 65 b3 b4 fc 64 fa ee 72 ee DEBUG: 51 7f ad 61 e7 74 45 03 03 e6 82 81 9f 8e 93 df DEBUG: HandShake: Digest key: DEBUG: 6c 9e ba 5f 55 36 9f 90 39 5d 09 5e f4 2f 4a 67 DEBUG: 29 6f c6 62 63 b3 5c 58 f4 d3 4d c1 74 30 92 ab DEBUG: HandShake: Signature calculated: DEBUG: 76 a3 3a b4 72 a4 50 65 b3 b4 fc 64 fa ee 72 ee DEBUG: 51 7f ad 61 e7 74 45 03 03 e6 82 81 9f 8e 93 df DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG: Invoking connect INFO: Connected... DEBUG: HandleServerBW: server BW = 2500000 DEBUG: HandleClientBW: client BW = 2500000 2 DEBUG: HandleCtrl, received ctrl, type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 0 DEBUG: HandleChangeChunkSize, received: chunk size change to 4096 DEBUG: RTMP_ClientPacket, received: invoke 346 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name, STRING: _error> DEBUG: Property: <Name: no-name, NUMBER: 1.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name, OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected> DEBUG: Property: <Name: description, STRING: Connection failed: Application rejected connection.> DEBUG: Property: <Name: ex, OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: redirect, STRING: rtmpe://207.244.74.135:1935/goLive> DEBUG: Property: <Name: code, NUMBER: 302.00> DEBUG: (object end) DEBUG: Property: <Name: objectEncoding, NUMBER: 3.00> DEBUG: Property: <Name: clientid, NUMBER: 715988435.00> DEBUG: Property: <Name: secureToken, STRING: e9aa99d943e894199df2006ab5035ca364e559cf126ebc8a12c3a0f6427f36fbfe2e0cee> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_error> DEBUG: Parsing... DEBUG: Parsed protocol: 2 DEBUG: Parsed host : 207.244.74.135 DEBUG: Parsed app : goLive INFO: rtmp server sent redirect DEBUG: RTMP_ClientPacket, received: invoke 18 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name, STRING: close> DEBUG: Property: <Name: no-name, NUMBER: 0.00> DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <close> INFO: trying to connect with redirected url DEBUG: RTMP_Connect1, ... connected, handshaking DEBUG: HandShake: Client type: 06 DEBUG: HandShake: DH pubkey position: 600 DEBUG: HandShake: Client digest offset: 1332 DEBUG: HandShake: Initial client digest: DEBUG: 9e 9a 77 df d0 68 50 87 b4 53 fc 3a a1 d4 2a bb DEBUG: 65 3e 33 52 9c 21 cf 42 39 93 d9 cd f6 af f2 3a DEBUG: HandShake: Type Answer : 06 DEBUG: HandShake: Server Uptime : 562131846 DEBUG: HandShake: FMS Version : 3.0.2.1 WARNING: Trying different position for server digest! DEBUG: HandShake: Server DH public key offset: 1394 DEBUG: HandShake: Secret key: DEBUG: 3d dd a8 dd 98 69 cd 18 db 27 cd ec c2 2e 63 78 DEBUG: 31 ef ae af bf 44 cb 58 6a 11 ab 36 ba b0 33 61 DEBUG: 21 43 f1 48 94 d6 85 fd 0b 66 4d 11 3d 30 7c 10 DEBUG: 6b 3c a2 50 2e 4d 78 e4 a3 47 26 fe 6b e5 c7 c5 DEBUG: 01 ec 48 98 9c 14 36 fc 62 7d db a9 1c 16 2b dc DEBUG: f3 e3 a2 d9 04 f3 15 08 8d 22 5e 73 2d b9 97 63 DEBUG: 33 3d c0 de 55 56 c2 cb 48 75 32 c2 4c d5 1c 32 DEBUG: 1a 09 51 03 4b 73 94 25 be cf 6a 22 13 92 98 68 DEBUG: RC4 Out Key: DEBUG: a5 ef c8 74 f7 4c 11 41 3e 78 e0 ff de e8 36 52 DEBUG: RC4 In Key: DEBUG: c7 df ff b4 d3 f7 c3 2f d4 e5 a3 65 f4 48 c3 f9 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: f2 7b d8 95 54 a0 da be 6e ef d7 43 f5 a3 9d ac DEBUG: 2d c9 b5 ef 26 56 2c 08 ed 37 d7 6d 7b 1c bd 77 DEBUG: HandShake: Client signature calculated: DEBUG: 98 64 9d 76 32 08 4a 81 99 95 bd 65 8c e8 3b 80 DEBUG: 6e a2 a5 da 38 da e0 ac d8 be 44 8f 6d 39 56 89 DEBUG: HandShake: Server sent signature: DEBUG: 7f 5e 42 9f d8 92 9e 88 de e0 6f 48 f3 84 1e 7c DEBUG: 48 2a b1 6f 18 f7 0f 33 81 51 05 17 7e 5f 78 a2 DEBUG: HandShake: Digest key: DEBUG: 62 1a c2 88 60 c6 a7 24 9d 44 ac 56 c1 66 af 9d DEBUG: 1c 53 8f 85 ef cf ef 73 fc 7a 4b 91 2d f6 b9 6f DEBUG: HandShake: Signature calculated: DEBUG: 7f 5e 42 9f d8 92 9e 88 de e0 6f 48 f3 84 1e 7c DEBUG: 48 2a b1 6f 18 f7 0f 33 81 51 05 17 7e 5f 78 a2 DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Handshaking finished.... DEBUG: RTMP_Connect1, handshaked DEBUG: Invoking connect DEBUG: HandleServerBW: server BW = 2500000 DEBUG: HandleClientBW: client BW = 2500000 2 DEBUG: HandleCtrl, received ctrl, type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 0 DEBUG: HandleChangeChunkSize, received: chunk size change to 4096 DEBUG: RTMP_ClientPacket, received: invoke 349 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name, STRING: _result> DEBUG: Property: <Name: no-name, NUMBER: 1.00> DEBUG: Property: <Name: no-name, OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,5,2004> DEBUG: Property: <Name: capabilities, NUMBER: 31.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: (object end) DEBUG: Property: <Name: no-name, OBJECT> 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: data, ECMA_ARRAY> DEBUG: (object begin) DEBUG: Property: <Name: version, STRING: 3,5,5,2004> DEBUG: (object end) DEBUG: Property: <Name: clientid, NUMBER: 67497667.00> DEBUG: Property: <Name: objectEncoding, NUMBER: 3.00> DEBUG: Property: <Name: secureToken, STRING: 69374085a9900f23be50c01e8ef27f20b14b5b292ff51cce39cd34aaf9987e029be7bc9f> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: Invoking secureTokenResponse DEBUG: sending ctrl, type: 0x0003 DEBUG: Invoking createStream DEBUG: Socket closed by server, nBytes: 0 ERROR: RTMP_ReadPacket, failed to read RTMP packet header DEBUG: Closing connection. How can i fix it? |
#2
|
|||
|
|||
Re: rtmpdump failed to read RTMP packet header problemCode:
rtmpdump -v -r "rtmpe://207.244.74.135:1935/goLive" -a "goLive" -f "WIN 16,0,0,305" -W "http://cdn.zerocast.tv/player/aaaaa.swf" -p "http://zerocast.in/embed.php?a=1&id=&width=620&height=470&autostart=true&strech=" -y "rGCi7bg0Qxvs8q7Sl13l" -T "WaS41NlMjXaidsz" -o "output.flv" Code:
RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL WARNING: You haven't specified an output file (-o filename), using stdout Connecting ... WARNING: Trying different position for server digest! INFO: Connected... Starting Live Stream INFO: Metadata: INFO: presetname Custom INFO: creationdate Wed Feb 18 01:04:29 2015 INFO: videodevice iGrabber Device [3] INFO: framerate 30.00 INFO: width 640.00 INFO: height 480.00 INFO: videocodecid avc1 INFO: videodatarate 500.00 INFO: avclevel 51.00 INFO: avcprofile 77.00 INFO: videokeyframe_frequency 2.00 INFO: audiodevice Line (6- USB Device) INFO: audiosamplerate 22050.00 INFO: audiochannels 2.00 INFO: audioinputvolume 75.00 INFO: audiocodecid mp4a INFO: audiodatarate 32.00 3701.582 kB / 55.66 sec |
#3
|
|||
|
|||
Re: rtmpdump failed to read RTMP packet header problemHi
Thank you very much But can you tell me how you got the original url? |
#4
|
|||
|
|||
Re: rtmpdump failed to read RTMP packet header problemOh!
I got it! forget it Thanks |
Tags: rtmpdump, rtmp_readpacket |
Thread Tools | |
Display Modes | |
|
|