View Single Post
  #1  
Old 10-26-2017, 03:13 AM
Pozz Pozz is offline
Junior Member
 
Join Date: Sep 2017
Posts: 6
Pozz is on a distinguished road
Default

HLS Stream : Encrypted TS


Hi everybody,

I'm trying to download a video from a website wich uses hls stream protocol. I managed to get the playlist file and all the ts files, but when I try to concatenate them with ffmpeg, it doesn't works obviously.
In the playlist file, there a URI link to the key:

Code:
#EXT-X-KEY:METHOD=AES-128,URI="link to the key",IV=0x3838c5776a2114c7233d9099fb7d7bf2
There's a python script on the forum (Here) but when I execute it, it says to me this error:
Code:
AttributeError: 'M3U8' object has no attribute 'key'
The key given by the website is a 16 bytes incomprehensible word :
Code:
D×><
AiB?a±?U<Á
If you want more information about the website, send me a pm, I'm trying not to get the attention from them.
Thanks!
Reply With Quote