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

How to use php to decode token of m3u8 link

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

sonnvl 11-09-2015 02:39 AM

How to use php to decode token of m3u8 link


 
I use php to get content of this stream but its token was encoded.
Can I decode this ?

Code:

http://hplus.com.vn/vi/content/detail/youtv-2070.html
http://htqjrpsv.cdnviet.com/htjzzsg/_definst_/youtv.360p.stream/playlist.m3u8?t=5XLYb8EtDkZE6GAfPt8p6eTVTg5e4I5iUjnFW5K8NG7NlPIal0LtTtBeq+3FnZvYPG+hCQjvBMYIelCVqO9CSpYiP5FhhSrZRvgN0dzFI8eFMsr67qhu6xaa2fCMecp/

Thanks !

peterpan 11-09-2015 07:15 AM

Re: How to use php to decode token of m3u8 link


 
The stream in question does not use a token. If by "token" you're referring to the t= param, then why would you need to decode it?! The stream, as you can see, works just fine w/o decoding anything ;)



troller12 11-09-2015 12:27 PM

Re: How to use php to decode token of m3u8 link


 
So I think sonnvl want to get the direct paramters (to execute it with a php script + LS etc without to grab the working playlist manually) which are not readable in page source (only long encoded).The long m3u8 link gets post to hplus.com.vn/content/getlinkvideo/ (with many paramters) and as response you get the direct m3u8 link you can use with LS.Just check this out with FF or Chrome network tool tab there you can see it.

greetz


All times are GMT -6. The time now is 03:01 PM.