Skip to content

membraneframework/membrane_ogg_plugin

Repository files navigation

Membrane Ogg Plugin

Hex.pm API Docs CircleCI

Plugin for depayloading an Ogg file into an Opus stream.

It is part of Membrane Multimedia Framework.

Installation

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

def deps do
  [
    {:membrane_ogg_plugin, "~> 0.5.0"}
  ]
end

Usage

Membrane.Ogg.Demuxer

For an example see examples/demuxer_example.exs. To run the example you can use the following command:

elixir examples/demuxer_example.exs

On macOS you might need to set the opus include path like this:

export C_INCLUDE_PATH=/opt/homebrew/Cellar/opus/1.3.1/include/

Copyright and License

Copyright 2022, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0