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 large media files with DRM (PlayReady, Widevine, Fairplay) #1315

Closed
demz20 opened this issue Dec 7, 2023 · 5 comments
Closed

Comments

@demz20
Copy link

demz20 commented Dec 7, 2023

System info

Operating System: Windows 11 Enterprise
Shaka Packager Version: v2.6.1-634af65-release

Issue and steps to reproduce the problem

Packager Command:

**DRM Playready/Widevine

packager
in=input.mp4,stream=audio,output=audio.mp4,drm_label=AUDIO
in=input.mp4,stream=video,output=video.mp4,drm_label=SD
--enable_raw_key_encryption
--keys label=AUDIO:key_id=KID:key=KEY,label=SD:key_id=KID:key=KEY
--protection_systems Widevine,PlayReady
--mpd_output output.mpd

**DRM Fairplay
packager
in=input.mp4,stream=video,output=video.mp4,drm_label=HD
in=input.mp4,stream=audio,output=audio.mp4,drm_label=AUDIO
--protection_scheme cbcs
--enable_raw_key_encryption
--keys label=AUDIO:key_id=KID:key=KEY:iv=IV,label=HD:key_id=KID:key=KEY:iv=IV
--protection_systems FairPlay
--hls_master_playlist_output h264_master.m3u8
--hls_key_uri hls_key_provider_url

I just encountered an issue where, when packaging large media, the packager will throw an exception. I can package MP4 media with file sizes less than 400 MB using the above configuration. But when packaging media with file sizes above 400 MB, the packager will not succeed. I could not attach the media files due to confidentiality. Any help would be greatly appreciated!

What is the expected result?
It should package the media.

What happens instead?
It throws this error
image

@xavierlaffargue
Copy link

@demz20
Copy link
Author

demz20 commented Dec 12, 2023

https://download.blender.org/demo/movies

hi @xavierlaffargue , I have tried that media, unfortunately, I encountered an error. I do not know if it needs to be fragmented first or let the shaka packager do the fragmentation. Here's the error message:
image

@demz20

This comment was marked as duplicate.

@cosmin
Copy link
Collaborator

cosmin commented Apr 25, 2024

Is this problem specifically with DRM, or are you seeing the same problem with large inputs without DRM being applied?

@cosmin cosmin added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Apr 29, 2024
Copy link

github-actions bot commented May 6, 2024

Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.

@github-actions github-actions bot closed this as completed May 6, 2024
@github-actions github-actions bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label May 6, 2024
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

3 participants