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

Alex Bennee kernel-hacker at bennee.com
Tue Mar 23 13:39:32 CET 2010


Hi,

I'm trying to use rtmpsuck to dump the stream from the following page:

http://news.bbc.co.uk/1/hi/england/cambridgeshire/8398756.stm

I'm using the iptables -J REDIRECT method which seems to capture a packet
or two but rtmpsuck then fails with the message:

RTMP Proxy Server v2.2b
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
Processing connect
app: ondemand?_fcs_vhost=cp45413.edgefcs.net&undefined
flashVer: LNX 10,0,45,2
swfUrl: http://news.bbc.co.uk/player/emp/2.18.13034_14207/9player.swf?revision=11798
tcUrl: rtmp://84.53.132.157:1935/ondemand?_fcs_vhost=cp45413.edgefcs.net&undefined
pageUrl: http://news.bbc.co.uk/1/hi/england/cambridgeshire/8398756.stm
WARNING: Trying different position for server digest!

ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

Although the video keeps playing in the web browser.

Looking at the dump from debug mode I saw an rtmp stream go past:

 0040:  74 63 55 72 6c 02 00 4b  72 74 6d 70 3a 2f 2f 38   tcUrl..Krtmp://8
 0050:  34 2e 35 33 2e 31 33 32  2e 31 35 37 3a 31 39 33   4.53.132.157:193
 0060:  35 2f 6f 6e 64 65 6d 61  6e 64 3f 5f 66 63 73 5f   5/ondemand?_fcs_
 0070:  76 68 6f 73 74 3d 63 70  34 35 34 31 33 2e 65 64   vhost=cp45413.ed
 0000:  c3                                                 .
 0000:  67 65 66 63 73 2e 6e 65  74 26 75 6e 64 65 66 69   gefcs.net&undefi
 0010:  6e 65 64 00 04 66 70 61  64 01 00 00 0c 63 61 70   ned..fpad....cap

But it doesn't seem to contain a URL to any particular piece of media.
Could it be
being passed some other way? I can send a dump of the log if anyway needs it.

Regards,

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk


More information about the rtmpdump mailing list