Membrane Multimedia Framework: MPEG-TS

Hex.pmCircleCI

This package provides an element that can be used for muxing MPEG-TS.

It is part of Membrane Multimedia Framework.

Installation

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

def deps do
  [
    {:membrane_mpegts_plugin, "~> 0.6.0"}
  ]
end

The docs can be found at HexDocs.

Usage

For usage examples, visit examples/ directory:

cd examples/

There you can run an example of muxing AAC audio and H.264 video read from files:

elixir examples/mux_audio_and_video.exs

When the command terminates, you should be able to play the result out.ts file e.g. with the use of ffplay command:

ffplay out.ts

Copyright and License

Copyright 2019, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0