proxy.golang.org : github.com/vkcom/m3u8
This is a most complete opensource library for parsing and generating of M3U8 playlists used in HTTP Live Streaming (Apple HLS) for internet video translations. M3U8 is simple text format and parsing library for it must be simple too. It did not offer ways to play HLS or handle playlists over HTTP. Library features are: Library coded acordingly with IETF draft http://tools.ietf.org/html/draft-pantos-http-live-streaming Examples of usage may be found in *_test.go files of a package. Also see below some simple examples. Create simple media playlist with sliding window of 3 segments and maximum of 50 segments. We add 5 testX.ts segments to playlist then encode it to M3U8 format and convert to string. Next example shows parsing of master playlist: We are open playlist from the file and parse it as master playlist.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/vkcom/m3u8
License: GPL-3.0
Latest release: over 9 years ago
First release: over 10 years ago
Namespace: github.com/vkcom
Stars: 5 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago