View Single Post
  #10  
Old 03-13-2017, 01:58 AM
bloodhand bloodhand is offline
Junior Member
 
Join Date: Sep 2016
Posts: 11
bloodhand is on a distinguished road
Default

Re: Download key protected m3u8


The ASCII characters displayed in Firefox are wrong, this is why you have to use Fiddler to save the key file directly, so no copy/paste involved that might wreck the special characters the key file has.

About reading key file from disk directly without editing the m3u8... Unfortunately, even if ffmpeg/livestreamer had such a parameter, you still have to save the key file using Fiddler, because the key file is generated after some complex cookie send/receive within the http coding, so you can't get the key file any other way. This is why if you leave the original key link into the m3u8 it won't work, because ffmpeg/livestreamer cannot parse cookies. I also tried in the first place to parse special cookies to the m3u8 before editing, but I did not succeed. Also, like I said above, copying and pasting the key code from Firefox might not work if there are special characters involved. You can test this by comparing the key characters from Firefox with the ones from the key file saved with Fiddler and you'll understand what I mean.
Reply With Quote