Quote:
Originally Posted by biezom
|
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