[Attachment 84979 - Click to enlarge]
I’m dealing with a decryption issue in which I've decrypted a video segment (in .ts format), but when I try to play it, I encounter significant problems. The video only shows a small part of the upper-left corner correctly decoded, while the rest of the frame is filled with distortion and noise. Additionally, the audio is incorrect and doesn’t play properly.
I've attached a screenshot showing the issue where only the upper-left corner is visible, while the rest of the frame is corrupted. I’ve tried playing the segment in VLC and other players, but the result remains the same.
This seems to be the hardest decryption I’ve encountered so far, and I’m unsure whether the segment is incomplete, corrupted, or if there’s an issue with the encoding. The segment is supposed to be a video/audio stream, but both the visual and audio components appear to be heavily distorted.
Has anyone faced something similar or could provide insights on how to fix this issue? Any help would be greatly appreciated..
Closed Thread
Results 1 to 7 of 7
-
-
maybe. but your video still encrypted. so wrong key or wrong decrypt process
to understand about your issue, need the original video link to get us the key file. and compare us key with your key
so if you need help, share the video link and key find too (and maybe also command used for download or decrypt only)
-
If you guys can decrypt this, then you're legends. This is the hardest one to decrypt that I've gotten so far
m3u8 link
key : 80c316b80bc735b47121c44f734ca107
iv : 5d6033d702dda4e17dcff42c5927ede9
Even with the correct key and IV, it won’t work directly. You first need to apply this function to each segment:
def bit_shift_decode(input_string, shift=2):
"""Decode the input string using right bit-shift operation."""
output_string = ""
for char in input_string:
char_code = ord(char)
shifted_char_code = char_code >> shift
output_string += chr(shifted_char_code)
return output_string
Once you've processed the segments with this function, you'll get them in base64. After decoding from base64, you can proceed to decrypt using AES-128 with the key and IV. However, even then, the result might still appear corrupt.
Good luck to anyone who attempts this!
-
Similar Threads
-
Recorded HLS stream .ts file always shows Packet corrupt (stream = 0, dts
By christopher68koeppiaz in forum Video Streaming DownloadingReplies: 10Last Post: 2nd Jan 2025, 09:48 -
Decrypting HLS Live Stream with 2 keys.
By Samudragupta in forum Video Streaming DownloadingReplies: 4Last Post: 31st May 2024, 12:46 -
Decrypting Fairplay-encrypted AAC file with a known key
By breadwolf in forum AudioReplies: 0Last Post: 3rd Oct 2023, 16:30 -
Streamlink - [stream.hls][error] Failed to fetch segment.
By kurek in forum Video Streaming DownloadingReplies: 5Last Post: 5th Dec 2022, 12:34 -
FFMPEG Save video from rtsp stream to hls stream
By Wisperrio in forum Video Streaming DownloadingReplies: 2Last Post: 26th Aug 2021, 22:38