{"id":18352822,"url":"https://github.com/membraneframework/membrane_raw_video_parser_plugin","last_synced_at":"2026-06-06T00:31:23.919Z","repository":{"id":41834882,"uuid":"153783085","full_name":"membraneframework/membrane_raw_video_parser_plugin","owner":"membraneframework","description":"Membrane plugin for parsing raw video streams","archived":false,"fork":false,"pushed_at":"2026-05-15T14:23:04.000Z","size":109,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-05-15T16:29:02.736Z","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":"2018-10-19T12:58:01.000Z","updated_at":"2026-05-15T14:23:22.000Z","dependencies_parsed_at":"2023-10-18T14:46:55.831Z","dependency_job_id":"94b89b47-cdeb-4336-ad55-f6c44262a7c1","html_url":"https://github.com/membraneframework/membrane_raw_video_parser_plugin","commit_stats":{"total_commits":48,"total_committers":10,"mean_commits":4.8,"dds":0.5625,"last_synced_commit":"a2ccb0041969c885c64ca85556bfd03d502e26a6"},"previous_names":["membraneframework/membrane-element-rawvideo-parser"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/membraneframework/membrane_raw_video_parser_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_raw_video_parser_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_raw_video_parser_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_raw_video_parser_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_raw_video_parser_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_raw_video_parser_plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_raw_video_parser_plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33965591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:33.571Z","updated_at":"2026-06-06T00:31:23.913Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane raw video parser plugin\n\n[![Hex.pm](https://img.shields.io/hexpm/v/membrane_raw_video_parser_plugin.svg)](https://hex.pm/packages/membrane_raw_video_parser_plugin)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_raw_video_parser_plugin/)\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_raw_video_parser_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_raw_video_parser_plugin)\n\nThis package provides an element parsing a data stream into raw (uncompressed) video frames.\nDocumentation is available at [HexDocs](https://hexdocs.pm/membrane_raw_video_parser_plugin/)\n\nIt is part of [Membrane Multimedia Framework](https://membrane.stream/).\n\n## Installation\n\nAdd the following line to your `deps` in `mix.exs`. Run `mix deps.get`.\n\n```elixir\n\t{:membrane_raw_video_parser_plugin, \"~\u003e 0.12.3\"}\n```\n## Usage\nThe pipeline below displays a sample raw video from file using Membrane raw video parser plugin and \nMembrane SDL plugin.\n\n```elixir\ndefmodule Membrane.RawVideo.Parser.Pipeline do\n\n  use Membrane.Pipeline\n\n  @doc \"\"\"\n  handle_init(_context, %{\n    video_path: String.t(),\n    caps: Membrane.RawVideo\n  })\n  \"\"\"\n  @impl true\n  def handle_init(_ctx, options) do\n    parser = %Membrane.RawVideo.Parser{\n      framerate: options.caps.framerate,\n      width: options.caps.width,\n      height: options.caps.height,\n      pixel_format: options.caps.pixel_format\n    }\n\n    structure = [\n      child(:file_src, %Membrane.File.Source{location: options.video_path})\n      |\u003e child(:parser, parser)\n      |\u003e child(:sdl, Membrane.SDL.Player)\n    ]\n\n    {[spec: structure, playback: :playing}], %{}}\n  end\n\n  @impl true\n  def handle_element_end_of_stream(:sdl, _pad_ref, _ctx, state) do\n    {[playback: :terminating], state}\n  end\n\n  @impl true\n  def handle_element_end_of_stream(_src, _pad_ref, _ctx, state) do\n    {[], state}\n  end\nend\n```\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_raw_video_parser_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_raw_video_parser_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_raw_video_parser_plugin/lists"}