Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AES encryption in native HLS downloader #6899

Closed
fb39ca4 opened this issue Sep 19, 2015 · 5 comments
Closed

Support AES encryption in native HLS downloader #6899

fb39ca4 opened this issue Sep 19, 2015 · 5 comments
Labels

Comments

@fb39ca4
Copy link

@fb39ca4 fb39ca4 commented Sep 19, 2015

I am trying to get an extractor for daisuki.net working, but the M3U8 playlists have encryption keys.

Example:

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-ALLOW-CACHE:YES
#EXT-X-KEY:METHOD=AES-128,URI="https://bngn-vh.akamaihd.net/i/43383936/35470338/smil/CA/00020/356591040701399.smil/crypt.key?null=&id=AgCAvZDZFzu8D7zB%2fVWWIHWJSVAxHhHvQvX7rIh3HuHom+D7tYdUh3WhlOWdnZuvwpxzfRMVvdeH8w%3d%3d"
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10.000,
http://bngn-vh.akamaihd.net/i/43383936/35470338/smil/CA/00020/356591040701399.smil/segment1_1000000_av.ts?null=&id=AgCAvZDZFzu8D7zB%2fVWWIHWJSVAxHhHvQvX7rIh3HuHom+D7tYdUh3WhlOWdnZuvwpxzfRMVvdeH8w%3d%3d
#EXTINF:10.000,
http://bngn-vh.akamaihd.net/i/43383936/35470338/smil/CA/00020/356591040701399.smil/segment2_1000000_av.ts?null=&id=AgCAvZDZFzu8D7zB%2fVWWIHWJSVAxHhHvQvX7rIh3HuHom+D7tYdUh3WhlOWdnZuvwpxzfRMVvdeH8w%3d%3d
#EXTINF:10.000,
http://bngn-vh.akamaihd.net/i/43383936/35470338/smil/CA/00020/356591040701399.smil/segment3_1000000_av.ts?null=&id=AgCAvZDZFzu8D7zB%2fVWWIHWJSVAxHhHvQvX7rIh3HuHom+D7tYdUh3WhlOWdnZuvwpxzfRMVvdeH8w%3d%3d
...
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 20, 2015

There's a proposed implementation in #5882.
Note that ffmpeg should be able to download it (although it doesn't support ressuming)

@jaimeMF jaimeMF added the request label Sep 20, 2015
@fb39ca4
Copy link
Author

@fb39ca4 fb39ca4 commented Sep 20, 2015

Haven't been able to pass cookies to ffmpeg successfully, which are needed for Daisuki.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 20, 2015

you can use the code in this commit remitamine/youtube-dl@801cfb8 to be able to pass cookies to ffmpeg.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 22, 2015

Haven't been able to pass cookies to ffmpeg successfully, which are needed for Daisuki.

it should work with latest master branch (#6267 (comment))

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 19, 2016

Thanks to @remitamine (#8201), AES decryption will be supported in the next version.

@yan12125 yan12125 closed this Jun 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.