i try
Streamlink its work good but stream drm no pic
+ Reply to Thread
Results 1 to 21 of 21
-
im very keen on learning about this i use develpoer tools but can only get so far
https://cdnuk001.broadcastcdn.net/KUK-FILM4/tracks-v1a1/mono.m3u8 -
Use ffmpeg https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-5.1.2-essentials_build.zip
Code:ffmpeg -cenc_decryption_key "key" -i "url" -c copy live.mp4
-
ites work thanks but 5 scound only ?
and i get this
Warning: program compiled against libxml 211 using older 209 ???
[Attachment 67493 - Click to enlarge]
[Attachment 67495 - Click to enlarge]Last edited by ahmedani; 5th Nov 2022 at 22:31.
-
i use WKS-KEY
so i get this key
f67bdc58cb9039efc1b9c9808ae18de5:a95f906d5de6363ab ddd396fa2c38af5
but for ffmpeg i use this commend to get key
wv = key.split(":")
ffmpeg -cenc_decryption_key a95f906d5de6363abddd396fa2c38af5 -i https://forum.videohelp.com -c copy live.mkv -
Is there a way to just download the audio and video streams separately, then just decrypt later? Youtube-dlp works, but stops after the first couple of segments when given a DASH dynamic MPD for a livestream.
The ffmpeg command with the cenc_decryption_key works, but if I'm still working on getting the key, I'm not able to record the beginning of the stream.
If I try ffmpeg without the parameter, I end up with an mp4 file that fails to decrypt properly afterward with mp4decrypt, even with the correct key. -
If you mean the allow unplayable formats flag, yes, that's what I use for most encrypted streams. It works fine most of the time, except when you have a dynamic MPD file (livestreamed DASH), as I mentioned before. Both encrypted audio and video streams do get written to disk, but the capture stops after a while.
-
For Dash Livestream, the best way is to use Xstream-DL (Linux/Windows) or N_m3uDL (Windows)
https://github.com/xhlove/XstreamDL-CLI
https://github.com/nilaoda/N_m3u8DL-RE/releases/tag/v0.0.3-beta -
latest version of N_m3u8DL-RE is 0.0.8-beta and also linux version is available
https://github.com/nilaoda/N_m3u8DL-RE/releases/tag/v0.0.8-beta -
Thanks, N_m3u8DL-RE did the trick! Tried it with the --live-real-time-merge parameter and got an encrypted video stream and an encrypted audio stream.
One last issue - for some reason, the video stream seems to be corrupted. The key that decrypts the audio stream works, and it is the same key for the video stream, but decrypting with that key fails. The same key works to decrypt video when using ffmpeg with the key in cenc_decryption_key. Any ideas? -
Code:
N_m3u8DL-RE --live-real-time-merge --live-record-limit 00:05:00 https://cdnuk001.broadcastcdn.net/KUK-FILM4/manifest.mpd --key f67bdc58cb9039efc1b9c9808ae18de5:a95f906d5de6363abddd396fa2c38af5 -M format=mp4
Last edited by karapuz; 6th Nov 2022 at 15:03.
-
-
Similar Threads
-
How To Play / Download a DRM Live Stream Protected MPD Manifest On Linux
By Rebanjulu in forum Video Streaming DownloadingReplies: 5Last Post: 2nd Nov 2022, 11:52 -
MPD DRM protected live stream
By snow_ in forum Video Streaming DownloadingReplies: 14Last Post: 7th Sep 2022, 16:11 -
How to downloadt live stream mpd with drm?
By cierzo in forum Video Streaming DownloadingReplies: 12Last Post: 28th Mar 2022, 06:12 -
How can i download mpd video DRM protected ?
By Markoz in forum Video Streaming DownloadingReplies: 10Last Post: 8th Mar 2022, 17:33