{"id":18352787,"url":"https://github.com/membraneframework/membrane_overlay_plugin","last_synced_at":"2025-04-06T11:33:07.335Z","repository":{"id":223472784,"uuid":"760412701","full_name":"membraneframework/membrane_overlay_plugin","owner":"membraneframework","description":"Filter for applying overlay image or text on top of video","archived":false,"fork":false,"pushed_at":"2024-04-24T08:50:17.000Z","size":1013,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T14:24:50.741Z","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,"publiccode":null,"codemeta":null}},"created_at":"2024-02-20T11:25:03.000Z","updated_at":"2024-07-22T11:26:26.908Z","dependencies_parsed_at":"2024-02-20T12:48:28.327Z","dependency_job_id":"1ac3e400-2d55-4339-a939-517f77946394","html_url":"https://github.com/membraneframework/membrane_overlay_plugin","commit_stats":null,"previous_names":["membraneframework/membrane_overlay_plugin"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_overlay_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_overlay_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_overlay_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membraneframework%2Fmembrane_overlay_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membraneframework","download_url":"https://codeload.github.com/membraneframework/membrane_overlay_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:25.484Z","updated_at":"2025-04-06T11:33:05.168Z","avatar_url":"https://github.com/membraneframework.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane Overlay Plugin\n\n[![Hex.pm](https://img.shields.io/hexpm/v/membrane_overlay_plugin.svg)](https://hex.pm/packages/membrane_overlay_plugin)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_overlay_plugin)\n[![CircleCI](https://circleci.com/gh/membraneframework/membrane_overlay_plugin.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_overlay_plugin)\n\nFilter for applying overlay or text over video. Based on the [Image](https://github.com/elixir-image/image) library.\n\nIt's a part of the [Membrane Framework](https://membrane.stream).\n\n## Installation\n\nThe package can be installed by adding `membrane_overlay_plugin` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:membrane_overlay_plugin, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\n## Usage\n\nTo overlay an image in the top-right corner of an H264 video, use the following spec:\n\n```elixir\nchild(%Membrane.File.Source{location: \"input.h264\"})\n|\u003e child(Membrane.H264.Parser)\n|\u003e child(Membrane.H264.FFmpeg.Decoder)\n|\u003e child(%Membrane.OverlayFilter{overlay: \"image.png\", x: :right, y: :top})\n|\u003e child(Membrane.H264.FFmpeg.Encoder)\n|\u003e child(%Membrane.File.Sink{location: \"output.h264\"})\n```\n\nSee the `example.exs` file for a complete example.\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%2Fmembrane_overlay_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembraneframework%2Fmembrane_overlay_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembraneframework%2Fmembrane_overlay_plugin/lists"}