[rtmpdump] Dumping an RTMP stream

Adam Malcontenti-Wilson adman.com at gmail.com
Fri Nov 18 14:46:40 CET 2011


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
>



-- 
Adam Malcontenti-Wilson


More information about the rtmpdump mailing list