[rtmpdump] RTMP_ReadPacket, failed to read RTMP packet header

Andrew Brooks arb at sat.dundee.ac.uk
Wed Feb 17 19:28:51 CET 2010


Hello

I'm getting the error "RTMP_ReadPacket, failed to read RTMP packet header"
The problem seems to be that downloading restarts but I end up with a
corrupt/unusable output file.


Without verbose I see this:


RTMPDump v2.1c
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting download at: 0.000 kB
...
57398.799 kB / 3638.36 sec
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Resuming download at: 0.005 kB


With verbose output I see this:


57425.534 kB / 3640.02 sec
DEBUG: HandleCtrl, received ctrl. type: 31, len: 6
DEBUG: HandleCtrl, Stream BufferEmpty 1
DEBUG: Invoking pause
DEBUG: HandleCtrl, received ctrl. type: 32, len: 6
DEBUG: HandleCtrl, Stream BufferReady 1
DEBUG: HandleCtrl, received ctrl. type: 1, len: 6
DEBUG: HandleCtrl, Stream EOF 1
DEBUG: RTMP_ClientPacket, received: invoke 278 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:                     level, STRING:	status>
DEBUG: Property: <Name:                      code, STRING:	NetStream.Pause.Notify>
DEBUG: Property: <Name:               description, STRING:	Pausing secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14.>
DEBUG: Property: <Name:                   details, STRING:	secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14>
DEBUG: Property: <Name:                  clientid, STRING:	Ho0QhUQO>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Pause.Notify
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 11 (Resource temporarily unavailable)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: WriteStream returned: -1
DEBUG: Setting buffer time to: 36000000ms
INFO: Connection timed out, trying to resume.


DEBUG: Invoking pause
DEBUG: Invoking pause
Resuming download at: 0.005 kB
DEBUG: RTMP_ClientPacket, received: invoke 278 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:                     level, STRING:	status>
DEBUG: Property: <Name:                      code, STRING:	NetStream.Pause.Notify>
DEBUG: Property: <Name:               description, STRING:	Pausing secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14.>
DEBUG: Property: <Name:                   details, STRING:	secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14>
DEBUG: Property: <Name:                  clientid, STRING:	Ho0QhUQO>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Pause.Notify
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 282 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:                     level, STRING:	status>
DEBUG: Property: <Name:                      code, STRING:	NetStream.Unpause.Notify>
DEBUG: Property: <Name:               description, STRING:	Unpausing secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14.>
DEBUG: Property: <Name:                   details, STRING:	secure/radioscotland_aod/RBN2_rs_anderson_wed_b00qmbwt_2010_02_11_10_53_14>
DEBUG: Property: <Name:                  clientid, STRING:	Ho0QhUQO>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Unpause.Notify
1.649 kB / 3668.43 sec



Any ideas?

Thanks

Andrew


More information about the rtmpdump mailing list