membraneframework / membrane_flv_plugin

Muxer and demuxer elements for FLV format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.6.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.aac extracted from the container. This exampls 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 and License

Copyright 2022, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0

About

Muxer and demuxer elements for FLV format

License:Apache License 2.0


Languages

Language:Elixir 100.0%