View Source Membrane.Matroska.Muxer (Membrane Matroska plugin v0.5.1)

Filter element for muxing Matroska files.

It accepts an arbitrary number of Opus, VP8, VP9 or H264 streams and outputs a bytestream in Matroska format containing those streams.

Muxer guidelines https://www.matroskaproject.org/docs/container/

Element options

Passed via struct Membrane.Matroska.Muxer.t/0

  • title

    String.t()

    Default value: "Membrane Matroska file"
    Title to be used in the Segment/Info/Title element

  • date

    nil | DateTime.t()

    Default value: nil
    Datetime which will be store in the Segment/Info/DateUTC element.

                  Default value is the time of initialization of this element.

Pads

:input

Accepted formats:

%H264{nalu_in_metadata?: true, stream_structure: structure} when H264.is_avc(structure)
%Opus{self_delimiting?: false, channels: channels} when channels in [1, 2]
%RemoteStream{content_format: format, type: :packetized} when format in [VP8, VP9]
Direction::input
Availability::on_request
Flow control::manual
Demand unit::buffers

:output

Accepted formats:

%RemoteStream{content_format: Matroska}
Direction::output
Availability::always
Flow control::manual
Demand unit:nil

Summary

Types

t()

Struct containing options for Membrane.Matroska.Muxer

Functions

Returns description of options available for this module

Types

@type t() :: %Membrane.Matroska.Muxer{date: nil | DateTime.t(), title: String.t()}

Struct containing options for Membrane.Matroska.Muxer

Functions

@spec options() :: keyword()

Returns description of options available for this module