JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.03.2016, 02:25
mostafaz4 mostafaz4 is offline
Junior Loader
 
Join Date: Aug 2012
Posts: 13
Lightbulb 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:
Reply With Quote
  #2  
Old 19.03.2016, 04:01
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:56.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.