View Single Post
  #5  
Old 05-09-2017, 02:07 PM
streamcrank streamcrank is offline
Junior Member
 
Join Date: Apr 2017
Posts: 9
streamcrank is on a distinguished road
Default

Re: #EXT-X or m3u8 or TS or AES-128? You got HLS.. Howto Beat it in 2017


Quote:
Originally Posted by arec View Post
This is the kind of stream I am having difficulty with. When I try your code...

ffmpeg -protocol_whitelist file,udp,rtp,crypto,tcp,https,rtsp,tls -i "TS-M3U8 URL HERE" -c:a copy -c:v copy "OUTPUT FILE HERE.ts"

using my own filenames I get an error about "unable to open key file". I am not sure how to get that key file from the m3u8 file. I have read that it could be found in a cookie but also that it could be found in them m3u8 file itself.
second red text is from first red text. They likely use cookies or referrer or timeout or all of the above to protect individual and/or master key URI. With these you need to use a python script the uses cookie header and sets referrer header. This isn't an uplynk thing it's a client thing.
Reply With Quote