{"id":14258647,"url":"https://github.com/membraneframework/ex_m3u8","last_synced_at":"2025-10-30T15:22:29.024Z","repository":{"id":155222576,"uuid":"632551473","full_name":"membraneframework/ex_m3u8","owner":"membraneframework","description":"Elixir package for serializing and deserializing M3U8 manifests.","archived":false,"fork":false,"pushed_at":"2024-03-15T11:10:21.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T12:57:20.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/membraneframework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-25T16:34:08.000Z","updated_at":"2024-04-23T12:57:20.291Z","dependencies_parsed_at":"2024-01-15T13:32:47.379Z","dependency_job_id":"2d8a7d84-ff34-4f58-ae5f-62e80ca368f9","html_url":"https://github.com/membraneframework/ex_m3u8","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fex_m3u8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fex_m3u8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fex_m3u8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fex_m3u8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/ex_m3u8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-22T09:01:16.790Z","updated_at":"2025-10-30T15:22:29.002Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":["Elixir"],"sub_categories":[],"readme":"# ExM3U8\n[![Hex.pm](https://img.shields.io/hexpm/v/ex_m3u8.svg)](https://hex.pm/packages/ex_m3u8)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/ex_m3u8/)\n[![CircleCI](https://circleci.com/gh/membraneframework/ex_m3u8.svg?style=svg)](https://circleci.com/gh/membraneframework/ex_m3u8)\n\nA library for deserializing and serializing M3U8 format (known from HLS).\n\n## Install\n\nThe package can be installed by adding `ex_m3u8` into your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_m3u8, \"~\u003e 0.15.4\"}\n  ]\nend\n```\n## Functionality\nThe whole package operates on 2 types of playlists mentioned in [HLS specification](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis).\n\n* Multivariant playlist\n* Media playlist\n\n**Multivariant playlist** is responsible for listing available renditions (video, audio and subtitle tracks).\n\nEach variant is represented by its own media playlist which lists media segments that\nare necessary to start a proper playback.\n\n\n## Usage\nThe library provides 4 public functions (and their '!' versions) that can be used by library's users\n* `ExM3U8.serialize/1`\n* `ExM3U8.deserialize_playlist/2`\n* `ExM3U8.deserialize_media_playlist/2`\n* `ExM3U8.deserialize_multivariant_playlist/2`\n\n\n\u003e #### Note {: .info}\n\u003e\n\u003e Due to the large number of tags in the HLS spec, the library for now only supports\n\u003e the essential ones. If a tag is missing a user may want to implement a custom tag parser\n\u003e or create a PR with a support for the new tag.\n\n## Copyright and License\n\nCopyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane)\n\n[![Software Mansion](https://logo.swmansion.com/logo?color=white\u0026variant=desktop\u0026width=200\u0026tag=membrane-github)](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane)\n\nLicensed under the [Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fex_m3u8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fex_m3u8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fex_m3u8/lists"}