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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 05-06-2013, 09:38 PM
vnstream vnstream is offline
Junior Member
 
Join Date: May 2013
Posts: 1
vnstream is on a distinguished road
Default

rtmpdump RTMP_ReadPacket, failed to read RTMP packet header


hi everyone!

i just started to use rtmpdump with hope i can view my favourite online tv stream http://vtv4.vn/ on mplayer or vlc but so far no success. could someone help me, please?

following is the debug output.

many thanks

Code:
rtmpdump -z -v -r "rtmpe://112.197.2.11/live" -a "live" -f "LNX 11,2,202,261" -W "http://tv24.vn/getflash.ashx" -p "http://www.tv24.vn/" -y "vtv4.stream" | cvlc
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
DEBUG: Parsing...
DEBUG: Parsed protocol: 2
DEBUG: Parsed host    : 112.197.2.11
DEBUG: Parsed app     : live
WARNING: You haven't specified an output file (-o filename), using stdout
[0x8d9788] dummy interface: using the dummy interface module...
DEBUG: Protocol : RTMPE
DEBUG: Hostname : 112.197.2.11
DEBUG: Port     : 1935
DEBUG: Playpath : vtv4.stream
DEBUG: tcUrl    : rtmpe://112.197.2.11:1935/live
DEBUG: swfUrl   : http://tv24.vn/getflash.ashx
DEBUG: pageUrl  : http://www.tv24.vn/
DEBUG: app      : live
DEBUG: flashVer : LNX 11,2,202,261
DEBUG: live     : yes
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
...
DEBUG: SWFSize  : 218619
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: 85 ba e1 7e 20 c1 3e 53 7a b0 cb f3 64 3c 37 b8
DEBUG: 1b 24 cc 5e ee 3f 4f 78 a7 9b 9e 48 bf a3 3e cc
DEBUG: HandShake: Type Answer   : 06
DEBUG: HandShake: Server Uptime : 2090811966
DEBUG: HandShake: FMS Version   : 3.0.2.1
WARNING: Trying different position for server digest!
DEBUG: HandShake: Server DH public key offset: 1299
DEBUG: HandShake: Secret key: 
...
DEBUG2:   0010:  09                                                 .                 
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00               ............      
DEBUG2:   0000:  00 26 25 a0                                        .&%.              
DEBUG: HandleServerBW: server BW = 2500000
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00               ............      
DEBUG2:   0000:  00 26 25 a0 02                                     .&%..             
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  02 00 00 00 00 00 06 04  00 00 00 00               ............      
DEBUG2:   0000:  00 00 00 00 00 00                                  ......            
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  02 00 00 00 00 00 04 01  00 00 00 00               ............      
DEBUG2:   0000:  00 00 10 00                                        ....              
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  03 00 00 00 00 01 5d 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 37  2c 37 30 30 39 00 0c 63   MS/3,5,7,7009..c  
DEBUG2:   0030:  61 70 61 62 69 6c 69 74  69 65 73 00 40 3f 00 00   apabilities.@?..  
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:   0080:  6e 6e 65 63 74 2e 53 75  63 63 65 73 73 00 0b 64   nnect.Success..d  
DEBUG2:   0090:  65 73 63 72 69 70 74 69  6f 6e 02 00 15 43 6f 6e   escription...Con  
DEBUG2:   00a0:  6e 65 63 74 69 6f 6e 20  73 75 63 63 65 65 64 65   nection succeede  
DEBUG2:   00b0:  64 2e 00 04 64 61 74 61  08 00 00 00 00 00 07 76   d...data.......v  
DEBUG2:   00c0:  65 72 73 69 6f 6e 02 00  0a 33 2c 35 2c 37 2c 37   ersion...3,5,7,7  
DEBUG2:   00d0:  30 30 39 00 00 09 00 08  63 6c 69 65 6e 74 69 64   009.....clientid  
DEBUG2:   00e0:  00 41 c4 a6 a5 c7 80 00  00 00 0e 6f 62 6a 65 63   .A.........objec  
DEBUG2:   00f0:  74 45 6e 63 6f 64 69 6e  67 00 00 00 00 00 00 00   tEncoding.......  
DEBUG2:   0100:  00 00 00 0b 73 65 63 75  72 65 54 6f 6b 65 6e 02   ....secureToken.  
DEBUG2:   0110:  00 48 34 61 38 34 33 66  32 36 33 35 37 61 30 64   .H4a843f26357a0d  
DEBUG2:   0120:  63 34 38 37 38 62 38 36  66 62 65 63 39 65 32 36   c4878b86fbec9e26  
DEBUG2:   0130:  63 30 65 62 30 61 61 39  61 36 36 37 36 35 65 31   c0eb0aa9a66765e1  
DEBUG2:   0140:  38 65 36 61 37 63 62 31  63 61 35 33 62 64 64 32   8e6a7cb1ca53bdd2  
DEBUG2:   0150:  30 34 37 61 36 61 37 63  33 30 00 00 09            047a6a7c30...     
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,7,7009>
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, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:	3,5,7,7009>
DEBUG: (object end)
DEBUG: Property: <Name:           clientid, NUMBER:	692931471.00>
DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
DEBUG: Property: <Name:        secureToken, STRING:	4a843f26357a0dc4878b86fbec9e26c0eb0aa9a66765e18e6a7cb1ca53bdd2047a6a7c30>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG2: RTMP_SendPacket: fd=255, size=4
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00               ............      
DEBUG2:   0000:  00 26 25 a0                                        .&%.              
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=255, 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=255, 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
DEBUG: FCSubscribe: vtv4.stream
DEBUG2: RTMP_SendPacket: fd=255, size=38
DEBUG2:   0000:  43 00 00 00 00 00 26 14                            C.....&.          
DEBUG2:   0000:  02 00 0b 46 43 53 75 62  73 63 72 69 62 65 00 40   ...FCSubscribe.@  
DEBUG2:   0010:  08 00 00 00 00 00 00 05  02 00 0b 76 74 76 34 2e   ...........vtv4.  
DEBUG2:   0020:  73 74 72 65 61 6d                                  stream            
DEBUG: Invoking FCSubscribe
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2:   0000:  03 00 00 00 00 00 1d 14  00 00 00 00               ............      
DEBUG2:   0000:  02 00 07 5f 72 65 73 75  6c 74 00 40 00 00 00 00   ..._result.@....  
DEBUG2:   0010:  00 00 00 05 00 3f f0 00  00 00 00 00 00            .....?.......     
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:           no-name., STRING:	_result>
DEBUG: Property: <Name:           no-name., NUMBER:	2.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:           no-name., NUMBER:	1.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: vtv4.stream
DEBUG2: RTMP_SendPacket: fd=255, size=40
DEBUG2:   0000:  08 00 00 00 00 00 28 14  01 00 00 00               ......(.....      
DEBUG2:   0000:  02 00 04 70 6c 61 79 00  40 10 00 00 00 00 00 00   ...play.@.......  
DEBUG2:   0010:  05 02 00 0b 76 74 76 34  2e 73 74 72 65 61 6d 00   ....vtv4.stream.  
DEBUG2:   0020:  c0 8f 40 00 00 00 00 00                            ..@.....          
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=255, size=10
DEBUG2:   0000:  c2                                                 .                 
DEBUG2:   0000:  00 03 00 00 00 01 02 25  51 00                     .......%Q.        
DEBUG2: RTMP_ReadPacket: fd=255
DEBUG2: RTMP_SendPacket: fd=255, size=34
DEBUG2:   0000:  43 00 00 00 00 00 22 14                            C.....".          
DEBUG2:   0000:  02 00 0c 64 65 6c 65 74  65 53 74 72 65 61 6d 00   ...deleteStream.  
DEBUG2:   0010:  40 14 00 00 00 00 00 00  05 00 3f f0 00 00 00 00   @.........?.....  
DEBUG2:   0020:  00 00                                              ..                
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

Last edited by KSV : 05-07-2013 at 03:59 AM. Reason: use code tags
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 10:26 AM.


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