{"id":18352748,"url":"https://github.com/membraneframework/membrane_stream_plugin","last_synced_at":"2025-08-24T00:14:36.890Z","repository":{"id":37095833,"uuid":"493146482","full_name":"membraneframework/membrane_stream_plugin","owner":"membraneframework","description":"Plugin for recording the entire stream sent through Membrane pads into a binary format and replaying it","archived":false,"fork":false,"pushed_at":"2023-11-17T14:51:51.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T00:39:02.931Z","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":"2022-05-17T07:41:17.000Z","updated_at":"2023-09-15T10:03:04.000Z","dependencies_parsed_at":"2023-02-01T05:15:23.349Z","dependency_job_id":"27f7ff64-4723-43ea-96b3-6fcaaa1d3293","html_url":"https://github.com/membraneframework/membrane_stream_plugin","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"cf46f9fa629c9b9e06a0f0754f4811c49626607f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_stream_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_stream_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_stream_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_stream_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_stream_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138003,"owners_count":21053775,"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:09.909Z","updated_at":"2025-04-10T00:39:07.284Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane Stream Plugin\n\n[![Hex.pm](https://img.shields.io/hexpm/v/membrane_stream_plugin.svg)](https://hex.pm/packages/membrane_stream_plugin)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_stream_plugin)\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_stream_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_stream_plugin)\n\nPlugin for recording the entire stream sent through Membrane pads into a binary format and replaying it.\nThis capability might be useful for creating snapshots of the stream at a given point in the pipeline for usage in tests, or for communication between two parts of the pipeline without using BEAM clusters.\n\nThe format used by Membrane Stream Plugin features:\n- header with version information, allowing for backwards compatibility\n- self delimitation, so buffers sent out of `Membrane.Stream.Serializer` are suitable to be saved to a file or sent over UDP\n- Consistency checks in the form of a magic keyword repeated before every term\n\nAs of version 1, Membrane Stream Format supports buffers, stream formats and events. Dynamic pads are not supported.\n\nIt is part of [Membrane Multimedia Framework](https://membraneframework.org).\n\n## Installation\n\nThe package can be installed by adding `membrane_stream_plugin` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n\t{:membrane_stream_plugin, \"~\u003e 0.4.0\"}\n  ]\nend\n```\n\n## Usage\n\nFor usage example, please refer to [`examples/split_pipeline.exs`](examples/split_pipeline.exs).\nTo run it, simply execute:\n\n```bash\n$ elixir examples/split_pipeline.exs\n```\n\nThe example demonstrates a simple pipeline playing the H264 file using SDL Player, split in half using Membrane Stream Plugin capabilities.\n\n## Credits\n\nThis plugin has been built thanks to the support from [dscout](https://dscout.com/) and [Software Mansion](https://swmansion.com).\n\n\u003cdiv style=\"display: flex; flex-flow: row; gap: 20px\"\u003e\n  \u003cimg alt=\"dscout\" height=\"100\" src=\"./.github/dscout_logo.png\"/\u003e\n  \u003cimg alt=\"Software Mansion\" src=\"https://logo.swmansion.com/logo?color=white\u0026variant=desktop\u0026width=150\u0026tag=membrane_stream_plugin\"/\u003e\n\u003c/div\u003e\n\n## Copyright and License\n\nCopyright 2022, [Software Mansion](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane_stream_plugin)\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_stream_plugin)\n\nLicensed under the [Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_stream_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_stream_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_stream_plugin/lists"}