Hello,
This thread is somewhat related to
this recent topic.
The idea here is to decrypt the video that is described by a .m3u8 playlist:
Code:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:20
#EXT-X-KEY:METHOD=AES-128,URI="key.key",IV=0xF85A5066CCB442181ACACA2E862A34DC
#EXTINF:10.368000,
segment-00000.ts
#EXTINF:14.252000,
segment-00001.ts
...
The .key file is just:
Code:
e2f96a0861cb381a8b52801f18bf04924c3472bc8f319930
I have tried ffmpeg but it is failing, so I'm now trying to decrypt separate .ts parts (TS is one of these formats which you can read even if you have a part of the file).
I have tried to use (as well as some online AES decrypting tools) openssl, with the following command:
Code:
openssl aes-128-cbc -d -in segment-00001.ts -out output.ts -K e2f96a0861cb381a8b52801f18bf04924c3472bc8f319930 -iv F85A5066CCB442181ACACA2E862A34DC
But this returns a "bad decrypt" error:
Code:
bad decrypt
139974157190984:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:596:
Does anyone here have a clue about this?
Thank you in advance!
Dune