[rtmpdump] rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet header

John Smith smithjohngroup at gmail.com
Sun Mar 21 18:50:57 CET 2010


On Sun, 21 Mar 2010 02:09:55 +0100, John Smith
<smithjohngroup at gmail.com> wrote :

> Hello,
> 
> I have used rtmpdump with rtmpsrv last week without problem.
> This morning, I am unable to use it because I am getting this error:
> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
> 
> I can however view the video without problem with my browser.
> 
> Can someone have an hint on the problem ?
> 
> Thanks !
> 
> Here is the verbose output:

And here is a more verbose output.
It seems that packet received after the checkbw invoke has a size of zero bytes ?
And more surprisingly, if I remove the "-W url", it works again ?!?
All this seems very strange...

RTMPDump v2.2a
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 2
DEBUG: Parsed host    : groupemsix.fcod.llnwd.net
DEBUG: Parsed app     : a2883
DEBUG: Protocol : RTMPE
DEBUG: Hostname : groupemsix.fcod.llnwd.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:production/regienum/m6_top-chef_30284_150320102040.mp4
DEBUG: tcUrl    : rtmpe://groupemsix.fcod.llnwd.net/a2883/d1
DEBUG: swfUrl   : http://groupemsix.vo.llnwd.net/o24/u/production/swf/v10_videoPlayer.swf
DEBUG: app      : a2883/d1
DEBUG: flashVer : LNX 10,0,45,2
DEBUG: live     : no
DEBUG: timeout  : 120 sec
DEBUG: SWFSHA256:
6F 19 5E C4 F7 FD 75 A2 03 A3 EE D8 37 4B DC 88 8E 8D 0F 22 D9 07 AD CD 54 63 BA 98 22 48 54 52 
DEBUG: SWFSize  : 265715
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06

