Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
![]() ![]() |
|
Thread Tools | Display Modes |
#61
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8I tried, it is same. Doesn't matter if I'm logged in or not.
|
#62
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8PM please your login info.. only than can able to help you...
otherwise soory....!!!!! |
#63
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8PM sent.
|
#64
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8Some key files require cookies that are set when you retrieve the m3u8. I have a script that handles the downloading and decryption to a single transport stream file for many streams.
If you can log the playback of the stream then you should be able to see what is needed in the request for the key file. It is probably just a cookie. |
#65
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8can you share the script so tht we can look into this.....
|
#66
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8If I try to play the streams on an iOS device I get the "the server requires a client certificate"
So it is probably just using the right client certificate. I would have to clean up the script a bit to make it friendly for usage. I mostly just hack around in idle. it works for hulu and some other services pretty well. I would try to log some sessions and then replicate the traffic. It is pretty simple. just aes in cbc mode and parsing the key and iv. The apple media players uses a 00'd iv if none is provided. If I can examine a ssl mitm proxied of a playback then I could probably write/update a script to download it. |
#67
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8Are you using Curl script..... As cookies expire very fast... As it download encrypted stream and keys using cookies and whn comes to decrypt stage mostly key expires.....
Also some keys require secure iOS token to access...!! Any update to this.....??? |
#68
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8no I am only using python. I just keep a temporary cookie jar in memory for the stream. I tried to replicate the AppleCoreMedia behavior. it is easy to add tokens or special headers to a request.
I just wrote it to save several streams that I couldn't save with any method I tried. It might be my fault because I didn't know how to use the existing utilities for saving them. it calls ffmpeg to remux the decrypted ts to mp4 or mkv. I will try to get it in a useful form to post. I would love to expand the functionality. |
#69
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8will love to see your python script.. whn you are going to share.....
|
#70
|
|||
|
|||
![]() Re: Decrypt AES-128 encrypted video files from a m3u8yea nevermind. i will keep working on my own stuff.
|
![]() ![]() |
Tags: aes, encrypt, ffmpeg, openssl |
Thread Tools | |
Display Modes | |
|
|