PDA

View Full Version : Any one can help me to download this video by ffmpeg?


imagecad
11-20-2017, 11:24 AM
web address: (sorry the guy in the video just speak chinese)
http://wx.233.com/chuji/?ukey=sy

I have downloaded the key file and all the ts files.and I made a local sever to set this files,and I changed the m3u8 files as below:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-KEY:METHOD=AES-128,URI="http://127.0.0.1/3a_2/4adf37ccc0a537e24d8163dc7cf10e3a_2.key",IV=0xdc77820595b3f9eacb735d39c479cc2a
#EXT-X-TARGETDURATION:14
#EXTINF:13.120000,
http://127.0.0.1/3a_2/4adf37ccc0a537e24d8163dc7cf10e3a_2_0.ts
#EXTINF:10.000000,
http://127.0.0.1/3a_2/4adf37ccc0a537e24d8163dc7cf10e3a_2_1.ts
#EXTINF:10.000000,
http://127.0.0.1/3a_2/4adf37ccc0a537e24d8163dc7cf10e3a_2_2.ts

but I got "Error when loading first segment"
http://play.netcourse.info/download/2017-11-21_020725.png

What's wrong with my method?I head that the AES-128 crypt methon only use 16 bytes key,but I got 32-bytes key through this URI in m3u8 file

imagecad
11-21-2017, 10:38 PM
Hi,I've solved this issue by myself.

Just change a method and finally I got the 16 bytes key file.

Thanks for you guys who browses this thread.:)

JonDough
11-22-2017, 03:52 PM
Hi,I've solved this issue by myself.

Just change a method and finally I got the 16 bytes key file.

Thanks for you guys who browses this thread.:)
What is the method to get the 16 byte key? I took a quick look and I also got a 32 byte key. Does a different user agent or app get the 16 byte key?