Membrane.FLAC.Parser (Membrane FLAC plugin v0.12.1)

View Source

An element parsing FLAC encoded audio stream.

Wraps Membrane.FLAC.Parser.Engine, see its docs for more info.

Element options

Passed via struct Membrane.FLAC.Parser.t/0

  • streaming?

    boolean()

    Default value: false
    This option set to true allows parser to accept FLAC stream, e.g. only frames without header

  • generate_best_effort_timestamps?

    boolean()

    Default value: false
    If this is set to true parser will try to generate timestamps for every frame based on sample count and sample rate, otherwise it will pass pts from input to output, even if it's nil.

Pads

:input

Accepted formats:

%Membrane.RemoteStream{content_format: format} when format in [FLAC, nil]
Direction::input
Availability::always
Flow control::auto

:output

Accepted formats:

FLAC
Direction::output
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.FLAC.Parser

Functions

Returns description of options available for this module

Types

t()

@type t() :: %Membrane.FLAC.Parser{
  generate_best_effort_timestamps?: boolean(),
  streaming?: boolean()
}

Struct containing options for Membrane.FLAC.Parser

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module