ArchiveOrangemail archive

rtmpdump discussion and development


rtmpdump.mplayerhq.hu
(List home) (Recent threads) (22 other MPlayer lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 2,359 messages, beginning Aug 2009
  • 0 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

RTMP_ReadPacket, failed to read RTMP packet header

Ad
Andrew Brooks 1266431173Wed, 17 Feb 2010 18:26:13 +0000 (UTC)
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
Howard Chu 1266432247Wed, 17 Feb 2010 18:44:07 +0000 (UTC)
Andrew Brooks wrote: > 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 > Any ideas?
Already fixed in SVN, get -r250 or newer.
Andrew Brooks 1266432426Wed, 17 Feb 2010 18:47:06 +0000 (UTC)
On Wed, 17 Feb 2010 18:46:49 -0000, Howard Chu wrote: > > Already fixed in SVN, get -r250 or newer.
Thanks for the fast reply! I've just tried the latest SVN which seems to work much better :-) I now get: Starting download at: 0.000 kB 57507.761 kB / 3645.24 sec ERROR: RTMP_ReadPacket, failed to read RTMP packet header Resuming download at: 57547.229 kB The kB values are different, is that OK? Andrew
Howard Chu 1266459275Thu, 18 Feb 2010 02:14:35 +0000 (UTC)
Andrew Brooks wrote: > On Wed, 17 Feb 2010 18:46:49 -0000, Howard Chu<hyc@highlandsun.com> wrote: >> >> Already fixed in SVN, get -r250 or newer. > > Thanks for the fast reply! I've just tried the latest SVN which seems > to work much better :-) I now get: > > Starting download at: 0.000 kB > 57507.761 kB / 3645.24 sec > ERROR: RTMP_ReadPacket, failed to read RTMP packet header > Resuming download at: 57547.229 kB > > The kB values are different, is that OK?
Yes, it's fine. The status isn't updated continuously, so the last value you see before the resume (57507.761KB) is actually out of date.
Home | About | Privacy