[rtmpdump] New at RTMPDUMP

Riaan and Ericka Jonker riaan.ericka.jonker at gmail.com
Sat Jul 17 23:34:53 CEST 2010


Hi, there,

All new at this but here goes my best shot.

Trying to view Video on Demand on my XBMC and having a blast going thru the
motions of putting the stuff together.

Currently doing all the "Reversing" on MS Windows Operating System.

Anyways, I'm having an issue with the RMTPE streams.

When using the following I only get back about 10 - 20 seconds worth of
video.
When restarting to resume, I get another 2-3 seconds and so forth.
The video is really messed up.
I hope there's a better way to do this than the way I'm currently trying to
do it.
Help would be greateful

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

*C:\>rtmpdump.exe -r "rtmpe://
fms-streaming.tvnz.co.nz/tvnz.co.nz/2010/vampirediaries_s1_e4_part5_700k" -n
"fms-streaming.tvnz.co.nz" -l 2 -a "tvnz.co.nz" -y
"/2010/vampirediaries_s1_e4_part5_700k" --buffer 56684 -p "
http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336"
--conn S:"-720" -V -e --skip 10 -o "C:\temp\TADA.flv"*
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is the Verbose Output:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Number of skipped key frames for resume: 10
DEBUG: Protocol : RTMPE
DEBUG: Hostname : fms-streaming.tvnz.co.nz
DEBUG: Port     : 1935
DEBUG: Playpath : /2010/vampirediaries_s1_e4_part5_700k
DEBUG: tcUrl    : rtmpe://fms-streaming.tvnz.co.nz:1935/tvnz.co.nz
DEBUG: pageUrl  :
http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336
DEBUG: app      : tvnz.co.nz
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 56684ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 166
DEBUG: HandShake: Client digest offset: 879
DEBUG: HandShake: Initial client digest:
DEBUG: 8b a1 ac 3b ab 6c e1 a1 20 07 52 b6 2a 77 91 6b
DEBUG: e8 29 db 42 7c a2 05 43 3c 95 b3 16 2c 3d 13 7e
DEBUG: HandShake: Type Answer   : 06
DEBUG: HandShake: Server Uptime : 204808579
DEBUG: HandShake: FMS Version   : 3.5.2.1
DEBUG: HandShake: Server DH public key offset: 516
DEBUG: HandShake: Secret key:
DEBUG: f8 c6 29 8e 90 84 9c cb 1a 4b 27 53 92 8c 1d 93
DEBUG: 60 fb 11 a4 c7 95 13 fd fc 81 d6 74 41 ed 51 8a
DEBUG: 44 53 0b d4 6a f1 99 8d 51 ee f6 de 53 0c 82 17
DEBUG: fd 47 f3 9d 5c 4a d8 35 9f a4 0e 1b 6b e5 22 ed
DEBUG: 3d 6f 49 b9 6a af 93 e8 cc 06 93 a4 67 f8 42 e3
DEBUG: 9a 16 df 00 ca 8e f4 08 dd 7b e3 7b 94 6b 30 03
DEBUG: 50 c7 d0 57 c4 67 cd 7d 71 31 cd 32 4c c8 ef e7
DEBUG: 26 e1 49 e2 81 ba ba 37 6c 2a db 5c 71 4d ca 0d
DEBUG: RC4 Out Key:
DEBUG: dd 87 b8 16 9f 81 a2 fd aa de f8 f5 d4 40 a3 ae
DEBUG: RC4 In Key:
DEBUG: 6c 7b 48 93 b3 cf c4 59 b6 5b 2c 2b 82 fe d8 11
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: a1 d8 d5 d3 4d 28 02 8b 3b 43 f6 f1 6b 16 98 c1
DEBUG: a0 a7 f6 02 5d 9a e6 6d b4 90 20 02 37 80 16 33
DEBUG: HandShake: Client signature calculated:
DEBUG: 5f dd 0b d0 82 05 6a 89 a7 5f 65 4a 7d 3a 90 c4
DEBUG: 6b c2 10 18 af ae e2 51 ec c5 27 3c 99 54 ed 80
DEBUG: HandShake: Server sent signature:
DEBUG: 8d 03 1b 92 b7 2c b2 9a 12 86 15 30 8a a6 08 1e
DEBUG: 11 14 1d 3a ef 86 8d 28 55 ee 4a 09 d9 d4 04 41
DEBUG: HandShake: Digest key:
DEBUG: b8 b7 76 da 48 1e 99 c2 1b cf db f0 80 39 58 31
DEBUG: 6b 2e 95 66 6e 80 c7 e7 8c ae d2 f8 19 17 83 ce
DEBUG: HandShake: Signature calculated:
DEBUG: 8d 03 1b 92 b7 2c b2 9a 12 86 15 30 8a a6 08 1e
DEBUG: 11 14 1d 3a ef 86 8d 28 55 ee 4a 09 d9 d4 04 41
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: RTMP_ClientPacket, received: invoke 249 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               vKey, STRING:     >
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/3,5,2,654>
DEBUG: Property: <Name:       capabilities, NUMBER:     31.00>
DEBUG: Property: <Name:               mode, NUMBER:     2.00>
DEBUG: (object end)
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,2,654>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ctrl. type: 0x0003
DEBUG: Invoking createStream
DEBUG: HandleCtrl, received ctrl. type: 26, len: 2
DEBUG: HandleCtrl, SWFVerification ping received:
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
DEBUG: HandleCtrl, received ctrl. type: 26, len: 2
DEBUG: HandleCtrl, SWFVerification ping received:
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play:
/2010/vampirediaries_s1_e4_part5_700k
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
DEBUG: HandleCtrl, Stream IsRecorded 1
DEBUG: RTMP_ClientPacket, received: invoke 216 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:
NetStream.Play.Reset>
DEBUG: Property: <Name:        description, STRING:     Playing and
resetting /2010/vampirediaries_s1_e4_part5_700k.>
DEBUG: Property: <Name:            details, STRING:
/2010/vampirediaries_s1_e4_part5_700k>
DEBUG: Property: <Name:           clientid, STRING:     wGEQ3TMW>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 210 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:
NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:     Started playing
/2010/vampirediaries_s1_e4_part5_700k.>
DEBUG: Property: <Name:            details, STRING:
/2010/vampirediaries_s1_e4_part5_700k>
DEBUG: Property: <Name:           clientid, STRING:     wGEQ3TMW>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
Starting download at: 0.000 kB
DEBUG: RTMP_ClientPacket, received: notify 24 bytes
DEBUG: (object begin)
DEBUG: (object end)
DEBUG: ignoring too small audio packet: size: 0
DEBUG: RTMP_ClientPacket, received: notify 44 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:               code, STRING:
NetStream.Data.Start>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: ignoring too small video packet: size: 2
DEBUG: RTMP_ClientPacket, received: notify 388 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:       audiocodecid, NUMBER:     2.00>
DEBUG: Property: <Name:      audiodatarate, NUMBER:     128.01>
DEBUG: Property: <Name:       canseektoend, BOOLEAN:    FALSE>
DEBUG: Property: <Name:       creationdate, STRING:     Thu Jul 15 20:01:43
2010
>
DEBUG: Property: <Name:           duration, NUMBER:     339.23>
DEBUG: Property: <Name:          framerate, NUMBER:     25.00>
DEBUG: Property: <Name:             height, NUMBER:     360.00>
DEBUG: Property: <Name: lastkeyframetimest, NUMBER:     339200.00>
DEBUG: Property: <Name:      lasttimestamp, NUMBER:     339200.00>
DEBUG: Property: <Name:    metadatacreator, STRING:     On2 Flix SDK for
Dshow_2.4.5.0>
DEBUG: Property: <Name:                On2, STRING:     Technologies>
DEBUG: Property: <Name:            profile, STRING:     VP6-E>
DEBUG: Property: <Name:       videocodecid, NUMBER:     4.00>
DEBUG: Property: <Name:      videodatarate, NUMBER:     822.21>
DEBUG: Property: <Name:              width, NUMBER:     640.00>
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   audiocodecid          2.00
INFO:   audiodatarate         128.01
INFO:   canseektoend          FALSE
INFO:   creationdate          Thu Jul 15 20:01:43 2010
INFO:   duration              339.23
INFO:   framerate             25.00
INFO:   height                360.00
INFO:   lastkeyframetimestamp 339200.00
INFO:   lasttimestamp         339200.00
INFO:   metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
INFO:   On2                   Technologies
INFO:   profile               VP6-E
INFO:   videocodecid          4.00
INFO:   videodatarate         822.21
INFO:   width                 640.00
0.406 kB / 0.00 sec (0.0%)
DEBUG: ignoring too small video packet: size: 2
2303.332 kB / 28.63 sec (8.4%)
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 66116
2303.741 kB / 28.63 sec (8.4%)
DEBUG: RTMP_Read returned: 419
Download may be incomplete (downloaded about 8.40%), try resuming
DEBUG: Closing connection.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

As can be seen, the stream just dies.  I have tried various buffer settings,
skip settings and nothing seems to work

Can anybody shed some light?

Regards,

Riaan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100718/313cd3ed/attachment.htm>


More information about the rtmpdump mailing list