{"id":18352768,"url":"https://github.com/membraneframework/membrane_funnel_plugin","last_synced_at":"2025-04-06T11:33:04.674Z","repository":{"id":42662282,"uuid":"322643892","full_name":"membraneframework/membrane_funnel_plugin","owner":"membraneframework","description":"Membrane plugin for merging multiple input streams into a single output","archived":false,"fork":false,"pushed_at":"2025-01-02T10:57:25.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T16:36:46.385Z","etag":null,"topics":["membrane"],"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":"2020-12-18T16:14:13.000Z","updated_at":"2024-12-23T15:43:41.000Z","dependencies_parsed_at":"2023-01-23T02:31:06.691Z","dependency_job_id":"bc05ef55-ee0a-4f9d-a3f8-85346ee09bb0","html_url":"https://github.com/membraneframework/membrane_funnel_plugin","commit_stats":{"total_commits":25,"total_committers":8,"mean_commits":3.125,"dds":0.72,"last_synced_commit":"1f297fb99d583c74c852cc4d059fbf6849fde762"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":"membraneframework/membrane_template_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_funnel_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_funnel_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_funnel_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_funnel_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_funnel_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":["membrane"],"created_at":"2024-11-05T21:37:15.830Z","updated_at":"2025-04-06T11:33:04.663Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane Funnel plugin\n\n[![Hex.pm](https://img.shields.io/hexpm/v/membrane_funnel_plugin.svg)](https://hex.pm/packages/membrane_funnel_plugin)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_funnel_plugin/)\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_funnel_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_funnel_plugin)\n\nMembrane plugin for merging multiple input streams into a single output.\n\nIt can be used for collecting data from multiple inputs and sending it through one output.\n\nIt is part of [Membrane Multimedia Framework](https://membraneframework.org).\n\n## Installation\n\nThe package can be installed by adding `membrane_funnel_plugin` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n\t{:membrane_funnel_plugin, \"~\u003e 0.9.2\"}\n  ]\nend\n```\n\n## Usage\nPlaying this pipeline should merge two files `a.txt` and `b.txt` into file `c.txt`\n\n```elixir\ndefmodule FunnelDemo do\n  use Membrane.Pipeline\n\n  def handle_init(_) do\n    children = [\n      a_source: %Membrane.File.Source{location: \"a.txt\"},\n      b_source: %Membrane.File.Source{location: \"b.txt\"},\n      funnel: Membrane.Funnel,\n      sink: %Membrane.File.Sink{location: \"c.txt\"}\n    ]\n\n    links = [\n      link(:a_source) |\u003e to(:funnel),\n      link(:b_source) |\u003e to(:funnel),\n      link(:funnel) |\u003e to(:sink)\n    ]\n\n    spec = %ParentSpec{children: children, links: links}\n    {{:ok, spec: spec, playback: :playing}, %{}}\n  end\nend\n```\n\n## Copyright and License\n\nCopyright 2020, [Software Mansion](https://swmansion.com/?utm_source=git\u0026utm_medium=readme\u0026utm_campaign=membrane_funnel_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_funnel_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_funnel_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_funnel_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_funnel_plugin/lists"}