[rtmpdump] Dumping an RTMP stream

lorddoskias lorddoskias at gmail.com
Fri Nov 18 16:37:36 CET 2011


Hello,

Thanks for the reply. But I'm still having problems with this:
rtmpdump.exe -r rtmp://195.85.215.30/flvplayback/public/lns_510_15.mp4 
-o brat.mp4 -W http://195.85.215.30/Streaming/scripts/player/player.swf 
-a flvplayback/ -y mp4:public/lns_510_15 -V

And here is the output:

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : 195.85.215.30
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:public/lns_510_15
DEBUG: tcUrl    : rtmp://195.85.215.30:1935/flvplayback/
DEBUG: swfUrl   : http://195.85.215.30/Streaming/scripts/player/player.swf
DEBUG: app      : flvplayback/
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 03 e8 28 47 ad 82 5e b1 54 0e 8c 72 d7 93 47 0b
DEBUG: bb dc ed 99 30 d1 9c 13 1c e9 92 db db e6 e9 a6
DEBUG: SWFSize  : 210113
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
DEBUG: a3 1b cc 85 21 a3 35 91 d4 15 e7 84 44 42 1d 8f
DEBUG: 47 fd 11 eb 44 e3 bd 9a 8a 1a 6a 03 ce 05 f9 52
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 1321630564
DEBUG: HandShake: FMS Version   : 0.0.0.0
WARNING: HandShake: client signature does not match!
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: HandleCtrl, received ctrl. type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: RTMP_ClientPacket, received: invoke 189 bytes
DEBUG: (object begin)
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/3,0,1,123>
DEBUG: Property: <Name:       capabilities, NUMBER:     31.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: (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 30 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG: Invoking _checkbw
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:public/lns_510_15
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 120 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     error>
DEBUG: Property: <Name:               code, STRING:     
NetConnection.Call.Failed>
DEBUG: Property: <Name:        description, STRING:     call to function 
_checkbw failed>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: Invoking deleteStream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.


Regards

On 11/18/2011 1:46 PM, Adam Malcontenti-Wilson wrote:
> The file and streamer are specified separately for a reason in the
> jwplayer, usually the defaults don't work. Manually set the app (-a)
> to flvplayback and/or the playpath (-y) to mp4:public/lns_510_15 to
> download otherwise the server doesn't look in the right spot.
>
> On Fri, Nov 18, 2011 at 9:05 PM, lorddoskias<lorddoskias at gmail.com>  wrote:
>> Hello,
>>
>> I'm trying to dump a simple demo RMTP stream but I'm having some
>> difficulties. Here is information regarding the stream:
>>
>>             <script  type="text/javascript">
>>                 jwplayer("container").setup({
>>                     flashplayer: "/Streaming/scripts/player/player.swf",
>>                     file: "public/lns_510_15.mp4",
>>                     height: 360,
>>                     width: 640,
>>                     skin: "/Streaming/scripts/player/skin/lulu.zip",
>>                     plugins: {
>>                         hd: { file: "public/lns_730_3.mp4", fullscreen: true
>> }
>>                     },
>>                     provider: "rtmp",
>>                     streamer: "rtmp://195.85.215.31/flvplayback/"
>>                 });
>>             </script>
>>
>>  From this information I constructed the following command line for
>> rtmpdump:rtmpdump.exe -r
>>
>>   rtmp://195.85.215.30/flvplayback/public/lns_510_15.mp4 -o brat.mp4 -W
>> http://195.85.215.30/Streaming/scripts/player/player.swf -a
>> flvplayback/public/lns_510_15.mp4  -f "WIN 11,1,102,55"
>>
>> When I run the above command line I get the following debug output:
>>
>> RTMPDump 2.4 git-6230845 2011-9-25
>> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
>> DEBUG: Protocol : RTMP
>> DEBUG: Hostname : 195.85.215.30
>> DEBUG: Port     : 1935
>> DEBUG: Playpath : mp4:lns_510_15
>> DEBUG: tcUrl    :
>> rtmp://195.85.215.30:1935/flvplayback/public/lns_510_15.mp4
>> DEBUG: swfUrl   : http://195.85.215.30/Streaming/scripts/player/player.swf
>> DEBUG: app      : flvplayback/public/lns_510_15.mp4
>> DEBUG: flashVer : WIN 11,1,102,55
>> DEBUG: live     : no
>> DEBUG: timeout  : 30 sec
>> DEBUG: SWFSHA256:
>> DEBUG: 03 e8 28 47 ad 82 5e b1 54 0e 8c 72 d7 93 47 0b
>> DEBUG: bb dc ed 99 30 d1 9c 13 1c e9 92 db db e6 e9 a6
>> DEBUG: SWFSize  : 210113
>> DEBUG: Setting buffer time to: 36000000ms
>> Connecting ...
>> DEBUG: RTMP_Connect1, ... connected, handshaking
>> DEBUG: HandShake: Client type: 03
>> DEBUG: HandShake: Client digest offset: 53
>> DEBUG: HandShake: Initial client digest:
>> DEBUG: a8 1f 29 5f 91 f8 1c 56 59 ae 92 53 ca 78 c1 29
>> DEBUG: d8 76 87 9d e2 81 18 67 70 44 99 1f 73 45 15 01
>> DEBUG: HandShake: Type Answer   : 03
>> DEBUG: HandShake: Server Uptime : 1321610629
>> DEBUG: HandShake: FMS Version   : 0.0.0.0
>> WARNING: HandShake: client signature does not match!
>> DEBUG: HandShake: Handshaking finished....
>> DEBUG: RTMP_Connect1, handshaked
>> DEBUG: Invoking connect
>> INFO: Connected...
>> ERROR: RTMP_ReadPacket, failed to read RTMP packet header
>> DEBUG: Closing connection.
>>
>> Any ideas how I can proceed from here?
>>
>> Regards,
>> _______________________________________________
>> rtmpdump mailing list
>> rtmpdump at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>>
>
>



More information about the rtmpdump mailing list