DEBUG: HandShake: DH pubkey position: 472
DEBUG: HandShake: Client digest offset: 1383
DEBUG: HandShake: Initial client digest: 
AB C5 00 E6 42 79 6C A8 93 1B 9A F8 72 28 A9 DA 31 1C 49 9C F4 8F E3 1F F9 07 BC B7 1A 22 78 08 
DEBUG: HandShake: Type Answer   : 08
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
DEBUG: HandShake: Server Uptime : 812661428
DEBUG: HandShake: FMS Version   : 3.5.2.1
DEBUG: HandShake: Server DH public key offset: 617
DEBUG: HandShake: Secret key: 
85 B2 BA 75 86 2C 37 64 F7 B9 BE 0A AB AC EB 71 54 65 86 F1 FE BB 6C BF 01 7E 64 57 F8 82 D4 8C BC 1A 0F 7D 96 6A F8 BC B2 5A 2E E5 60 ED A2 E4 66 3D F7 92 03 E5 C9 93 32 3C 15 B7 3E B7 1E D9 CF 4F 17 D9 8C EC 80 52 2F B9 18 FB F0 51 04 79 85 47 3B EA 42 10 4E 23 73 8F 20 76 48 7E 4B FC 6F 4C 19 11 BD 1D AB E7 90 5B 2C 5F E8 CD AD 94 24 EC 82 56 03 AA 1A E6 7B AF C6 79 19 E9 4B EF 
DEBUG: RC4 Out Key: 
11 82 BB B6 4D A7 72 17 26 C2 A3 81 74 56 9A 1F 
DEBUG: RC4 In Key: 
4A 0F 11 61 01 63 EA CE 9D 61 FC 3B 3D 76 82 89 
DEBUG: HandShake: Calculated digest key from secure key and server digest: 
23 A8 4D 27 61 A5 60 B6 86 A5 D7 41 77 F9 AA CA 37 9D 3F C0 03 69 B3 97 C9 69 1D D1 1F 7C 6B 45 
DEBUG: HandShake: Client signature calculated:
88 7A 0F 31 3C 9A 72 33 CC 73 FC A1 5F A6 EA 4B A4 AB 19 E8 99 A0 6E B7 09 36 BB F3 53 27 74 DC 
DEBUG: HandShake: Server sent signature:
9A 12 19 F9 F0 0D 35 18 E5 22 B0 7C EF 0F 6B 20 23 9B 83 95 3A D1 6A 17 51 6E 8C 04 CA 1E E8 A8 
DEBUG: HandShake: Digest key: 
8E D5 35 AF 72 FA F6 26 30 33 C6 99 47 4B B7 9B 12 5B 0F 00 6B 82 8A 18 BF 82 F6 31 5C 4B CB 17 
DEBUG: HandShake: Signature calculated:
9A 12 19 F9 F0 0D 35 18 E5 22 B0 7C EF 0F 6B 20 23 9B 83 95 3A D1 6A 17 51 6E 8C 04 CA 1E E8 A8 
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=4, size=298
  0000:  03 00 00 00 00 01 2a 14  00 00 00 00               ......*.....      
  0000:  02 00 07 63 6f 6e 6e 65  63 74 00 3f f0 00 00 00   ...connect.?....  
  0010:  00 00 00 03 00 03 61 70  70 02 00 08 61 32 38 38   ......app...a288  
  0020:  33 2f 64 31 00 08 66 6c  61 73 68 56 65 72 02 00   3/d1..flashVer..  
  0030:  0d 4c 4e 58 20 31 30 2c  30 2c 34 35 2c 32 00 06   .LNX 10,0,45,2..  
  0040:  73 77 66 55 72 6c 02 00  47 68 74 74 70 3a 2f 2f   swfUrl..Ghttp://  
  0050:  67 72 6f 75 70 65 6d 73  69 78 2e 76 6f 2e 6c 6c   groupemsix.vo.ll  
  0060:  6e 77 64 2e 6e 65 74 2f  6f 32 34 2f 75 2f 70 72   nwd.net/o24/u/pr  
  0070:  6f 64 75 63 74 69 6f 6e  2f 73 77 66 2f 76 31 30   oduction/swf/v10  
  0000:  c3                                                 .                 
  0000:  5f 76 69 64 65 6f 50 6c  61 79 65 72 2e 73 77 66   _videoPlayer.swf  
  0010:  00 05 74 63 55 72 6c 02  00 2a 72 74 6d 70 65 3a   ..tcUrl..*rtmpe:  
  0020:  2f 2f 67 72 6f 75 70 65  6d 73 69 78 2e 66 63 6f   //groupemsix.fco  
  0030:  64 2e 6c 6c 6e 77 64 2e  6e 65 74 2f 61 32 38 38   d.llnwd.net/a288  
  0040:  33 2f 64 31 00 04 66 70  61 64 01 00 00 0c 63 61   3/d1..fpad....ca  
  0050:  70 61 62 69 6c 69 74 69  65 73 00 40 2e 00 00 00   pabilities. at ....  
  0060:  00 00 00 00 0b 61 75 64  69 6f 43 6f 64 65 63 73   .....audioCodecs  
  0070:  00 40 a8 ee 00 00 00 00  00 00 0b 76 69 64 65 6f   . at .........video  
  0000:  c3                                                 .                 
  0000:  43 6f 64 65 63 73 00 40  6f 80 00 00 00 00 00 00   Codecs. at o.......  
  0010:  0d 76 69 64 65 6f 46 75  6e 63 74 69 6f 6e 00 3f   .videoFunction.?  
  0020:  f0 00 00 00 00 00 00 00  00 09                     ..........        
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  02 00 00 00 00 00 04 05  00 00 00 00               ............      
  0000:  00 26 25 a0                                        .&%.              
DEBUG: HandleServerBW: server BW = 2500000
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  02 00 00 00 00 00 05 06  00 00 00 00               ............      
  0000:  00 26 25 a0 02                                     .&%..             
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  02 00 00 00 00 00 03 04  00 00 00 00               ............      
  0000:  00 1a 02                                           ...               
DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received: 
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response: 
00 1B 01 01 00 04 0D F3 00 04 0D F3 62 58 A1 A3 F4 77 6A 87 48 8B C4 64 7D 44 DA 93 32 6E 62 1D D6 D0 95 4D 3E E3 A1 78 90 8A 33 A8 
DEBUG2: RTMP_SendPacket: fd=4, size=44
  0000:  42 00 00 00 00 00 2c 04                            B.....,.          
  0000:  00 1b 01 01 00 04 0d f3  00 04 0d f3 62 58 a1 a3   ............bX..  
  0010:  f4 77 6a 87 48 8b c4 64  7d 44 da 93 32 6e 62 1d   .wj.H..d}D..2nb.  
  0020:  d6 d0 95 4d 3e e3 a1 78  90 8a 33 a8               ...M>..x..3.      
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  00 00 00 00 00 00 00 f0  14 00 00 00 00            .............     
  0000:  02 00 07 5f 72 65 73 75  6c 74 00 3f f0 00 00 00   ..._result.?....  
  0010:  00 00 00 03 00 06 66 6d  73 56 65 72 02 00 0d 46   ......fmsVer...F  
  0020:  4d 53 2f 33 2c 35 2c 33  2c 38 33 37 00 0c 63 61   MS/3,5,3,837..ca  
  0030:  70 61 62 69 6c 69 74 69  65 73 00 40 5f c0 00 00   pabilities. at _...  
  0040:  00 00 00 00 04 6d 6f 64  65 00 3f f0 00 00 00 00   .....mode.?.....  
  0050:  00 00 00 00 09 03 00 05  6c 65 76 65 6c 02 00 06   ........level...  
  0060:  73 74 61 74 75 73 00 04  63 6f 64 65 02 00 1d 4e   status..code...N  
  0070:  65 74 43 6f 6e 6e 65 63  74 69 6f 6e 2e 43 6f 6e   etConnection.Con  
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  c0 00                                              ..                
  0000:  6e 65 63 74 2e 53 75 63  63 65 73 73 00 0b 64 65   nect.Success..de  
  0010:  73 63 72 69 70 74 69 6f  6e 02 00 15 43 6f 6e 6e   scription...Conn  
  0020:  65 63 74 69 6f 6e 20 73  75 63 63 65 65 64 65 64   ection succeeded  
  0030:  2e 00 0e 6f 62 6a 65 63  74 45 6e 63 6f 64 69 6e   ...objectEncodin  
  0040:  67 00 00 00 00 00 00 00  00 00 00 04 64 61 74 61   g...........data  
  0050:  08 00 00 00 00 00 07 76  65 72 73 69 6f 6e 02 00   .......version..  
  0060:  09 33 2c 35 2c 33 2c 38  33 37 00 00 09 00 00 09   .3,5,3,837......  
DEBUG: RTMP_ClientPacket, received: invoke 240 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,3,837>
DEBUG: Property: <Name:              capabilities, NUMBER:	127.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:            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>
DEBUG2: RTMP_SendPacket: fd=4, size=4
  0000:  02 00 00 00 00 00 04 05  00 00 00 00               ............      
  0000:  00 26 25 a0                                        .&%.              
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=4, size=10
  0000:  42 00 00 00 00 00 0a 04                            B.......          
  0000:  00 03 00 00 00 00 00 00  01 2c                     .........,        
DEBUG2: RTMP_SendPacket: fd=4, size=25
  0000:  43 00 00 00 00 00 19 14                            C.......          
  0000:  02 00 0c 63 72 65 61 74  65 53 74 72 65 61 6d 00   ...createStream.  
  0010:  40 00 00 00 00 00 00 00  05                        @........         
DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=4
  0000:  00 00 00 00 00 00 00 15  14 00 00 00 00            .............     
  0000:  02 00 08 6f 6e 42 57 44  6f 6e 65 00 00 00 00 00   ...onBWDone.....  
  0010:  00 00 00 00 05                                     .....             
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:                  no-name., STRING:	onBWDone>
DEBUG: Property: <Name:                  no-name., NUMBER:	0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG2: RTMP_SendPacket: fd=4, size=21
  0000:  03 00 00 00 00 00 15 14  00 00 00 00               ............      
  0000:  02 00 08 5f 63 68 65 63  6b 62 77 00 40 08 00 00   ..._checkbw. at ...  
  0010:  00 00 00 00 05                                     .....             
DEBUG: Invoking _checkbw
DEBUG2: RTMP_ReadPacket: fd=4
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.




More information about the rtmpdump mailing list