View Single Post
  #44  
Old 05-17-2012, 04:47 AM
synopeas synopeas is offline
Junior Member
 
Join Date: Jan 2011
Posts: 16
synopeas is on a distinguished road
Default

Re: Failed to download file from rtmp link


Quote:
Originally Posted by vlpm4st3r View Post
Are you successfully with that code??? I cann't
Code:
C:\Documents and Settings\Admin\Desktop\rtmpdump>rtmpdump -r "rtmp://media.hocma
i.vn/oflaDemo/2010-2011/THPT/LTDH/Bai_giang_dien_tu/Hoa_hoc/Hoa_LTDH_Dam_bao/Pha
m_Ngoc_Son/36.Phuong_phap_quy_doi/" -a "oflaDemo/2010-2011/THPT/LTDH/Bai_giang_d
ien_tu/Hoa_hoc/Hoa_LTDH_Dam_bao/Pham_Ngoc_Son/36.Phuong_phap_quy_doi/" -p "http:
//hocmai.vn/" -y "02.Vi_du_1.flv" -o 02.Vi_du_1.flv
RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

C:\Documents and Settings\Admin\Desktop\rtmpdump>
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\rtmpdump>rtmpdump -r "rtmp://media.hocmai.vn/oflaDemo/2010-2011
/THPT/LTDH/Bai_giang_dien_tu/Hoa_hoc/Hoa_LTDH_Dam_bao/Pham_Ngoc_Son/36.Phuong_ph
ap_quy_doi/" -a "oflaDemo/2010-2011/THPT/LTDH/Bai_giang_dien_tu/Hoa_hoc/Hoa_LTDH
_Dam_bao/Pham_Ngoc_Son/36.Phuong_phap_quy_doi/" -p "http://hocmai.vn/" -y "02.Vi
_du_1.flv" -o 02.Vi_du_1.flv -V
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : media.hocmai.vn
DEBUG: Port     : 1935
DEBUG: Playpath : 02.Vi_du_1.flv
DEBUG: tcUrl    : rtmp://media.hocmai.vn:1935/oflaDemo/2010-2011/THPT/LTDH/Bai_g
iang_dien_tu/Hoa_hoc/Hoa_LTDH_Dam_bao/Pham_Ngoc_Son/36.Phuong_phap_quy_doi/
DEBUG: pageUrl  : http://hocmai.vn/
DEBUG: app      : oflaDemo/2010-2011/THPT/LTDH/Bai_giang_dien_tu/Hoa_hoc/Hoa_LTD
H_Dam_bao/Pham_Ngoc_Son/36.Phuong_phap_quy_doi/
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 15163
DEBUG: HandShake: FMS Version   : 0.0.0.0
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: RTMP_ClientPacket, received: invoke 161 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     _result>
DEBUG: Property: <Name:            no-name, NUMBER:     1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name:        description, STRING:     Connection succeeded.>
DEBUG: Property: <Name:       capabilities, NUMBER:     31.00>
DEBUG: Property: <Name:             fmsVer, STRING:     RED5/0,9,0,0>
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: RTMP_ClientPacket, received: invoke 29 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     _result>
DEBUG: Property: <Name:            no-name, NUMBER:     2.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: 02.Vi_du_1.flv
DEBUG: Invoking play
DEBUG: sending ctrl, type: 0x0003
DEBUG: HandleChangeChunkSize, received: chunk size change to 1024
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 168 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onStatus>
DEBUG: Property: <Name:            no-name, NUMBER:     1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
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 02
.Vi_du_1.flv.>
DEBUG: Property: <Name:            details, STRING:     02.Vi_du_1.flv>
DEBUG: Property: <Name:           clientid, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
DEBUG: RTMP_ClientPacket, received: invoke 162 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onStatus>
DEBUG: Property: <Name:            no-name, NUMBER:     1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Start>
DEBUG: Property: <Name:        description, STRING:     Started playing 02.Vi_du
_1.flv.>
DEBUG: Property: <Name:            details, STRING:     02.Vi_du_1.flv>
DEBUG: Property: <Name:           clientid, NUMBER:     1.00>
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 224 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onMetaData>
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:           duration, NUMBER:     264.80>
DEBUG: Property: <Name:              width, NUMBER:     640.00>
DEBUG: Property: <Name:             height, NUMBER:     352.00>
DEBUG: Property: <Name:      videodatarate, NUMBER:     500.00>
DEBUG: Property: <Name:          framerate, NUMBER:     25.00>
DEBUG: Property: <Name:       videocodecid, NUMBER:     4.00>
DEBUG: Property: <Name:      audiodatarate, NUMBER:     32.00>
DEBUG: Property: <Name:         audiodelay, NUMBER:     0.11>
DEBUG: Property: <Name:       audiocodecid, NUMBER:     2.00>
DEBUG: Property: <Name:       canSeekToEnd, BOOLEAN:    TRUE>
DEBUG: (object end)
DEBUG: (object end)
INFO: Metadata:
INFO:   duration                264.80
INFO:   width                   640.00
INFO:   height                  352.00
INFO:   videodatarate           500.00
INFO:   framerate               25.00
INFO:   videocodecid            4.00
INFO:   audiodatarate           32.00
INFO:   audiodelay              0.11
INFO:   audiocodecid            2.00
INFO:   canSeekToEnd            TRUE
DEBUG: RTMP_ClientPacket, received: notify 11165 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onXMPData>
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            liveXML, STRING:     <?xpacket begin="" id
="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.2-c003 61.141987,
2011/02/22-12:03:51        ">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Descript>
DEBUG: (object end)
DEBUG: (object end)
401.497 kB / 5.87 sec (2.2%)
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 1511151695
DEBUG: sending ctrl, type: 0x0007
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 1511152654
DEBUG: sending ctrl, type: 0x0007
465.942 kB / 6.71 sec (2.5%)
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 1511153650
DEBUG: sending ctrl, type: 0x0007
810.453 kB / 12.03 sec (4.5%)
DEBUG: RTMP_ClientPacket, received: invoke 181 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onStatus>
DEBUG: Property: <Name:            no-name, NUMBER:     1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     warning>
DEBUG: Property: <Name:               code, STRING:     NetStream.Play.Insuffici
entBW>
DEBUG: Property: <Name:        description, STRING:     Data is playing behind t
he normal speed.>
DEBUG: Property: <Name:            details, STRING:     02.Vi_du_1.flv>
DEBUG: Property: <Name:           clientid, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.InsufficientBW
1024.811 kB / 15.20 sec (5.7%)
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 1511156650
DEBUG: sending ctrl, type: 0x0007
1470.573 kB / 21.91 sec (8.2%)
DEBUG: HandleCtrl, received ctrl, type: 6, len: 6
DEBUG: HandleCtrl, Ping 1511159650
DEBUG: sending ctrl, type: 0x0007
1576.780 kB / 23.43 sec (8.8%)
Reply With Quote