Comments (7)
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.
Ok Thanks you
-Derrick
from shaka-packager.
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.
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.
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.
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.
Thanks you very much.
Best Regards Derrick.
from shaka-packager.
Related Issues (20)
- Unable to run executable via NPM module on Apple Silicon (even with Rosetta 2 enabled) HOT 1
- ShakaPackager v3 doesn't generate <BaseURL> in MPEG-DASH manifest so that ShakaPlayer cannot play video completely.
- demux error HOT 2
- Packager fails to copy tmp files into place once its done when using a container volume + sshfs mount HOT 8
- Error building shaka packager in windows 10 HOT 2
- NALU length exceeds stream size HOT 2
- error: generic:18 Failed to write playlist HOT 3
- Shaka packager design in document HOT 3
- `ninja -C build pssh-box.py` not working HOT 5
- Packager Adaptation Set Switching values point to representation IDs instead of Adaptation Set IDs. HOT 1
- Error when using long path in input/output (Windows) HOT 4
- Shaka-packager's subtitle output and timing is broken for real-time flows when the input has "gaps/periods" without subtitle streams. HOT 3
- Packager Adaptation Set Switching doesn't work with forced command-line ordering HOT 1
- [DASH] Add content steering support.
- audioSamplingRate in representation is "0" for high sample rates HOT 2
- helpxml removed? HOT 1
- Macro DISALLOW_COPY_AND_ASSIGN include/file.h HOT 5
- For Packaging webm to mpd i am getting (MUXER_FAILURE): Error adding sample to segment: Cluster::AddFrame failed
- Packager doesn't work with macOS Big Sur 11.6 HOT 3
- Local/ Downloaded encrypted videos using Shaka Packager doesn't work on iOS.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shaka-packager.