View Single Post
  #3  
Old 06-27-2017, 09:10 AM
imagecad imagecad is offline
Junior Member
 
Join Date: Jun 2017
Posts: 5
imagecad is on a distinguished road
Default

Re: How can I download this rtmp video?


Thanks a lot!

Although I don't understand what about this codes mean,and I just make the batch file as below:

Code:
rtmpdump -V -l 1 -r "rtmp://video.koopass.com/vod2" -a "vod2" -f "WIN 26,0,0,131" -W "http://static.koolearn.com/kooRtmpPlayer/KoolearnPlayer4.0.9.swf" -p "http://www.koolearn.com/product/c_8_441.html"  -y "mp4:/ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4"  -o "02aaa.mp4" -C S:1002001-1 -C S:1002001 -C S:1498380998220 -C S:c3c194bd9e4b440900ff1829f29d6ee1 -C S:4.0.9-201706191501
and it does work!

but I got a new question:I can't download the whole video,sometimes 33%,sometimes 66%,never got the whole!

The massage shown below:

Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
DEBUG: 8e ed 15 b0 d9 85 52 9f 5e 9b 04 0e 48 48 19 e0
DEBUG: 4c 83 a2 bd ef ac b8 04 97 98 59 95 a4 06 9d ff
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 67790026
DEBUG: HandShake: FMS Version : 4.5.5.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: d6 73 fe 88 e8 68 d7 d5 9f 04 ca 2e a7 68 15 c1
DEBUG: 63 d1 de 2b 19 59 55 ca b5 b1 94 b7 f6 f3 c5 08
DEBUG: HandShake: Client signature calculated:
DEBUG: 41 e3 84 b7 67 0c b4 e2 bd cc 13 1f ac 49 7e 9e
DEBUG: fe 69 1b 78 22 bc 93 cb 15 f8 8c a2 ad 4c 1e 1a
DEBUG: HandShake: Server sent signature:
DEBUG: 9d 2f 9c 1a 04 df 1e c3 e0 93 82 96 4a 4f 0a 6a
DEBUG: 4b 92 df d7 cf f1 92 5a a8 dc 8f 86 ec 0a 07 a9
DEBUG: HandShake: Digest key:
DEBUG: 18 bb 8a af ea 18 c5 3f e2 99 7f a9 be ce 90 b4
DEBUG: a4 11 6b 6e 03 96 32 63 be fe 11 ff b6 37 b1 5f
DEBUG: HandShake: Signature calculated:
DEBUG: 9d 2f 9c 1a 04 df 1e c3 e0 93 82 96 4a 4f 0a 6a
DEBUG: 4b 92 df d7 cf f1 92 5a a8 dc 8f 86 ec 0a 07 a9
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: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: fmsVer, STRING: FMS/4,5,5,4013>
DEBUG: Property: <Name: capabilities, NUMBER: 255.00>
DEBUG: Property: <Name: mode, NUMBER: 1.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: 4,5,5,4013>
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: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 32 08 aa 00 32 08 aa c7 63 f4 29
DEBUG: 7e 78 2f 2f e2 4c a8 30 4e b2 a2 c9 15 f0 50 23
DEBUG: 21 6c bc 1d 1b 40 11 83 a2 db db 17
DEBUG: RTMP_ClientPacket, received: invoke 86 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <validate_Client>
DEBUG: RTMP_ClientPacket, received: invoke 56 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <setCurrUserIp>
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: mp4:/ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
DEBUG: HandleCtrl, Stream IsRecorded 1
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 1
DEBUG: RTMP_ClientPacket, received: invoke 236 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 ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4.>
DEBUG: Property: <Name: details, STRING: ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4>
DEBUG: Property: <Name: clientid, STRING: oAAZAOAA>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 230 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 ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4.>
DEBUG: Property: <Name: details, STRING: ys/2015/yd/ybn/5_6fen/2015_ys_yd_5-6_ybn_17.mp4>
DEBUG: Property: <Name: clientid, STRING: oAAZAOAA>
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: RTMP_ClientPacket, received: notify 494 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: duration, NUMBER: 990.33>
DEBUG: Property: <Name: moovPosition, NUMBER: 44.00>
DEBUG: Property: <Name: width, NUMBER: 1280.00>
DEBUG: Property: <Name: height, NUMBER: 720.00>
DEBUG: Property: <Name: videocodecid, STRING: avc1>
DEBUG: Property: <Name: audiocodecid, STRING: mp4a>
DEBUG: Property: <Name: avcprofile, NUMBER: 77.00>
DEBUG: Property: <Name: avclevel, NUMBER: 31.00>
DEBUG: Property: <Name: aacaot, NUMBER: 2.00>
DEBUG: Property: <Name: videoframerate, NUMBER: 25.00>
DEBUG: Property: <Name: audiosamplerate, NUMBER: 44100.00>
DEBUG: Property: <Name: audiochannels, NUMBER: 2.00>
DEBUG: Property: <Name: trackinfo, OBJECT>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: length, NUMBER: 24756000.00>
DEBUG: Property: <Name: timescale, NUMBER: 25000.00>
DEBUG: Property: <Name: language, STRING: und>
DEBUG: Property: <Name: sampledescription, OBJECT>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: sampletype, STRING: avc1>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object begin)
DEBUG: Property: <Name: length, NUMBER: 43673600.00>
DEBUG: Property: <Name: timescale, NUMBER: 44100.00>
DEBUG: Property: <Name: language, STRING: und>
DEBUG: Property: <Name: sampledescription, OBJECT>
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name: sampletype, STRING: mp4a>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO: duration 990.33
INFO: moovPosition 44.00
INFO: width 1280.00
INFO: height 720.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 77.00
INFO: avclevel 31.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 24756000.00
INFO: timescale 25000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 43673600.00
INFO: timescale 44100.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
24537.527 kB / 657.40 sec (66.3%)
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header24631.961 kB / 659.72 sec (66.6%)
DEBUG: RTMP_Read returned: 2080
Download may be incomplete (downloaded about 66.60%), try resuming
DEBUG: Closing connection.

Could please help me again?Many thanks!
Reply With Quote