View Single Post
  #6  
Old 12-16-2015, 02:22 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: How to re-stream CNN using ffmpeg


hi
two dynamic variable

Code:
rtmpdump -r "rtmp://89.248.171.23/live" -a "live" -f "MAC 20,0,0,228" -W "http://www.janjuaplayer.com/resources/scripts/eplayer.swf"  -p "http://www.janjuaplayer.com/embedplayer/cnnkxsm/1/600/400" --live -C S:OK -y "cnnkxsm?id=46549&pk=4bd7d90713b155409601c8221bdf43ecdb7a93d7467093f301b9d726d1b1653e"  -o video.flv
1)
Code:
http://www.janjuapublisher.com:1935/loadbalancer
2) you can download the source of the pageUrl (need Referer header)
Code:
livestreamer --http-header "Referer=http://www.zahitvstation.com/"   "httpstream://http://www.janjuaplayer.com/embedplayer/cnnkxsm/1/600/400" best -o source.txt
in source.txt file you can find your pk variable

Code:
<script type="text/javascript">
                    var so = new SWFObject("/resources/scripts/eplayer.swf", "eplayer", "600", "400", "9");
                    so.addParam('allowfullscreen','true');
                    so.addParam('allowscriptaccess','always');
                    so.addParam('wmode','transparent');
                    so.addParam('FlashVars', 'id=46549&s=cnnkxsm&g=1&a=1&l=&ea=&pk=4bd7d90713b155409601c8221bdf43ecdb7a93d7467093f301b9d726d1b1653e');
                    so.write("flashcontent");

it's possible to write php code or use LiveStreamsPro on kodi to get them automatically
Reply With Quote