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

Unable to package multiple files with Widevine DRM using raw key #1308

Open
ems5647 opened this issue Nov 29, 2023 · 0 comments
Open

Unable to package multiple files with Widevine DRM using raw key #1308

ems5647 opened this issue Nov 29, 2023 · 0 comments
Labels
component: Widevine The issue involves Widevine DRM

Comments

@ems5647
Copy link

ems5647 commented Nov 29, 2023

OS: Windows 10 Enterprise
Packager version: v2.6.1-634af65-release

packager in=inputPath,stream=audio,init_segment=parentFolder/audio[index]/init.mp4,segment_template=parentFolder/audio/$Number$.m4s
in=inputPath,stream=video,init_segment=parentFolder/audio[index]/init.mp4,segment_template=parentFolder/video/$Number$.m4s
--segment_duration 10
--protection_scheme cenc
--enable_raw_key_encryption
--keys key_id=keyID:key=key
--clear_lead 0
--protection_systems Widevine
--generate_static_live_mpd
--mpd_output mpdOutputPath

(1) Same command works when packaging to single file MP4 but when using segment_template to split into m4s, it no longer encrypts the videos

Expected result: Folder with output mpd and a folder each for audio and video that contain multiple files for each segment. Audio and video files should be encrypted with Widevine DRM.

Actual result: Everything is correct except there is no DRM.

@cosmin cosmin added the component: Widevine The issue involves Widevine DRM label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Widevine The issue involves Widevine DRM
Projects
None yet
Development

No branches or pull requests

2 participants