PDA

View Full Version : Decrypt AES-128 encrypted m3u8 playlist to the normal .ts files?


iforce
08-17-2015, 02:40 AM
P.s all the files can be downloaded on googledrive
https://drive.google.com/folderview?id=0B4tru0UPammqfjFuU0JFdzN0TTVaOGVKcTF PRFB6VlVUdGJ1cGVQT25RdURNelNUMHJPZms&usp=sharing

Recently I've got some m3u8 files from the developer tools with Google chrome,but when I tried to open them with iTunes and potplayer ,they seemed unable to open them.
The head of the encrypted m3u8 is just like


#EXTM3U
#EXT-X-KEY:METHOD=AES-128,URI="http://touch.xueersi.com/video/getVideoKey/121263"
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:13
#EXTINF:10.74,
http://v2.xesv5.com/2013/06/fbfdd529afec341f645d7595468a1a10/0000.ts
#EXTINF:10.64,
http://v2.xesv5.com/2013/06/fbfdd529afec341f645d7595468a1a10/0001.ts
#EXTINF:10.64,



Then I tried to get some unencrypted files on the video sites like YouTube, one of the unencrypted m3u8 file is like


EXTM3U
#EXT-X-TARGETDURATION:12
#EXT-X-VERSION:2
#EXTINF:3,
http://101.226.184.113/6971307046F3C835A890A361D0/030002070055D045D2BA7B03BAF2B11EC42883-76A8-70A3-25F7-B4388063428C.flv.ts?ts_start=0&ts_end=3.3&ts_seg_no=0&ts_keyframe=1
#EXTINF:5,
http://101.226.184.113/6971307046F3C835A890A361D0/030002070055D045D2BA7B03BAF2B11EC42883-76A8-70A3-25F7-B4388063428C.flv.ts?ts_start=3.3&ts_end=8.7&ts_seg_no=1&ts_keyframe=1
#EXTINF:4,
http://101.226.184.113/6971307046F3C835A890A361D0/030002070055D045D2BA7B03BAF2B11EC42883-76A8-70A3-25F7-B4388063428C.flv.ts?ts_start=8.7&ts_end=12.433&ts_seg_no=2&ts_keyframe=1
#EXTINF:10,
http://101.226.184.113/6971307046F3C835A890A361D0/030002070055D045D2BA7B03BAF2B11EC42883-76A8-70A3-25F7-B4388063428C.flv.ts?ts_start=12.433&ts_end=22.033&ts_seg_no=3&ts_keyframe=1

The ts files from this m3u8 can be easily opened with windows media player.........
Could you please tell me how to decrypt AES-128 encrypted m3u8 ??(like the first m3u8)
or whether python can do this??(if possible pllease show me the scourse code


Thanks.

iforce
08-18-2015, 09:05 AM
help!!!!!!!!!

surya987
08-18-2015, 09:51 AM
give video link + login if required...

sonnvl
10-19-2015, 04:28 AM
give video link + login if required...

Can you help me:
http://vuapp.tranvu.info/#tivi/157