Hi!
Is there a way to check that a given kid:key pair is valid with a specific manifest?
For example, download the init.mp4 or a segment of the video and try to decrypt it with that key pair and return if the keys are correct or not.
Thanks!
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 2 of 2
-
-
From a mathematical point of view, any key (of the right length) is valid, so standard decryption tools (e.g. mp4decrypt) don't tell you whether a key is valid because they don't check that the media streams they produce look plausible.
What you can do is ask ffmpeg to play the decrypted media stream and check the number of warnings/errors that it generates. Here is some example code in tests for the Rust library dash-mpd-rs (which is used in the download tool dash-mpd-cli).
Similar Threads
-
Get KID and key from mpd file
By Deshdeepak in forum Video Streaming DownloadingReplies: 40Last Post: 3rd Dec 2023, 14:21 -
hope you guys can help me with key:kid
By vuitv in forum Video Streaming DownloadingReplies: 12Last Post: 26th Apr 2023, 11:27 -
Need help for getting KID:KEY value pair
By jonax77 in forum Video Streaming DownloadingReplies: 7Last Post: 5th Feb 2023, 07:04 -
How to check KID
By U96 in forum Newbie / General discussionsReplies: 2Last Post: 8th Nov 2022, 09:51