Hi, there,<br><br>All new at this but here goes my best shot.<br><br>Trying to view Video on Demand on my XBMC and having a blast going thru the motions of putting the stuff together.<br><br>Currently doing all the "Reversing" on MS Windows Operating System.<br>
<br>Anyways, I'm having an issue with the RMTPE streams.<br><br>When using the following I only get back about 10 - 20 seconds worth of video.<br>When restarting to resume, I get another 2-3 seconds and so forth.<br>The video is really messed up.<br>
I hope there's a better way to do this than the way I'm currently trying to do it.<br>Help would be greateful<br><br>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br><b>C:\>rtmpdump.exe -r "rtmpe://<a href="http://fms-streaming.tvnz.co.nz/tvnz.co.nz/2010/vampirediaries_s1_e4_part5_700k">fms-streaming.tvnz.co.nz/tvnz.co.nz/2010/vampirediaries_s1_e4_part5_700k</a>" -n "<a href="http://fms-streaming.tvnz.co.nz">fms-streaming.tvnz.co.nz</a>" -l 2 -a "<a href="http://tvnz.co.nz">tvnz.co.nz</a>" -y "/2010/vampirediaries_s1_e4_part5_700k" --buffer 56684 -p "<a href="http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336">http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336</a>" --conn S:"-720" -V -e --skip 10 -o "C:\temp\TADA.flv"</b><br>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>This is the Verbose Output:<br>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
RTMPDump v2.3<br>(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL<br>DEBUG: Number of skipped key frames for resume: 10<br>DEBUG: Protocol : RTMPE<br>DEBUG: Hostname : <a href="http://fms-streaming.tvnz.co.nz">fms-streaming.tvnz.co.nz</a><br>
DEBUG: Port : 1935<br>DEBUG: Playpath : /2010/vampirediaries_s1_e4_part5_700k<br>DEBUG: tcUrl : rtmpe://<a href="http://fms-streaming.tvnz.co.nz:1935/tvnz.co.nz">fms-streaming.tvnz.co.nz:1935/tvnz.co.nz</a><br>DEBUG: pageUrl : <a href="http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336">http://tvnz.co.nz/the-vampire-diaries/vampire-diaries-s1-e4-video-3646336</a><br>
DEBUG: app : <a href="http://tvnz.co.nz">tvnz.co.nz</a><br>DEBUG: live : no<br>DEBUG: timeout : 30 sec<br>DEBUG: Setting buffer time to: 56684ms<br>Connecting ...<br>DEBUG: RTMP_Connect1, ... connected, handshaking<br>
DEBUG: HandShake: Client type: 06<br>DEBUG: HandShake: DH pubkey position: 166<br>DEBUG: HandShake: Client digest offset: 879<br>DEBUG: HandShake: Initial client digest:<br>DEBUG: 8b a1 ac 3b ab 6c e1 a1 20 07 52 b6 2a 77 91 6b<br>
DEBUG: e8 29 db 42 7c a2 05 43 3c 95 b3 16 2c 3d 13 7e<br>DEBUG: HandShake: Type Answer : 06<br>DEBUG: HandShake: Server Uptime : 204808579<br>DEBUG: HandShake: FMS Version : 3.5.2.1<br>DEBUG: HandShake: Server DH public key offset: 516<br>
DEBUG: HandShake: Secret key:<br>DEBUG: f8 c6 29 8e 90 84 9c cb 1a 4b 27 53 92 8c 1d 93<br>DEBUG: 60 fb 11 a4 c7 95 13 fd fc 81 d6 74 41 ed 51 8a<br>DEBUG: 44 53 0b d4 6a f1 99 8d 51 ee f6 de 53 0c 82 17<br>DEBUG: fd 47 f3 9d 5c 4a d8 35 9f a4 0e 1b 6b e5 22 ed<br>
DEBUG: 3d 6f 49 b9 6a af 93 e8 cc 06 93 a4 67 f8 42 e3<br>DEBUG: 9a 16 df 00 ca 8e f4 08 dd 7b e3 7b 94 6b 30 03<br>DEBUG: 50 c7 d0 57 c4 67 cd 7d 71 31 cd 32 4c c8 ef e7<br>DEBUG: 26 e1 49 e2 81 ba ba 37 6c 2a db 5c 71 4d ca 0d<br>
DEBUG: RC4 Out Key:<br>DEBUG: dd 87 b8 16 9f 81 a2 fd aa de f8 f5 d4 40 a3 ae<br>DEBUG: RC4 In Key:<br>DEBUG: 6c 7b 48 93 b3 cf c4 59 b6 5b 2c 2b 82 fe d8 11<br>DEBUG: HandShake: Calculated digest key from secure key and server digest:<br>
DEBUG: a1 d8 d5 d3 4d 28 02 8b 3b 43 f6 f1 6b 16 98 c1<br>DEBUG: a0 a7 f6 02 5d 9a e6 6d b4 90 20 02 37 80 16 33<br>DEBUG: HandShake: Client signature calculated:<br>DEBUG: 5f dd 0b d0 82 05 6a 89 a7 5f 65 4a 7d 3a 90 c4<br>
DEBUG: 6b c2 10 18 af ae e2 51 ec c5 27 3c 99 54 ed 80<br>DEBUG: HandShake: Server sent signature:<br>DEBUG: 8d 03 1b 92 b7 2c b2 9a 12 86 15 30 8a a6 08 1e<br>DEBUG: 11 14 1d 3a ef 86 8d 28 55 ee 4a 09 d9 d4 04 41<br>DEBUG: HandShake: Digest key:<br>
DEBUG: b8 b7 76 da 48 1e 99 c2 1b cf db f0 80 39 58 31<br>DEBUG: 6b 2e 95 66 6e 80 c7 e7 8c ae d2 f8 19 17 83 ce<br>DEBUG: HandShake: Signature calculated:<br>DEBUG: 8d 03 1b 92 b7 2c b2 9a 12 86 15 30 8a a6 08 1e<br>DEBUG: 11 14 1d 3a ef 86 8d 28 55 ee 4a 09 d9 d4 04 41<br>
DEBUG: HandShake: Genuine Adobe Flash Media Server<br>DEBUG: HandShake: Handshaking finished....<br>DEBUG: RTMP_Connect1, handshaked<br>DEBUG: Invoking connect<br>INFO: Connected...<br>DEBUG: HandleServerBW: server BW = 2500000<br>
DEBUG: HandleClientBW: client BW = 2500000 2<br>DEBUG: HandleServerBW: server BW = 2500000<br>DEBUG: HandleClientBW: client BW = 2500000 2<br>DEBUG: HandleCtrl, received ctrl. type: 0, len: 6<br>DEBUG: HandleCtrl, Stream Begin 0<br>
DEBUG: RTMP_ClientPacket, received: invoke 249 bytes<br>DEBUG: (object begin)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: vKey, STRING: ><br>DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,2,654><br>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00><br>DEBUG: Property: <Name: mode, NUMBER: 2.00><br>DEBUG: (object end)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: level, STRING: status><br>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success><br>DEBUG: Property: <Name: description, STRING: Connection succeeded.><br>DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00><br>
DEBUG: Property: <Name: data, OBJECT><br>DEBUG: (object begin)<br>DEBUG: Property: <Name: version, STRING: 3,5,2,654><br>DEBUG: (object end)<br>DEBUG: (object end)<br>DEBUG: (object end)<br>
DEBUG: HandleInvoke, server invoking <_result><br>DEBUG: HandleInvoke, received result for method call <connect><br>DEBUG: sending ctrl. type: 0x0003<br>DEBUG: Invoking createStream<br>DEBUG: HandleCtrl, received ctrl. type: 26, len: 2<br>
DEBUG: HandleCtrl, SWFVerification ping received:<br>ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!<br>DEBUG: HandleCtrl, received ctrl. type: 26, len: 2<br>DEBUG: HandleCtrl, SWFVerification ping received:<br>
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!<br>DEBUG: RTMP_ClientPacket, received: invoke 29 bytes<br>DEBUG: (object begin)<br>DEBUG: Property: NULL<br>DEBUG: (object end)<br>DEBUG: HandleInvoke, server invoking <_result><br>
DEBUG: HandleInvoke, received result for method call <createStream><br>DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: /2010/vampirediaries_s1_e4_part5_700k<br>DEBUG: Invoking play<br>DEBUG: sending ctrl. type: 0x0003<br>
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096<br>DEBUG: HandleCtrl, received ctrl. type: 4, len: 6<br>DEBUG: HandleCtrl, Stream IsRecorded 1<br>DEBUG: RTMP_ClientPacket, received: invoke 216 bytes<br>DEBUG: (object begin)<br>
DEBUG: Property: NULL<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: level, STRING: status><br>DEBUG: Property: <Name: code, STRING: NetStream.Play.Reset><br>DEBUG: Property: <Name: description, STRING: Playing and resetting /2010/vampirediaries_s1_e4_part5_700k.><br>
DEBUG: Property: <Name: details, STRING: /2010/vampirediaries_s1_e4_part5_700k><br>DEBUG: Property: <Name: clientid, STRING: wGEQ3TMW><br>DEBUG: (object end)<br>DEBUG: (object end)<br>
DEBUG: HandleInvoke, server invoking <onStatus><br>DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset<br>DEBUG: HandleCtrl, received ctrl. type: 0, len: 6<br>DEBUG: HandleCtrl, Stream Begin 1<br>DEBUG: RTMP_ClientPacket, received: invoke 210 bytes<br>
DEBUG: (object begin)<br>DEBUG: Property: NULL<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: level, STRING: status><br>DEBUG: Property: <Name: code, STRING: NetStream.Play.Start><br>
DEBUG: Property: <Name: description, STRING: Started playing /2010/vampirediaries_s1_e4_part5_700k.><br>DEBUG: Property: <Name: details, STRING: /2010/vampirediaries_s1_e4_part5_700k><br>
DEBUG: Property: <Name: clientid, STRING: wGEQ3TMW><br>DEBUG: (object end)<br>DEBUG: (object end)<br>DEBUG: HandleInvoke, server invoking <onStatus><br>DEBUG: HandleInvoke, onStatus: NetStream.Play.Start<br>
Starting download at: 0.000 kB<br>DEBUG: RTMP_ClientPacket, received: notify 24 bytes<br>DEBUG: (object begin)<br>DEBUG: (object end)<br>DEBUG: ignoring too small audio packet: size: 0<br>DEBUG: RTMP_ClientPacket, received: notify 44 bytes<br>
DEBUG: (object begin)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: code, STRING: NetStream.Data.Start><br>DEBUG: (object end)<br>DEBUG: (object end)<br>DEBUG: ignoring too small video packet: size: 2<br>
DEBUG: RTMP_ClientPacket, received: notify 388 bytes<br>DEBUG: (object begin)<br>DEBUG: (object begin)<br>DEBUG: Property: <Name: audiocodecid, NUMBER: 2.00><br>DEBUG: Property: <Name: audiodatarate, NUMBER: 128.01><br>
DEBUG: Property: <Name: canseektoend, BOOLEAN: FALSE><br>DEBUG: Property: <Name: creationdate, STRING: Thu Jul 15 20:01:43 2010<br>><br>DEBUG: Property: <Name: duration, NUMBER: 339.23><br>
DEBUG: Property: <Name: framerate, NUMBER: 25.00><br>DEBUG: Property: <Name: height, NUMBER: 360.00><br>DEBUG: Property: <Name: lastkeyframetimest, NUMBER: 339200.00><br>
DEBUG: Property: <Name: lasttimestamp, NUMBER: 339200.00><br>DEBUG: Property: <Name: metadatacreator, STRING: On2 Flix SDK for Dshow_2.4.5.0><br>DEBUG: Property: <Name: On2, STRING: Technologies><br>
DEBUG: Property: <Name: profile, STRING: VP6-E><br>DEBUG: Property: <Name: videocodecid, NUMBER: 4.00><br>DEBUG: Property: <Name: videodatarate, NUMBER: 822.21><br>DEBUG: Property: <Name: width, NUMBER: 640.00><br>
DEBUG: (object end)<br>DEBUG: (object end)<br>INFO: Metadata:<br>INFO: audiocodecid 2.00<br>INFO: audiodatarate 128.01<br>INFO: canseektoend FALSE<br>INFO: creationdate Thu Jul 15 20:01:43 2010<br>
INFO: duration 339.23<br>INFO: framerate 25.00<br>INFO: height 360.00<br>INFO: lastkeyframetimestamp 339200.00<br>INFO: lasttimestamp 339200.00<br>INFO: metadatacreator On2 Flix SDK for Dshow_2.4.5.0<br>
INFO: On2 Technologies<br>INFO: profile VP6-E<br>INFO: videocodecid 4.00<br>INFO: videodatarate 822.21<br>INFO: width 640.00<br>0.406 kB / 0.00 sec (0.0%)<br>
DEBUG: ignoring too small video packet: size: 2<br>2303.332 kB / 28.63 sec (8.4%)<br>DEBUG: Invoking deleteStream<br>ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 66116<br>2303.741 kB / 28.63 sec (8.4%)<br>
DEBUG: RTMP_Read returned: 419<br>Download may be incomplete (downloaded about 8.40%), try resuming<br>DEBUG: Closing connection.<br><br>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>As can be seen, the stream just dies. I have tried various buffer settings, skip settings and nothing seems to work<br><br>Can anybody shed some light?<br><br>Regards, <br><br>Riaan<br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>