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 01-30-2015, 04:32 PM
4r1y4n 4r1y4n is offline
Junior Member
 
Join Date: Jan 2015
Posts: 6
4r1y4n is on a distinguished road
Question

rtmp server requested close on zerocast stream


Hi
I'm trying to dump this stream:
http://tv4embed.com/usa/NBC-stream1.html

I extracted parameters like this (using both Wireshark & rtmpsrv):
Code:
rtmpdump -V -r 'rtmp://rtmp.zerocast.tv:1935/live?t=54cbecd3c5127/' -a 'live?t=54cbecd3c5127/' -f 'LNX 16,0,0,296' -W 'http://cdn.zerocast.tv/player/jwplayer.flash.swf' -p 'http://zerocast.in/embed.php?a=653&id=&width=658&height=430&autostart=true&strech=' -y '3GdoAHRAxgZNzmQZL29l'  -T '8964316ec8772dfa' -o out.flv
But i'm getting "rtmp server requested close" !
I tried with both of original rtmpdump & K-S-V version.

Here is the output:
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : rtmp.zerocast.tv
DEBUG: Parsed app     : live?t=54cbecd3c5127
DEBUG: Protocol : RTMP
DEBUG: Hostname : rtmp.zerocast.tv
DEBUG: Port     : 1935
DEBUG: Playpath : 3GdoAHRAxgZNzmQZL29l
DEBUG: tcUrl    : rtmp://rtmp.zerocast.tv:1935/live?t=54cbecd3c5127/
DEBUG: swfUrl   : http://cdn.zerocast.tv/player/jwplayer.flash.swf
DEBUG: pageUrl  : http://zerocast.in/embed.php?a=653&id=&width=658&height=430&autostart=true&strech=
DEBUG: app      : live?t=54cbecd3c5127/
DEBUG: flashVer : LNX 16,0,0,296
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 61 95 5f 46 f5 d1 d3 0d eb e5 a2 86 fb 42 d2 54
DEBUG: bf 54 7a 05 12 24 92 f0 ed 22 f1 c0 0a 71 e8 56
DEBUG: SWFSize  : 396979
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 417
DEBUG: HandShake: Initial client digest: 
DEBUG: 5c 04 5a 66 58 ff a0 40 33 fe 35 3d 4e c3 59 90
DEBUG: 55 d0 6f ff 88 6c e9 a4 d4 32 fd 5e 7e f4 f6 e9
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: 09 d2 a0 ab 5d fa ef 8a 61 b0 f7 ed c4 d2 3c b1
DEBUG: 22 31 c9 7b ef 01 43 b5 76 d4 53 b5 b9 8d 49 20
DEBUG: HandShake: Server sent signature:
DEBUG: 82 bb 89 20 bc d1 32 66 cc f9 a3 03 df 1b 60 6c
DEBUG: a3 16 a4 7a 0f 11 4a b2 e3 e9 95 db df 37 83 27
DEBUG: HandShake: Digest key: 
DEBUG: fb 28 59 2a 65 8b 58 8b a5 0c df 1d 8f 0a 85 7e
DEBUG: 5a 27 63 a5 c6 c5 c7 58 c0 9e 45 ed 32 22 b1 6c
DEBUG: HandShake: Signature calculated:
DEBUG: 82 bb 89 20 bc d1 32 66 cc f9 a3 03 df 1b 60 6c
DEBUG: a3 16 a4 7a 0f 11 4a b2 e3 e9 95 db df 37 83 27
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 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.
My IP is definitely registered with server (as the stream is playing in browser)
What is the problem?
Is there any AMF data missed? or what?

Thanks
Reply With Quote
  #2  
Old 01-30-2015, 04:36 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


read this
http://stream-recorder.com/forum/usa...ne-t19312.html
and this
http://stream-recorder.com/forum/ple...lp-t19307.html
Reply With Quote
  #3  
Old 01-30-2015, 04:58 PM
4r1y4n 4r1y4n is offline
Junior Member
 
Join Date: Jan 2015
Posts: 6
4r1y4n is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Thank you very much. got it.

So I'm reading that variable with this:
Code:
wget -q -O- "http://zerocast.in/embed.php?a=653&id=&width=658&height=430&autostart=true&strech="|grep "file:" |sed 's#\s*file: .*t=\(\w*\)/.*#\1#'
So now this command works like charm:
Code:
t=$(wget -q -O- "http://zerocast.in/embed.php?a=653&id=&width=658&height=430&autostart=true&strech="|grep "file:" |sed 's#\s*file: .*t=\(\w*\)/.*#\1#') && rtmpdump -V -r "rtmp://rtmp.zerocast.tv:1935/live?t=$t/" -a "live?t=$t/" -f 'LNX 16,0,0,296' -W 'http://cdn.zerocast.tv/player/jwplayer.flash.swf' -p 'http://tv4embed.com/usa/NBC-stream1.html' -y '3GdoAHRAxgZNzmQZL29l'  -T '8964316ec8772dfa' -o out.flv
Reply With Quote
  #4  
Old 01-30-2015, 05:10 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Thumbs up

Re: rtmp server requested close on zerocast stream


Congratulations beautiful work, i bow
Reply With Quote
  #5  
Old 04-11-2015, 12:47 PM
Carudo Carudo is offline
Junior Member
 
Join Date: Apr 2015
Posts: 3
Carudo is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Hi! I'm a fresher to video stream recording. I've already tried to launch wireshark a couple of times, but was unable to find any necessary command arguments. May somebody say me what steps should I do to record this NBC channel?
Reply With Quote
  #6  
Old 04-13-2015, 11:50 AM
4r1y4n 4r1y4n is offline
Junior Member
 
Join Date: Jan 2015
Posts: 6
4r1y4n is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Quote:
Originally Posted by Carudo View Post
Hi! I'm a fresher to video stream recording. I've already tried to launch wireshark a couple of times, but was unable to find any necessary command arguments. May somebody say me what steps should I do to record this NBC channel?
Hi
Use rtmpsrv and/or rtmpsuck to extract parameters:
for linux check this out:
http://stream-recorder.com/forum/use...nux-t7661.html

for Windows I believe simply running those commands should work.
http://stream-recorder.com/forum/tut...ple-t6325.html

Using wireshark needs more skills in reading packets
Reply With Quote
  #7  
Old 05-10-2015, 06:37 PM
passa1 passa1 is offline
Member
 
Join Date: May 2014
Posts: 73
passa1 is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Zerocast new token please
Reply With Quote
  #8  
Old 05-10-2015, 07:21 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Quote:
Originally Posted by passa1 View Post
Zerocast new token please
for
Code:
http://p.jwpcdn.com/6/12/jwplayer.flash.swf
Code:
%Zrey(nKa@#Z
Reply With Quote
  #9  
Old 05-11-2015, 11:40 AM
passa1 passa1 is offline
Member
 
Join Date: May 2014
Posts: 73
passa1 is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Yes thank you if not i did have it.The problem is this site is using different players with different token i suppose.at moment bein sport us on that site is completely different of ABC in player.
Reply With Quote
  #10  
Old 05-11-2015, 04:15 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: rtmp server requested close on zerocast stream


Quote:
Originally Posted by passa1 View Post
Yes thank you if not i did have it.The problem is this site is using different players with different token i suppose.at moment bein sport us on that site is completely different of ABC in player.
post an example or the player
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 12:46 AM.


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