View Single Post
  #3  
Old 01-30-2015, 03: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