Skip to content
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

Trying to validate this drm spec file #2768

Open
MarianoFacundoArch opened this issue Feb 28, 2024 · 0 comments
Open

Trying to validate this drm spec file #2768

MarianoFacundoArch opened this issue Feb 28, 2024 · 0 comments

Comments

@MarianoFacundoArch
Copy link

I am trying to validate whether this drm spec file is correct or missing anything.
I want it to work with CENC, Widevine, and Fairplay. However, I am a bit lost as I can't find a proper place that specifies the correct format to support all of them.
Thanks.

<?xml version="1.0" encoding="UTF-8"?>
<GPACDRM type="cenc">
  <DRMInfo type="pssh" version="0">
    <BS ID128="edef8ba979d64acea3c827dcd51d21ed"/>
    <BS data="0x08011210"/>
    <BS ID128="65df74e0ffc3e67ca557c9a1fc1bdef4"/>
  </DRMInfo>
  <DRMInfo type="pssh" version="1">
    <BS ID128="1077efecc0b24d02ace33c1e52e2fb4b"/>
    <BS bits="32" value="1"/>
    <BS ID128="65df74e0ffc3e67ca557c9a1fc1bdef4"/>
  </DRMInfo>
  <CrypTrack trackID="0" IsEncrypted="1" IV_size="16" first_IV="0xfc75643f822d0645806dc4e58457c042" saiSavedBox="senc">
    <key KID="0x65df74e0ffc3e67ca557c9a1fc1bdef4" value="0x044c8826d32432a41586673cc1c05bcb"/>
  </CrypTrack>
</GPACDRM>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant