Membrane Element: H264 v0.1.1 Membrane.Element.FFmpeg.H264.Decoder View Source

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.Element.FFmpeg.H264.Parser) may be required in a pipeline before decoder (e.g. when input is read from Membrane.Element.File.Source).

Link to this section Summary

Link to this section Functions

Returns pads specification for Membrane.Element.FFmpeg.H264.Decoder

They are the following:

  • Pad :output

    • availability: :always
    • caps: Membrane.Caps.Video.Raw, params: formatin([:I420, :I422]), alignedtrue
    • direction: :output
    • mode: :pull
  • Pad :input

    • availability: :always
    • caps: Membrane.Caps.Video.H264, params: stream_format:byte_stream, alignment:au
    • demand unit: :buffers
    • direction: :input
    • mode: :pull