I have an AAC file that was produced by encrypting an audio MP4 file using Shaka Packager with a known command, including the key and all parameters, like so
I'm trying to decrypt it back to the original file, but having no luck.Code:packager in=sample-in.mp4,stream=audio,output=sample-out.aac --segment_duration 60 --enable_raw_key_encryption --keys label=AUDIO:key_id=e08866791b25a47c3cceec4c518990ce:key=e08866791b25a47c3cceec4c518990ce:iv=e08866791b25a47c3cceec4c518990ce --protection_systems FairPlay --protection_scheme cbcs --clear_lead 0
errors out withCode:packager in=sample-out.aac,stream=audio,output=sample_decrypted.mp4 --enable_raw_key_decryption --keys label=AUDIO:key_id=e08866791b25a47c3cceec4c518990ce:key=e08866791b25a47c3cceec4c518990ce:iv=e08866791b25a47c3cceec4c518990ceI also tried ffmpeg and mp4decrypt from bento4, with no success.Failed to detect the container type.
However, encrypting to .mp4 instead of .aac works, I can decrypt the file with no issues. Any suggestions on how to approach this? I'm using the latest version of shaka from https://github.com/shaka-project/shaka-packager and I'm reproducing the problem with a known good sample .mp4 file. My understanding of audio codecs and containers is also tenuous, so if you go into that territory then ELI5.
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
How to find key of an offline encrypted video
By nic030 in forum Video Streaming DownloadingReplies: 4Last Post: 18th Jul 2023, 10:52 -
Decrypting a cenc encrypted video???
By leaderrocks in forum Video Streaming DownloadingReplies: 11Last Post: 9th Jun 2023, 18:32 -
Help getting key for 6play encrypted video
By Blackalot in forum Video Streaming DownloadingReplies: 15Last Post: 11th Mar 2023, 02:35 -
Downloading encrypted m3u8 with encrypted key
By alanonymous in forum Video Streaming DownloadingReplies: 4Last Post: 29th Mar 2022, 09:51 -
Download encrypted m3u8 with available key
By ao8vofa8usibfd in forum Video Streaming DownloadingReplies: 17Last Post: 6th Apr 2021, 15:58