talira

Membrane Framework

Multimedia streaming and processing framework written in Elixir

open sourceApache-2.0free

Membrane is an open source multimedia streaming and processing framework for Elixir, for building your own media server. Pipelines of elements stream over WebRTC (including an SFU), RTSP, RTMP, HLS, RTP, HTTP and files; transcode audio and video (AAC, Opus, MPEG, H.264, VP8, VP9); mix, resample and fade audio; scale, cut, merge and overlay text on video; read and record MP4, MKV, FLV and other containers; and handle streams that connect and disconnect. It runs on the Erlang VM, so pipelines scale and recover from errors and become part of any Elixir app, such as a Phoenix web server, and its plugins are Hex packages. It's maintained by Software Mansion and ships an agent skill for AI coding assistants as a Claude Code plugin. Apache-2.0.

Problems it solves

  • build my own media server in Elixir that takes RTMP in and serves HLS
  • record WebRTC calls to MP4 on my server
  • transcode and mix live audio and video streams inside my Phoenix app

Features

  • streams over WebRTC, RTSP, RTMP, HLS, RTP and HTTP
  • WebRTC SFU
  • transcodes AAC, Opus, MPEG, H.264, VP8 and VP9
  • audio mixing and video scaling, cutting and text overlay
  • reads and records MP4, MKV and FLV
  • pipelines that scale and recover from errors on the Erlang VM
  • plugins as Hex packages
  • agent skill for AI coding assistants

Capabilities

Takes pluginsplan not known