Get a Verbose from your script:
Code:
rtmpdump -V -r "rtmp://live.yycast.com:1935/lb/" -a "lb/" -f "WIN 10,3,181,26" -W "http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490" -y "115520" -o 115520.flv
Code:
RTMPDump v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host : live.yycast.com
DEBUG: Parsed app : lb
DEBUG: Protocol : RTMP
DEBUG: Hostname : live.yycast.com
DEBUG: Port : 1935
DEBUG: Playpath : 115520
DEBUG: tcUrl : rtmp://live.yycast.com:1935/lb/
DEBUG: swfUrl : http://www.streamiton.tv/player/player.swf
DEBUG: pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
DEBUG: app : lb/
DEBUG: flashVer : WIN 10,3,181,26
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: 0a 8b 01 a7 73 ad ab 45 b6 0a e9 12 50 5f a8 33
DEBUG: 77 6e e7 26 bc 37 f6 55 f0 6a fc a3 bc f9 c9 75
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: fd 79 74 36 2a 2c e3 8e 47 6b 78 79 fd 17 fe ce
DEBUG: 3b d6 19 d8 30 cf ce a5 ab 80 01 61 a7 15 e8 28
DEBUG: HandShake: Server sent signature:
DEBUG: 39 ac f7 e0 6e 8c 5d a3 db cd 74 3a fc 2d 9e a5
DEBUG: d1 82 dc a0 66 0d 38 10 d0 7b 46 a8 97 f9 6d c3
DEBUG: HandShake: Digest key:
DEBUG: 97 72 1f 31 b1 73 20 da 17 c7 85 5f 22 70 8d 9c
DEBUG: 8e d9 40 7e 0a c2 7f 85 28 3e 01 21 a8 58 db 71
DEBUG: HandShake: Signature calculated:
DEBUG: 39 ac f7 e0 6e 8c 5d a3 db cd 74 3a fc 2d 9e a5
DEBUG: d1 82 dc a0 66 0d 38 10 d0 7b 46 a8 97 f9 6d c3
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: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 239 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: _error>
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: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection failed: Application rejected connection.>
DEBUG: Property: <Name: ex, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: redirect, STRING: rtmp://146.185.24.18:1935/live/_definst_>
DEBUG: Property: <Name: code, NUMBER: 302.00>
DEBUG: (object end)
DEBUG: Property: <Name: clientid, NUMBER: 1111796401.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name, STRING: close>
DEBUG: Property: <Name: no-name, NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
You got that error because the stream is
redirecting!! So, use that redirected url!!
@
KSV, This is a common issue that everyone face it!! Is possible you implement
redirecting automatically in rtmpdump, please? Would be nice!!