-
Notifications
You must be signed in to change notification settings - Fork 491
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
Support for HLS fmp4 clear key AES-128 #234
Comments
I'm not sure what you mean by 'HLS with clear-key'. Clear-key is a way to provide a "no-drm" key delivery method for MPEG DASH. With HLS, the equivalent is to just put the URL of the key in the HLS playlist, pointing to a file with the key. |
Right, I meant simply HLS encrypted with AES-128 where URL of the key is simply in the playlist. It is simple to do with mp4hls for MPEG-TS, but I don't know how to do the same for fMP4. The docs doesn't mention that at all, same for I tried to simply add But when I add
That makes me believe that SAMPLE-AES is supported for HLS fMP4, but AES-128 is apparently not. So I ended up doing it myself in my script - parse all output subfolders with unencrypted HLS fMP4 content, generate a random key and iv for each stream, call The encryption is pretty slow that way, but it works, and the content plays fine as intended. Though if your packager actually supports this simple scenario, then I'll just use it, since it would probably encrypt way faster than call P.S.: it is for PoC, not for actual production, where URL to the keys would obviously be different :) |
Though the most important scenario for me is HLS fmp4 single-file AES-128. I can't encrypt it myself with |
is there any solve now ? |
+1 for supporting AES 128 as it's the most common way to encrypt content without caring much about others, like SAMPLE AES requires protection scheme to be CBCS but not all devices are supported CBCS. |
Is this scenario supported by mp4dash?
The text was updated successfully, but these errors were encountered: