Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Secure token

(http://stream-recorder.com/forum/showthread.php?t=20320)

arnfsilva 10-05-2015 08:13 AM

Secure token


 
Hello,
Can you please tell me the secure token of this links?

http://www.meocanaltv.com/canais.php?stream=CMTV

http://www.meocanaltv.com/canais.php?stream=SICNOTICIAS

http://www.meocanaltv.com/canais.php?stream=SIC

http://mytvfree.me/rtp-1-online-em-direto

Thank you.

biezom 10-05-2015 09:12 AM

Re: Secure token


 
Quote:

Originally Posted by arnfsilva (Post 80316)


no token but dynamics app

peterpan 10-05-2015 09:17 AM

Re: Secure token


 
@biezom tu degenes the plus vite ;)

None require a token. Just use rtmpdumpHelper... ;)

Example:
Code:

rtmpdump
-r "rtmp://178.162.194.26/loadbalance" -a "loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMDE1IDM6MTI6NTUgUE0maGFzaF92YWx1ZT1lTEdiZUVmbC9RWXpnUXNac2dGN3BBPT0mdmFsaWRtaW51dGVzPTU=" -f "WIN 19,0,0,185" -W "http://pxstream.tv/player510.swf" -p "http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=450&jwplayer=flash" -y "93177826212956138691" -o "2015-10-05_08-12-58_93177826212956138691.flv"


arnfsilva 10-05-2015 02:19 PM

Re: Secure token


 
Hello,
Thanks for your answer. I have used rtmpdumphelper, but i have a problem. I put the code for example:

rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU= playpath=93177826212956138691 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=4 50&jwplayer=flash

But after i turn off the net, and turn on again, the stream doesnīt work anymore. Iīm noob on this. Can you help me resolve the problem? It must be something missing in the code.
Thank you.

biezom 10-05-2015 02:57 PM

Re: Secure token


 
Quote:

Originally Posted by arnfsilva (Post 80330)
Hello,
Thanks for your answer. I have used rtmpdumphelper, but i have a problem. I put the code for example:

rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU= playpath=93177826212956138691 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=sicnoty84u&width=600&height=4 50&jwplayer=flash

But after i turn off the net, and turn on again, the stream doesnīt work anymore. Iīm noob on this. Can you help me resolve the problem? It must be something missing in the code.
Thank you.



Code:

rtmp://95.211.148.66/loadbalance?wmsAuthSign=c2VydmVyX3RpbWU9MTAvNS8yMD E1IDc6MDY6NDggUE0maGFzaF92YWx1ZT1GQ3FvWUtvRC9aT3VY OGhLcCtUb05BPT0mdmFsaWRtaW51dGVzPTU

in red dynamic value

write php or python code it's possible to update automatically this value

arnfsilva 10-05-2015 03:30 PM

Re: Secure token


 
I have writen this, but isnīt still working:

rtmp://95.211.137.198/loadbalance?wmsAuthSign=php playpath=84792152861424662534 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=cmtv22ed&width=600&height=450 &jwplayer=flash

Whatīs wrong? Sorry, but i need your help.
Thanks.

biezom 10-05-2015 04:17 PM

Re: Secure token


 
Quote:

Originally Posted by arnfsilva (Post 80334)
I have writen this, but isnīt still working:

rtmp://95.211.137.198/loadbalance?wmsAuthSign=php playpath=84792152861424662534 swfUrl=http://pxstream.tv/player510.swf live=1 pageUrl=http://pxstream.tv/embedrouter.php?file=cmtv22ed&width=600&height=450 &jwplayer=flash

Whatīs wrong? Sorry, but i need your help.
Thanks.

write a php code like here

http://stream-recorder.com/forum/aut...html#post80219


when i have time i can try write it

arnfsilva 10-05-2015 11:28 PM

Re: Secure token


 
If you could do so i would appreciate. I donīt understand how to do it.
Thank you.

biezom 10-06-2015 02:36 AM

Re: Secure token


 
Quote:

Originally Posted by arnfsilva (Post 80344)
If you could do so i would appreciate. I donīt understand how to do it.
Thank you.

need unzip, php http://windows.php.net/downloads/rel...32-VC9-x86.zip
and rtmpdump https://github.com/K-S-V/Scripts/rel...mpdump-2.4.zip in the same folder in C:\PHP for example

Code:

<?php
$opts1 = array(
  'http'=>array(
    'method'=>"GET",
    'header'=>"Referer: http://www.meocanaltv.com/\r\n" .
                "User-Agent: Mozilla/5.0 (A (X11; Linux i686; rv:40.0) Gecko/20100101 Firefox/40.0 Iceweasel/40.0.3"             
  )
);
$source1= file_get_contents($argv[1], false, stream_context_create($opts1));
preg_match('/cid="(.*?)"/', $source1, $embed1);
$source2= file_get_contents("http://www.meocanaltv.com/embed/$embed1[1].php", false, stream_context_create($opts1));
preg_match('/file=\'(.*?)\'/', $source2, $embed2);
$source3= file_get_contents("http://pxstream.tv/embedrouter.php?file=$embed2[1]", false, stream_context_create($opts1));
preg_match('/file: \'(.*?)\'/', $source3, $playpath); preg_match('/streamer: \'(.*?)\'/', $source3, $rtmp);
preg_match('/flashplayer: "(.*?)"/', $source3, $flashplayer);
$date = date("H-i_d-m-Y");
echo "Starting rtmpdump...\n\n";
echo "rtmpdump -r \"$rtmp[1]\" -W \"http://pxstream.tv/$flashplayer[1]\" -p \"http://pxstream.tv/embedrouter.php?file=$embed2[1]\"  -y \"$playpath[1]\" -o \"$embed1[1]_$date.flv\"\n\n";

        passthru("rtmpdump -r \"$rtmp[1]\" -W \"http://pxstream.tv/$flashplayer[1]\" -p \"http://pxstream.tv/embedrouter.php?file=$embed2[1]\"  -y \"$playpath[1]\" -o \"$embed1[1]_$date.flv\"  &");
        echo "Done.\n";
?>

edit and create one file with filename meocanaltv.php (use notepad++ instead of notepad) and paste the code


for example for this channel

http://www.meocanaltv.com/canais.php?stream=CMTV


open command prompt

Code:

cd C:\PHP
Code:

php meocanaltv.php http://www.meocanaltv.com/canais.php?stream=CMTV

arnfsilva 10-06-2015 04:12 AM

Re: Secure token


 
Hello,
I think i didnīt explained you well the problem. I want to play the channels in kodi. I have this list: https://ghostbin.com/paste/rp5p7

So, i need the codes to put there in each channel of the list. The codes that are there donīt work, because like you explained me they are dynamic.
Sorry for the disturb, but i donīt understand a lot of this.
Thank you again.


All times are GMT -6. The time now is 12:57 AM.