Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Decrypt AES-128 encrypted video files from a m3u8

(http://stream-recorder.com/forum/showthread.php?t=18317)

Liluy 11-08-2015 11:40 AM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Thanks.

zapac 11-15-2015 06:52 PM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Download a video from hotstar its a m3u8.its very confusing I cant play ts segments but I can play main file which has whole video path

Code:

#EXTM3U #EXT-X-TARGETDURATION:6 #EXT-X-ALLOW-CACHE:YES #EXT-X-KEY:METHOD=AES-128,URI="https://staragvod1-vh.akamaihd.net/i/videos/plus/yhm/590/1000074491_,180,400,800,1300,2000,_STAR.mp4.csmil/crypt.key?null=&id=AgDf462ferLhDbzlR1b%2ft PZ1DQS3pGOGVgQ5wYQ81IYnSyjyiA3xIIIX8POSrAjoaNWOtF8NIx Bw%3d%3d" #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:1 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/0 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/1 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/2 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/3 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/4 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/5 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/6 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/7 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/8 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/9 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/10 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/11 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/12 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/13 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/14 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/15 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/16 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/17 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/18 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/19 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/20 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/21 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/22 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/23 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/24 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/25 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/26 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/27 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/28 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/29 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/30 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/31 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/32 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/33 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/34 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/35 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/36 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/37 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/38 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/39 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/40 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/41 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/42 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/43 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/44 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/45 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/46 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/47 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/48 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/49 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/50 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/51 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/52 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/53 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/54 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/55 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/56 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/57 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/58 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/59 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/60 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/61 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/62 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/63 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/64 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/65 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/66 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/67 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/68 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/69 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/70 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/71 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/72 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/73 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/74 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/75 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/76 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/77 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/78 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/79 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/80 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/81 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/82 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/83 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/84 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/85 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/86 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/87 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/88 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/89 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/90 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/91 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/92 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/93 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/94 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/95 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/96 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/97 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/98 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/99 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/100 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/101 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/102 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/103 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/104 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/105 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/106 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/107 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/108 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/109 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/110 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/111 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/112 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/113 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/114 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/115 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/116 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/117 #EXTINF:6.000, file://sdcard/UCDownloads/video/1447543209934/118 #EXTINF:6.000, file://sdcard/UCDownloads/video/1

zapac 11-15-2015 06:55 PM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
now I need a way to open and merge segments I have posted....seems like its dencrypted plzz help

utuxia 12-01-2015 01:44 AM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Can someone help me decrypt this stream?

Code:

http://prod-freewheel.espn.go.com/ad/g/1?_dv=2&nw=87146&csid=watchespn:ios:phone:espn1&caid=17350633&vdur=100&vprn=846897&pvrn=134525&afid=49515690&sfid=801283&flag=+rema+slcb+aeti+exvt+sltp&prof=87146:watchespn_ios_hls_hs&resp=m3u8;&_fw_ae=d8b58f7bfce28eefcc1cdd5b95c3b663&_fw_lpi=58941438907676568939139093683007029854,1228800&_fw_lpu=http%3A//ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-1200.m3u8&_fw_syncing_token=%7Bb%7D11856504cc7000d75a4
I have livestreamer python script. but there's so much shit going on in this url. I'm a bit lost. You have to pass `user-agent: iphone` header if you use curl to get the .key file

Anton555 04-21-2016 12:26 PM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Hello. I need your help.
There is a stream , which I do not want to publish ,
I try to open it with openssl and ffmpeg , playlist has aes128 and of course key also,
the key is accessible from https: // ......
$ 10 can I pay for bash -script .
announces you in pm .

Sorry for my english.

bodybobo 10-01-2016 01:32 AM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
I have two m3u8 files I need decrypted from 2 different sites. I can download the full mp4 files but they are, well, encrypted. Anyone know how to do this?

egopo 03-29-2017 01:38 PM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Hello. I need your help.
Code:

http://hlsstr01.svc.iptv.rt.ru/hls/CH_C05_DISCOVERYCHANNELHD/variant.m3u8
Is it possible to write a php script to decrypt this stream?
Thank you!

troller12 03-29-2017 01:55 PM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Hi,

so if you post just direct playlist links then check them before in your browser whether it can be access successfully or not (403 Forbidden).If not then more access paramters are required and to prevent this problems its the best just to post the normal page URL of the stream where you can watch it instead just to post the playlist URL to verify the entire access and handling processes.Just a info of course.

greetz

egopo 03-30-2017 03:54 AM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
Most likely this link works only in Russia.
You can try using a proxy with the Russian IP.
Here's the log shot through Wireshark. URL

streamcrank 04-28-2017 10:20 AM

Re: Decrypt AES-128 encrypted video files from a m3u8


 
For those who don't know these m3u8 files are all the same format and used in HLS encryption where AES-128 is the most popular mode, and the key to decrypt segments comes from the 16 octets in the key URL resource and the IV of each segment.

each segment is decrypted with the bytes in "#EXT-X-KEY:METHOD=AES-128,URI=" and it's own IV.

Uplynk uses a second key "#UPLYNK-KEY" that has session and referrer security that is easy to bypass. It's no standard and used by them for extra security.

No players or tools can do Uplynk. Most big video and tv channel sites are using Uplynk.. Uplynk has a anti-ffmpeg method too where it sends fake headers.


All times are GMT -6. The time now is 07:20 AM.