m3u8-parser icon indicating copy to clipboard operation
m3u8-parser copied to clipboard

A simple HLS playlist parser for Java

Results 12 m3u8-parser issues
Sort by recently updated
recently updated
newest added

I am getting this error `java.nio.file.FileSystemNotFoundException: Provider "http" not installed at java.base/java.nio.file.Path.of(Path.java:212) at java.base/java.nio.file.Paths.get(Paths.java:98) ` When I read playlist `MasterPlaylist playlist = parser.readPlaylist(Paths.get(new URI(sourceUrl)));`

When I parse a lot of m3u8 in a linux environment, I find that some of the files are missing the last url, but I can't reproduce it locally `MediaPlaylist...

I want to build a m3u8 like this ```m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:15 #EXTINF:15.034000 a.ts #EXT-X-DISCONTINUITY #EXTINF:15.034000 a.ts #EXT-X-ENDLIST ``` and my code ``` MediaPlaylist src = parser.readPlaylist(Paths.get("1.m3u8")); System.out.println(parser.writePlaylistAsString(src));...

Some HLS media playlists provide only one EXT-X-KEY tag to indicate how to decrypt the segments rather than provide it before every segments. Like below. https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/m3u8s/11331_video_1080_4800000.m3u8 ``` #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0...

Support for CODECS attribute for EXT-X-MEDIA tag is missing. Here is a sample HLS Live manifest: #EXTM3U #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",CODECS="ac-3",LANGUAGE="spa",NAME="spa-487",AUTOSELECT=YES,DEFAULT=YES,URI=".swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_1/index_new_a_1_0.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",CODECS="ac-3",LANGUAGE="fra",NAME="fra-488",AUTOSELECT=YES,DEFAULT=NO,URI=".swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_1/index_new_a_1_1.m3u8" #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",CODECS="ac-3",LANGUAGE="eng",NAME="eng-486",AUTOSELECT=YES,DEFAULT=NO,URI=".swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_1/index_new_a_1_2.m3u8" #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4023828,CODECS="avc1.64002A,ac-3",RESOLUTION=1920x1080,AUDIO="audio" .swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_4023828/index_new_v_4023828_5.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2710228,CODECS="avc1.42801F,ac-3",RESOLUTION=1280x720,AUDIO="audio" .swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_2710228/index_new_v_2710228_4.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2355328,CODECS="avc1.42801F,ac-3",RESOLUTION=960x540,AUDIO="audio" .swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_2355328/index_new_v_2355328_3.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2200728,CODECS="avc1.42801E,ac-3",RESOLUTION=640x360,AUDIO="audio" .swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_2200728/index_new_v_2200728_2.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2073728,CODECS="avc1.42801E,ac-3",RESOLUTION=480x360,AUDIO="audio" .swn3c0d53a7-eb88-490f-a643-000000000000apple2apple/.rate_2073728/index_new_v_2073728_1.m3u8...

Hey Guys , as a part of language inclusiveness , could you please accept the request to update all references changed from master to main . for instance io.lindstrom.m3u8.model.MasterPlaylist to...

blocked

- renamed all referenced from master to main as part of language inclusive changes Kindly have a look and let me know if some updates are needed

First off, great library, it's very useful! I have an issue where I need to add multiple dateRange objects within a playlist. (For simplicity, let's say it's an example where...

Hello! Not sure if this is already possible (I couldn't find how to do this), but I'm interested in getting the string representation of individual media segments instead of the...