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
Comments
Can you try with this Big Bunny file https://download.blender.org/demo/movies/BBB/bbb_sunflower_2160p_60fps_normal.mp4.zip ? |
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: |
This comment was marked as duplicate.
This comment was marked as duplicate.
Is this problem specifically with DRM, or are you seeing the same problem with large inputs without DRM being applied? |
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 |
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
The text was updated successfully, but these errors were encountered: