Skip to content

A simple script to create an encrypted HLS/DASH stream using shaka packager

Notifications You must be signed in to change notification settings

gesinger/encrypted-video-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encrypted Video Creator

A simple script to create an encrypted HLS/DASH stream using shaka packager.

Performs most of the instructions found in the associated doc.

Installing

See the "Requirements" section in the creating test drm content doc for instructions on building shaka packager and pssh-box.

After those scripts are available, run:

$ npm install

Using

To see the options, run:

$ npm run start -- -h

A sample command using all the defaults (generates a clear key encrypted source):

$ npm run start -- --source video.mp4

Sample command using Widevine defaults (generates a test Widevine encrypted source using the test credentials provided by shaka packager):

$ npm run start -- --source im.mp4 --key-system widevine

Note

Many of the options have not been tested, but should provide a good foundation for future enhancements/fixes.

About

A simple script to create an encrypted HLS/DASH stream using shaka packager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published