Hi everyone,
I’d like to introduce ssadecrypt, a simple tool to decrypt MPEG-TS files encrypted using SAMPLE-AES.
Why ssadecrypt
As far as I know, there is currently no tool for this situation:
- mp4decrypt – It doesn’t support MPEG-TS inputs and only supports encrypting with SAMPLE-AES when using mp42hls.
- shaka-packager – It doesn’t support SAMPLE-AES decryption.
- ffmpeg – Although it supports SAMPLE-AES decryption, it is tied to HLS and cannot be used separately.
So, I created this tool for my own needs and hope it can help others with similar requirements.
Usage
You can download the release from GitHub Release. After downloading the tool for your platform, run a command like this:
And you'll get the decrypted output.Code:ssadecrypt --key 1234567890abcdef1234567890abcdef --iv 1234567890abcdef1234567890abcdef input.ts output.ts
Hope you like it.
+ Reply to Thread
Results 1 to 8 of 8
-
-
Thanks for sharing
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
N_m3u8DL-RE doesn't support decrypting SAMPLE-AES, while ssadecrypt can handle decrypting the encrypted blocks downloaded by it.
If you're talking about iori - which shares its repo with ssadecrypt - it's more like a toolkit for developers to build CLI tools similar to N_m3u8DL-RE and Minyami. So if you want to customize or create your own downloader, iori is designed exactly for that. -
yes i talk about ssadecrypt.
RE can't support aes encryption ? are you sure ?Last edited by lomero; 3rd Feb 2025 at 01:42.
-
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
Similar Threads
-
Decrypting video with SAMPLE-AES
By Tsubasa in forum Video Streaming DownloadingReplies: 23Last Post: 17th Feb 2025, 12:53 -
Decryption of videos with MPD url that uses AES 128 encryption
By Sagnik in forum Video Streaming DownloadingReplies: 2Last Post: 23rd Jan 2025, 20:41 -
[solved] Need sample video
By reel in forum Video Streaming DownloadingReplies: 1Last Post: 1st Jul 2024, 02:16 -
Extract video from streaming application with AES-128 decryption key
By taleporos in forum Video Streaming DownloadingReplies: 10Last Post: 1st Mar 2024, 17:29 -
Sample-AES and Ffmpeg
By jonboys44 in forum Video Streaming DownloadingReplies: 8Last Post: 22nd Oct 2023, 17:14