Hi guys,
so you can download the video using ffmpeg tool but before you need to handle some steps manually I do explain now.
FFmpeg / streamlink are not working because they get bad request answer trying to access the keyfile links.Problem in this case is that the host to the keyfile is wrong which you can read in the complete-trimmed.m3u8 playlist of any your desired resolution & BANDWIDTH etc.If you follow manually the traffic in webconsole then you can see that the keyfile was loaded also from zipstreams.net host but if you download the playlist or you try to play it with ffmpeg / streamlink then you get the infos that the keyfile cant loaded from a other host mf.svc.nhl.com.So if you now just change the host name to zipstreams.net (only host name so the link is same) then you can access the keyfile links without any extra paramters.
Solution: Choose any stream quality you want from master playlist.I did choose this for my test...
Code:
1800K/1800_complete-trimmed.m3u8
....now download this entire playlist and load it into editor like Notepad ++.First change all keyfile hosts to original host of the site...
Code:
mf.svc.nhl.com
to
zipstreams.net
Use search & repleace function.As next you need to add the complete link to all short ts links at the beginning.
Code:
18/01/30.ts
to
http://hlslive-akc.med2.med.nhl.com/hdnts=exp=****/NHL_GAME_VIDEO_EDMNYR_M2_HOME_20171111_1510324896368/1800K/18/01/31.ts
Do with all.Also you can use search & repleace function of Notepad++ like this...
Code:
18/
to
whole link + 18/
Do this 3 times for 18/ & 19/ & 20/ then you got all changed very quick.Now save it as new playlist file and copy this into your ffmpeg folder + CMD.exe and then start the cmd.exe from there and execute this command to start playing the stream in VLC.
Code:
ffmpeg.exe -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "Hockey2.m3u8" -c:v copy -c:a copy -f mpegts - | C:\Programme\VideoLAN\VLC\vlc.exe -
In my case I named my edited playlist Hockey2.m3u8 so just use your name you gave it and also your VLC playerpath or output to download the video.If you did all correctly then you get this to see with ffmpeg...

All working so far.In this case you also dont need to download the keyfile so you can access the keyfile links directly without any extra paramters.Just follow my steps and then you can download the video etc.
greetz