Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-19-2012, 09:19 AM
Josan420 Josan420 is offline
Senior Member
 
Join Date: Feb 2012
Location: India
Posts: 150
Josan420 is on a distinguished road
Default

ERROR: rtmp server sent error


everytime i use rtmpexplorer to find url on this site "http://desihd.net/discovery-india.php" i get this error


RTMP Server 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -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

Closing connection... done!

RTMPDump 2.4 git-6230845 2011-9-25
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

what is this? how can i solve ti?
please help me
Reply With Quote
  #2  
Old 03-19-2012, 09:37 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: ERROR: rtmp server sent error


Code:
rtmpdump -r "rtmp://146.185.23.162:1935/live/" -a "live/" -W "http://www.streamiton.tv/player/player.swf" -p "http://www.yycast.com/" --live -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
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   author
INFO:   copyright
INFO:   description
INFO:   keywords
INFO:   rating
INFO:   title
INFO:   presetname            Medium Bandwidth (300 Kbps) - H.264
INFO:   creationdate          Sun Mar 18 14:32:09 2012
INFO:   videodevice           713x BDA Analog Capture
INFO:   framerate             25.00
INFO:   width                 320.00
INFO:   height                240.00
INFO:   videocodecid          avc1
INFO:   videodatarate         200.00
INFO:   avclevel              21.00
INFO:   avcprofile            77.00
INFO:   videokeyframe_frequency5.00
INFO:   audiodevice           SoundMAX Digital Audio
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         1.00
INFO:   audioinputvolume      78.00
INFO:   audiocodecid          .mp3
INFO:   audiodatarate         48.00
54.340 kB / 2.96 sec
Reply With Quote
  #3  
Old 03-20-2012, 04:25 AM
Josan420 Josan420 is offline
Senior Member
 
Join Date: Feb 2012
Location: India
Posts: 150
Josan420 is on a distinguished road
Smile

Re: ERROR: rtmp server sent error


thank you
can u tell me why i get this error and which software did u use to get correct url?
Reply With Quote
  #4  
Old 03-20-2012, 06:05 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: ERROR: rtmp server sent error


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!!
Reply With Quote
  #5  
Old 03-20-2012, 10:28 AM
Josan420 Josan420 is offline
Senior Member
 
Join Date: Feb 2012
Location: India
Posts: 150
Josan420 is on a distinguished road
Thumbs up

Re: ERROR: rtmp server sent error


ok thanks
last question, which software do use to find url? please tell me
Reply With Quote
  #6  
Old 03-20-2012, 10:30 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: ERROR: rtmp server sent error


As I said, didn't use anything!! Read my previous post again carefully!! You will get your answer!!
Reply With Quote
  #7  
Old 03-20-2012, 10:50 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: ERROR: rtmp server sent error


Quote:
Originally Posted by Josan420 View Post
ok thanks
last question, which software do use to find url? please tell me
try use rtmpsusk
Code:
RTMP Proxy Server v2.4 GIT-2012-02-24 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
       app : lb/
  flashVer : WIN 11,1,102,62
    swfUrl : http://www.streamiton.tv/player/player.swf
     tcUrl : rtmp://live.yycast.com:1935/lb/
   pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
ERROR: WriteN, RTMP send error 10038 (16 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

WARNING: Trying different position for client digest!
Processing connect
       app : live/_definst_
  flashVer : WIN 11,1,102,62
    swfUrl : http://www.streamiton.tv/player/player.swf
     tcUrl : rtmp://146.185.24.18:1935/live/_definst_
   pageUrl : http://www.yycast.com/embed.php?fileid=115520&vw=600&vh=490
      live : no
  Playpath : 115520
 Saving as : 115520
INFO: Metadata:
INFO:   author
INFO:   copyright
INFO:   description
INFO:   keywords
INFO:   rating
INFO:   title
INFO:   presetname            Medium Bandwidth (300 Kbps) - H.264
INFO:   creationdate          Tue Mar 20 20:32:20 2012
INFO:   videodevice           713x BDA Analog Capture
INFO:   framerate             25.00
INFO:   width                 320.00
INFO:   height                240.00
INFO:   videocodecid          avc1
INFO:   videodatarate         200.00
INFO:   avclevel              21.00
INFO:   avcprofile            77.00
INFO:   videokeyframe_frequency5.00
INFO:   audiodevice           SoundMAX Digital Audio
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         1.00
INFO:   audioinputvolume      78.00
INFO:   audiocodecid          .mp3
INFO:   audiodatarate         48.00
WARNING: ignoring too small audio packet: size: 0
Reply With Quote
  #8  
Old 03-20-2012, 12:20 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: ERROR: rtmp server sent error


@chap, Bahman

test following rtmpdump on as many sites as you know. i have added redirection handling. post with log if you have any problem.

Code:
http://www.mediafire.com/file/j8xj3hqnjmodqe2/rtmpdump.exe
Reply With Quote
  #9  
Old 03-20-2012, 03:11 PM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: ERROR: rtmp server sent error


I've tested it on 5 streams and works fine!! Thank you very much, KSV!! Greatly appreciated!!

BTW, The size of rtmpdump has been increased 5x!! The last version was 155KB, but this one is 627KB!!

Anyway, You rock!
Reply With Quote
  #10  
Old 03-20-2012, 03:24 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: ERROR: rtmp server sent error


Quote:
Originally Posted by Bahman View Post
I've tested it on 5 streams and works fine!!
different sites or different streams from same site?

Quote:
Originally Posted by Bahman View Post
BTW, The size of rtmpdump has been increased 5x!! The last version was 155KB, but this one is 627KB!!
it's a debug version so it also contains debugging symbols.
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:49 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons