Giter Club home page Giter Club logo

Comments (7)

kqyang avatar kqyang commented on July 17, 2024

You'll need to sign up with our Google NDA and Widevine Master License Agreements.

Go to http://www.widevine.com/contact.html and create a general / sales inquiry.

from shaka-packager.

superbderrick avatar superbderrick commented on July 17, 2024

Ok Thanks you
-Derrick

from shaka-packager.

superbderrick avatar superbderrick commented on July 17, 2024

HI kqyang

I have a one question about DASH encrypted contents,
I am trying to make encrypted dash contents with live profile using normal mp4 file( not from live streaming server).

So, I could made some contents based on READ.ME Document but It looks like they are not perfect.

I inputed like this

.././packager input=normal_audio.mp4,stream=audio,output=encrypted_audio.mp4
input=normal_video.mp4,stream=audio,output=encrypted_video.mp4
--enable_widevine_encryption
--key_server_url "https://license.uat.widevine.com/cenc/getcontentkey/widevine_test"
--content_id "3031323334353637"
--signer "widevine_test"
--aes_signing_key "1ae8ccd0e7985cc0b6203a55855a1034afc252980e970ca90e5202689f947ab9"
--aes_signing_iv "d58ce954203b7c9a9a9d467f59839249"
--crypto_period_duration 140

Result of the conversion is mpd file with segment files, however I observed that first segment file is not encrypted properly. and initialization segment file also,
How Can I encrypt to first segment file and initialization segment file
Best Regard Derrick.

from shaka-packager.

kqyang avatar kqyang commented on July 17, 2024

There are 10 seconds clear lead by default. You could set it to 0 by adding --clear_lead 0 to command line.

The initialization segment will never be encrypted per CENC spec.

from shaka-packager.

superbderrick avatar superbderrick commented on July 17, 2024

Thanks replay quickly,
I was wrong questions , I know that the initialization segment will never be encrypted per CENC spec.

So , What I am saying that, initialization segment file doesn't have any information about pssh data for DRM ,

In spite of I added -- flag ' --clear_lead 0 '
Thanks
Best Regards
Derrick,

from shaka-packager.

kqyang avatar kqyang commented on July 17, 2024

With key rotation, the encryption keys may change from this segment to another segment, i.e. pssh for this segment could be different for different segments, so instead of putting pssh in the initialization segment, we put it in the media segments.

from shaka-packager.

superbderrick avatar superbderrick commented on July 17, 2024

Thanks you very much.
Best Regards Derrick.

from shaka-packager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.