View Source Membrane.H264.FFmpeg.Decoder (Membrane H264 FFmpeg plugin v0.21.1)
Membrane element that decodes video in H264 format. It is backed by decoder from FFmpeg.
The element expects the data for each frame (Access Unit) to be received in a separate buffer,
so the parser (Membrane.H264.FFmpeg.Parser
) may be required in a pipeline before
decoder (e.g. when input is read from Membrane.File.Source
).
element-options
Element options
Passed via struct Membrane.H264.FFmpeg.Decoder.t/0
use_shm?
boolean
Default value:
false
pads
Pads
input
:input
Availability | :always |
Caps | Membrane.H264 , restrictions:stream_format: :byte_stream ,alignment: :au |
Demand mode | :auto |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
output
:output
Availability | :always |
Caps | Membrane.RawVideo , restrictions:pixel_format: one_of([:I420, :I422]) ,aligned: true |
Demand mode | :auto |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.H264.FFmpeg.Decoder
Functions
Returns pads descriptions for Membrane.H264.FFmpeg.Decoder
Returns description of options available for this module
Link to this section Types
@type t() :: %Membrane.H264.FFmpeg.Decoder{use_shm?: boolean()}
Struct containing options for Membrane.H264.FFmpeg.Decoder
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.H264.FFmpeg.Decoder
@spec options() :: keyword()
Returns description of options available for this module