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.
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.13.0"}
]
end
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 runelixir examples/demuxer.exs
. It should generateaudio.aac
andvideo.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, runelixir examples/muxer.exs
. It should generateoutput.flv
file with the contents of both of the source files.
Copyright 2022, Software Mansion
Licensed under the Apache License, Version 2.0