-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRM: Apply different Content Key to different tracks and renditions #961
Comments
Yes, this is absolutely possible.
(note the |
oookey dokey... First of all, thank you for the quick response. Now, we have made multiple tests and further require your assistance because it seems I can't get it right. Test 1:
Command:
Results:
Test 2:
Command:
Results:
Test 3:
Command:
Results:
Test 4:
Command:
Results:
Test 5:
Command:
Results:
Summary:So, it looks like when using the mp4dash to package the content you must use mp4 files that have separate audio and video to not to confuse bento4 when creating the manifest. But, seems that it has issues generating the Widevine PSSH on its own and, for some reason, the PlayReady PSSH inside the init fragment contains only a single KID whereas the PSSH inside the Manifest and the PRO inside the manifest, both contain two KIDs. When using mp4encrypt and then doing the packaging, we get the same result as if we would only use mp4dash with +key and files with audio/video only. Questions are:
Thank you |
Hi.
If it is a requirement that each init segment's PSSH data for Widevine and PlayReady include all KIDs, this is definitely something that can be added to the tool. Let me know if that's the case, I can make the modification. |
Hello @barbibulle, Thank you for the response. Indeed having all the KeyIDs inside the PSSH box in the init segment and the manifest is the requirement if one wants to utilize the multiple key DRM license. In this case, the DRM license server may issue a single license with multiple Content Keys inside. Do I understand correctly that at this stage, the only approach is for us to generate the valid PSSH for both PlayReady and Widevine and
to get the asset in which each track is encrypted using its own keys and has correct PSSH boxes inside the manifest and inside the init fragments? |
Hello @barbibulle, Do you happen to have a roadmap that you could share for the product? |
Hi @barbibulle, I also have a related question for this topic. |
Hello all,
As you know the Widevine team recommends packaging your content using different Content Keys i.e. different keys for Audio, SD, HD, etc. Imagine I have 3 input mp4 files - AUDIO, SD, HD, how could I apply different Content Keys to those during encryption and ensure that the tool generates a valid PSSH box that contains 3 different Key IDs that correspond to Contnet Keys used?
Is it possible with Bento4?
Thank you in advance for your answer!
The text was updated successfully, but these errors were encountered: