/membrane-demo

copy of Membrane Demo application with PeakMeter integrated.

Primary LanguageElixirApache License 2.0Apache-2.0

Membrane Demo

This repository contains two demos that can help understanding how to use Membrane Framework.

Prerequisites

  1. Make sure you have Elixir installed on your machine. See: https://elixir-lang.org/install.html
  2. brew install pkgconfig portaudio ffmpeg mad
  3. Fetch the required dependencies by running mix deps.get
  4. mix compile

First Pipeline Demo

How to run

To start the demo pipeline run mix run --no-halt run_pipeline_demo.exs or type the following commands into an IEx shell (started by iex -S mix):

alias Membrane.Demo.MP3.Pipeline
{:ok, pid} = Pipeline.start_link("sample.mp3")
Pipeline.play(pid)

First Element Demo

How to run

To start the demo pipeline run mix run --no-halt run_element_demo.exs or type the following commands into an IEx shell (started by iex -S mix):

alias Membrane.Demo.FirstElement.Pipeline
{:ok, pid} = Pipeline.start_link("sample.mp3")
Pipeline.play(pid)

Sample License

Sample is provided under Creative Commons. Song is called Swan Song by Paper Navy.

Copyright and License

Copyright 2018, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0