#1
|
|||
|
|||
M3U and M3U8 general support
m3u and m3u8 playlists are commonly used in online media streaming that store media in fragments that requires a browser to decrypt fragments to view them.
What i'm talking about is general m3u parser that parse any m3u/m3u8 files into a media file. Why?: Because some media hosters are not supported as a plugin in jdownloader, so with a m3u8 file we can download media from any hoster. Suggested steps for the plugin: 1. Download fragments: Code:
#EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:11 #EXT-X-KEY:METHOD=AES-128,URI="f7f7ff0f0ff777f7f77fff7f7f777f7f.key",IV=0x654fbe654f65b48ee65465efb4ef5b46 #EXTINF:10.007800, fragment0.ts OR **External links are only visible to Support Staff** 2. Decrypt fragments using the key file and iv provided in the m3u8 file: Code:
#EXT-X-KEY:METHOD=AES-128,URI="f7f7ff0f0ff777f7f77fff7f7f777f7f.key",IV=0x654fbe654f65b48ee65465efb4ef5b46 3. Combine fragments into one file: "fragment0.ts"+"fragment1.ts"+"fragment3.ts" --> movie.mp4 So, input would be something like: **External links are only visible to Support Staff****External links are only visible to Support Staff** Output shall be: something.mp4 **This is already implemented in some hoster plugins so it won't be difficult, but i think a plugin for general m3u8 files would be useful if the hoster is not supported. Thanks,:biggrin: |
#2
|
||||
|
||||
we already have generic support for .m3u8. And m3u are just playlists which we don't support other than you can download them (But they wont be parsed/processed)
because of legal concerns, we can only support non crypted streams, eg: "METHOD=AES-128" = no go! raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by Jiaz; 20.03.2016 at 20:26. Reason: edit by jiaz |
Thread Tools | |
Display Modes | |
|
|