m3u8
Version, currently master branch1 version
- master branchlatestOct 20, 2016
github.com/marceloboeira/m3u8.cr
Generate and parse m3u8 playlists for HLS
10 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
m3u8:
github: marceloboeira/m3u8.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Marcelo Boeira <me@marceloboeira.com>
Dependencies
Development Dependencies
- spec2~> 0.8github: waterlink/spec2.crdev
README
# m3u8 [](https://travis-ci.org/marceloboeira/m3u8.cr)
> Generate and parse m3u8 playlists for HTTP Live Streaming with Crystal
## Status
The project is currently on a very early stage of **development**, take a look at the [M3U8.md](M3U8.md) file in order to check the progress.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
m3u8:
github: marceloboeira/m3u8.cr
```
## Usage
Small example:
```crystal
require "m3u8"
playlist = M3U8::MediaPlaylist.new(4)
playlist.segments << M3U8::MediaPlaylist::Segment.new("low-001.ts", 3.054)
playlist.segments << M3U8::MediaPlaylist::Segment.new("low-002.ts", 3.054)
...
puts playlist.to_s
```
## M3U8 in other languages
- [Ruby](https://github.com/zencoder/m3uzi)
- [Python](https://github.com/globocom/m3u8)
- [Go](https://github.com/grafov/m3u8)
- [Javascript](https://github.com/tedconf/node-m3u8)
- [Objective C](https://github.com/Jeanvf/M3U8Paser)
- [Java](http://sourceforge.net/projects/m3u8parser)
- [Erlang](https://github.com/karlll/erlm3u8)
## Contributing
Want to contribute? check [this](CONTRIBUTING.md) first.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Oct 20, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/marceloboeira/m3u8.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1