[rtmpdump] RTMP_ReadPacket, failed to read RTMP packet header

Dan Schmidt helpdeskdan at gmail.com
Wed Nov 17 02:44:07 CET 2010


Strange result... I copied straight from rtmpsrv output.  Is this the
new token Howard Chu was talking about?  If so, I apologize for asking
an answered question. 

dan at dan-desktop:~/temp$ rtmpsrv
RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://cp9950.edgefcs.net:1935/ondemand?ovpfv=2.1.4" -a
"ondemand?ovpfv=2.1.4" -f "LNX 10,1,102,64" -W
"http://media.mtvnservices.com/player/release/?v=4.8.5" -p
"http://www.thedailyshow.com/full-episodes/mon-november-15-2010-marion-jones"
-C Z: -y
"mp4:mtvnorigin/gsp.comedystor/com/dailyshow/TDS/season_15/episode_146/ds_15146_act1_768x432_1300.mp4"
-o ds_15146_act1_768x432_1300.flv

Closing connection... done!

dan at dan-desktop:~/temp$ rtmpdump -r
"rtmpe://cp9950.edgefcs.net:1935/ondemand?ovpfv=2.1.4" -a
"ondemand?ovpfv=2.1.4" -f "LNX 10,1,102,64" -W
"http://media.mtvnservices.com/player/release/?v=4.8.5" -p
"http://www.thedailyshow.com/full-episodes/mon-november-15-2010-marion-jones"
-C Z: -y
"mp4:mtvnorigin/gsp.comedystor/com/dailyshow/TDS/season_15/episode_146/ds_15146_act1_768x432_1300.mp4"
-o ds_15146_act1_768x432_1300.flv -z
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp9950.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath :
mp4:mtvnorigin/gsp.comedystor/com/dailyshow/TDS/season_15/episode_146/ds_15146_act1_768x432_1300.mp4
DEBUG: tcUrl    : rtmpe://cp9950.edgefcs.net:1935/ondemand?ovpfv=2.1.4
DEBUG: swfUrl   : http://media.mtvnservices.com/player/release/?v=4.8.5
DEBUG: pageUrl  :
http://www.thedailyshow.com/full-episodes/mon-november-15-2010-marion-jones
DEBUG: app      : ondemand?ovpfv=2.1.4
DEBUG: flashVer : LNX 10,1,102,64
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 15 1e ec 9a 64 a7 0f 41 a6 c8 7b 7f a2 f3 52 b2
DEBUG: 59 ca 34 53 ef 6b 1c 5a 1c 07 09 42 ba 53 75 41
DEBUG: SWFSize  : 994387
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:
DEBUG: e6 dd b4 13 8e bc 16 80 f4 1e 4c c2 85 0d f7 4f
DEBUG: aa d6 ab 1b 34 85 87 c1 c2 d4 91 72 9f 20 ad 8f
DEBUG: HandShake: Type Answer   : 08
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
DEBUG: HandShake: Server Uptime : 1340319652
DEBUG: HandShake: FMS Version   : 3.5.4.1
DEBUG: HandShake: Server DH public key offset: 573
DEBUG: HandShake: Secret key:
DEBUG: f9 d8 5f 78 31 50 4a df 61 42 f2 04 ba e8 73 fb
DEBUG: 1b 02 fe 51 ae 14 6a ad 12 a1 3d 39 ec 29 49 d1
DEBUG: ec 57 01 59 9d 1f 13 bd bd 0d 10 1a 76 6b e6 bb
DEBUG: 2b 08 78 a0 3c b0 66 7b 94 61 34 a5 54 9b 6d 8d
DEBUG: 7d d1 19 a4 c5 c2 bf d2 03 5a a5 45 49 e4 d5 09
DEBUG: ef 86 a1 11 10 b9 f0 a6 6f d8 da 87 8b ab bb e9
DEBUG: 82 15 3e 7c a4 b9 a2 66 9b 1d 9f 6e 7f 21 91 da
DEBUG: 97 48 cb fb fd a1 34 0f 0d ae 54 47 f4 e6 ef 23
DEBUG: RC4 Out Key:
DEBUG: d4 91 cd d6 78 17 96 dd 86 5e da 27 54 20 aa 09
DEBUG: RC4 In Key:
DEBUG: cf bf 64 f4 d6 fd bc e5 ed 6a 2c 6b 2b 48 2a cd
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 31 f5 6b b9 8e 28 35 1b 2d a3 00 ce aa b2 13 17
DEBUG: 15 16 03 f7 53 86 77 7f 71 b8 1c 19 2c de 2b c8
DEBUG: HandShake: Client signature calculated:
DEBUG: ce 41 3a 4e 54 65 3b fc 76 45 19 84 8f fc 2f 8a
DEBUG: b9 8a 5c fc 76 d2 f6 eb 00 e5 a4 70 76 dd 00 2a
DEBUG: HandShake: Server sent signature:
DEBUG: ff be 75 87 ed 52 5b 4b e0 4a 10 68 cc bb 2e 35
DEBUG: ba 4b cf 10 d3 87 d6 8f 8d 57 fc 97 3c 5c 1b 97
DEBUG: HandShake: Digest key:
DEBUG: 4e 2a 0f dc b3 ad 36 58 c9 76 55 2c fc 21 8e eb
DEBUG: 16 57 58 06 38 16 35 45 9f e7 42 64 0c 35 03 98
DEBUG: HandShake: Signature calculated:
DEBUG: ff be 75 87 ed 52 5b 4b e0 4a 10 68 cc bb 2e 35
DEBUG: ba 4b cf 10 d3 87 d6 8f 8d 57 fc 97 3c 5c 1b 97
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=4, size=392
DEBUG2:   0000:  03 00 00 00 00 01 88 14  00 00 00 00              
............     
DEBUG2:   0000:  02 00 07 63 6f 6e 6e 65  63 74 00 3f f0 00 00 00  
...connect.?.... 
DEBUG2:   0010:  00 00 00 03 00 03 61 70  70 02 00 14 6f 6e 64 65  
......app...onde 
DEBUG2:   0020:  6d 61 6e 64 3f 6f 76 70  66 76 3d 32 2e 31 2e 34  
mand?ovpfv=2.1.4 
DEBUG2:   0030:  00 08 66 6c 61 73 68 56  65 72 02 00 0f 4c 4e 58  
..flashVer...LNX 
DEBUG2:   0040:  20 31 30 2c 31 2c 31 30  32 2c 36 34 00 06 73 77   
10,1,102,64..sw 
DEBUG2:   0050:  66 55 72 6c 02 00 35 68  74 74 70 3a 2f 2f 6d 65  
fUrl..5http://me 
DEBUG2:   0060:  64 69 61 2e 6d 74 76 6e  73 65 72 76 69 63 65 73  
dia.mtvnservices 
DEBUG2:   0070:  2e 63 6f 6d 2f 70 6c 61  79 65 72 2f 72 65 6c 65  
.com/player/rele 
DEBUG2:   0000:  c3                                                
.                
DEBUG2:   0000:  61 73 65 2f 3f 76 3d 34  2e 38 2e 35 00 05 74 63  
ase/?v=4.8.5..tc 
DEBUG2:   0010:  55 72 6c 02 00 34 72 74  6d 70 65 3a 2f 2f 63 70  
Url..4rtmpe://cp 
DEBUG2:   0020:  39 39 35 30 2e 65 64 67  65 66 63 73 2e 6e 65 74  
9950.edgefcs.net 
DEBUG2:   0030:  3a 31 39 33 35 2f 6f 6e  64 65 6d 61 6e 64 3f 6f  
:1935/ondemand?o 
DEBUG2:   0040:  76 70 66 76 3d 32 2e 31  2e 34 00 04 66 70 61 64  
vpfv=2.1.4..fpad 
DEBUG2:   0050:  01 00 00 0c 63 61 70 61  62 69 6c 69 74 69 65 73  
....capabilities 
DEBUG2:   0060:  00 40 2e 00 00 00 00 00  00 00 0b 61 75 64 69 6f  
. at .........audio 
DEBUG2:   0070:  43 6f 64 65 63 73 00 40  a8 ee 00 00 00 00 00 00  
Codecs. at ........ 
DEBUG2:   0000:  c3                                                
.                
DEBUG2:   0000:  0b 76 69 64 65 6f 43 6f  64 65 63 73 00 40 6f 80  
.videoCodecs. at o. 
DEBUG2:   0010:  00 00 00 00 00 00 0d 76  69 64 65 6f 46 75 6e 63  
.......videoFunc 
DEBUG2:   0020:  74 69 6f 6e 00 3f f0 00  00 00 00 00 00 00 07 70  
tion.?.........p 
DEBUG2:   0030:  61 67 65 55 72 6c 02 00  4b 68 74 74 70 3a 2f 2f  
ageUrl..Khttp:// 
DEBUG2:   0040:  77 77 77 2e 74 68 65 64  61 69 6c 79 73 68 6f 77  
www.thedailyshow 
DEBUG2:   0050:  2e 63 6f 6d 2f 66 75 6c  6c 2d 65 70 69 73 6f 64  
.com/full-episod 
DEBUG2:   0060:  65 73 2f 6d 6f 6e 2d 6e  6f 76 65 6d 62 65 72 2d  
es/mon-november- 
DEBUG2:   0070:  31 35 2d 32 30 31 30 2d  6d 61 72 69 6f 6e 2d 6a  
15-2010-marion-j 
DEBUG2:   0000:  c3                                                
.                
DEBUG2:   0000:  6f 6e 65 73 00 00 09 05                           
ones....         
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00              
............     
DEBUG2:   0000:  00 13 12 d0                                       
....             
DEBUG: HandleServerBW: server BW = 1250000
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00              
............     
DEBUG2:   0000:  00 13 12 d0 02                                    
.....            
DEBUG: HandleClientBW: client BW = 1250000 2
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  02 00 00 00 00 00 03 04  00 00 00 00              
............     
DEBUG2:   0000:  00 1a 01                                          
...              
DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 0f 2c 53 00 0f 2c 53 16 5b ec 76
DEBUG: ca 3c fa 18 5a 33 8f 94 a5 ed b9 42 73 fb 2b 64
DEBUG: 48 4e 01 13 8c 06 6a 55 b9 76 64 38
DEBUG2: RTMP_SendPacket: fd=4, size=44
DEBUG2:   0000:  42 00 00 00 00 00 2c 04                           
B.....,.         
DEBUG2:   0000:  00 1b 01 01 00 0f 2c 53  00 0f 2c 53 16 5b ec 76  
......,S..,S.[.v 
DEBUG2:   0010:  ca 3c fa 18 5a 33 8f 94  a5 ed b9 42 73 fb 2b 64  
.<..Z3.....Bs.+d 
DEBUG2:   0020:  48 4e 01 13 8c 06 6a 55  b9 76 64 38              
HN....jU.vd8     
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  00 00 00 00 00 00 00 f2  14 00 00 00 00           
.............    
DEBUG2:   0000:  02 00 07 5f 72 65 73 75  6c 74 00 3f f0 00 00 00  
..._result.?.... 
DEBUG2:   0010:  00 00 00 03 00 06 66 6d  73 56 65 72 02 00 0e 46  
......fmsVer...F 
DEBUG2:   0020:  4d 53 2f 33 2c 35 2c 34  2c 31 30 30 33 00 0c 63  
MS/3,5,4,1003..c 
DEBUG2:   0030:  61 70 61 62 69 6c 69 74  69 65 73 00 40 5f c0 00  
apabilities. at _.. 
DEBUG2:   0040:  00 00 00 00 00 04 6d 6f  64 65 00 3f f0 00 00 00  
......mode.?.... 
DEBUG2:   0050:  00 00 00 00 00 09 03 00  05 6c 65 76 65 6c 02 00  
.........level.. 
DEBUG2:   0060:  06 73 74 61 74 75 73 00  04 63 6f 64 65 02 00 1d  
.status..code... 
DEBUG2:   0070:  4e 65 74 43 6f 6e 6e 65  63 74 69 6f 6e 2e 43 6f  
NetConnection.Co 
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  c0 00                                             
..               
DEBUG2:   0000:  6e 6e 65 63 74 2e 53 75  63 63 65 73 73 00 0b 64  
nnect.Success..d 
DEBUG2:   0010:  65 73 63 72 69 70 74 69  6f 6e 02 00 15 43 6f 6e  
escription...Con 
DEBUG2:   0020:  6e 65 63 74 69 6f 6e 20  73 75 63 63 65 65 64 65  
nection succeede 
DEBUG2:   0030:  64 2e 00 0e 6f 62 6a 65  63 74 45 6e 63 6f 64 69  
d...objectEncodi 
DEBUG2:   0040:  6e 67 00 00 00 00 00 00  00 00 00 00 04 64 61 74  
ng...........dat 
DEBUG2:   0050:  61 08 00 00 00 00 00 07  76 65 72 73 69 6f 6e 02  
a.......version. 
DEBUG2:   0060:  00 0a 33 2c 35 2c 34 2c  31 30 30 33 00 00 09 00  
..3,5,4,1003.... 
DEBUG2:   0070:  00 09                                             
..               
DEBUG: RTMP_ClientPacket, received: invoke 242 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,4,1003>
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,4,1003>
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
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00              
............     
DEBUG2:   0000:  00 13 12 d0                                       
....             
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=4, size=10
DEBUG2:   0000:  42 00 00 00 00 00 0a 04                           
B.......         
DEBUG2:   0000:  00 03 00 00 00 00 00 00  01 2c                    
.........,       
DEBUG2: RTMP_SendPacket: fd=4, size=25
DEBUG2:   0000:  43 00 00 00 00 00 19 14                           
C.......         
DEBUG2:   0000:  02 00 0c 63 72 65 61 74  65 53 74 72 65 61 6d 00  
...createStream. 
DEBUG2:   0010:  40 00 00 00 00 00 00 00  05                       
@........        
DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=4
DEBUG2:   0000:  00 00 00 00 00 00 00 15  14 00 00 00 00           
.............    
DEBUG2:   0000:  02 00 08 6f 6e 42 57 44  6f 6e 65 00 00 00 00 00  
...onBWDone..... 
DEBUG2:   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
DEBUG2:   0000:  03 00 00 00 00 00 15 14  00 00 00 00              
............     
DEBUG2:   0000:  02 00 08 5f 63 68 65 63  6b 62 77 00 40 08 00 00  
..._checkbw. at ... 
DEBUG2:   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.

dan at dan-desktop:~/temp$


More information about the rtmpdump mailing list