{"id":18352840,"url":"https://github.com/membraneframework/membrane_mp3_mad_plugin","last_synced_at":"2025-12-11T23:49:46.526Z","repository":{"id":39995794,"uuid":"80109871","full_name":"membraneframework/membrane_mp3_mad_plugin","owner":"membraneframework","description":"Membrane MP3 decoder based on MAD.","archived":false,"fork":false,"pushed_at":"2024-03-18T15:31:34.000Z","size":941,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-03-19T12:47:39.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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,"publiccode":null,"codemeta":null}},"created_at":"2017-01-26T11:43:07.000Z","updated_at":"2024-03-19T12:47:39.912Z","dependencies_parsed_at":"2023-07-16T00:21:00.767Z","dependency_job_id":"b3fe9920-5289-4fdc-bbb5-7aa69fda9be8","html_url":"https://github.com/membraneframework/membrane_mp3_mad_plugin","commit_stats":{"total_commits":126,"total_committers":15,"mean_commits":8.4,"dds":0.6349206349206349,"last_synced_commit":"15c44a21b772b2311ca27e5570826eff7d971f85"},"previous_names":["membraneframework/membrane-element-mad"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_mp3_mad_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_mp3_mad_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_mp3_mad_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_mp3_mad_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_mp3_mad_plugin/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-11-05T21:37:36.354Z","updated_at":"2025-12-11T23:49:46.521Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane MP3 MAD plugin\n\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_mp3_mad_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_mp3_mad_plugin)\n\nMP3 decoder based on MAD.\n\nThis package is a part of [Membrane Multimedia Framework](https://membraneframework.org).\n\nDocumentation is available at [HexDocs](https://hexdocs.pm/membrane_mp3_mad_plugin/)\n\n\n## Installation\n\nAdd the following line to your `deps` in `mix.exs`. Run `mix deps.get`.\n\n```elixir\n\t{:membrane_mp3_mad_plugin, \"~\u003e 0.18.5\"}\n```\n\nThis package depends on the [MAD](https://www.underbit.com/products/mad/) library. The precompiled build will be pulled and linked automatically. However, should there be any problems, consider installing it manually.\n\n## Sample usage\n\nPlaying below pipeline should read `input.mp3` file, decode it and save a raw payload to the `output.raw` file:\n\n```elixir\ndefmodule MadExamplePipeline do\n  use Membrane.Pipeline\n\n  alias Membrane.MP3.MAD\n  alias Membrane.File\n\n  @impl true\n  def handle_init(_ctx, _opts) do\n    structure =\n      child(:src, %File.Source{location: \"input.mp3\"})\n      |\u003e child(:decoder, MAD.Decoder)\n      |\u003e child(:sink, %File.Sink{location: \"output.raw\"})\n\n    {[spec: structure], %{}}\n  end\nend\n\n```\n\n## Copyright and License\n\nCopyright 2018, [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%2Fmembrane_mp3_mad_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_mp3_mad_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_mp3_mad_plugin/lists"}