View Source Membrane.FLAC.Parser (Membrane FLAC plugin v0.12.0)

An element parsing FLAC encoded audio stream.

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

element-options

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

Pads

input

:input

Accepted formats:

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

output

:output

Accepted formats:

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

Link to this section Summary

Types

t()

Struct containing options for Membrane.FLAC.Parser

Functions

Returns description of options available for this module

Link to this section Types

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

Struct containing options for Membrane.FLAC.Parser

Link to this section Functions

@spec options() :: keyword()

Returns description of options available for this module