View Source Membrane FLV Plugin

Hex.pm API Docs CircleCI

This package contains muxer and demuxer elements for FLV format. Currently, it only supports AAC audio and H264 video.

It is a part of Membrane Multimedia Framework.

Installation

The package can be installed by adding membrane_flv_plugin to your list of dependencies in mix.exs.

def deps do
  [
    {:membrane_flv_plugin, "~> 0.12.0"}
  ]
end

Usage

For usage examples, have a look at examples directory.

Available examples:

  • examples/demuxer.exs - a demonstration of demuxing an FLV file. To run it, simply run elixir examples/demuxer.exs. It should generate audio.aac and video.h264 extracted from the container. This example relies on an FLV file from this repository. If you cloned the repository, it should work without any modifications.
  • examples/muxer.exs - demonstration of muxing AAC and H264 to an FLV file. To run the example, run elixir examples/muxer.exs. It should generate output.flv file with the contents of both of the source files.

Copyright 2022, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0