github.com/wurlinc/m3u8 (go): 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.
Keywords: golang|library