View Source Membrane.H264.Parser.Format (Membrane H264 plugin v0.9.3)

Module providing functionalities for preparing H264 format based on the parsed SPS NAL units.

Summary

Functions

Prepares the Membrane.H264.t() format based on the parsed SPS NALu. During the process, the function determines the profile of the h264 stream and the picture resolution.

Functions

Link to this function

from_sps(sps_nalu, output_raw_stream_structure, options_fields)

View Source
@spec from_sps(
  sps_nalu :: Membrane.H264.Parser.NALu.t(),
  output_raw_stream_structure :: Membrane.H264.stream_structure(),
  options_fields :: [
    framerate: {pos_integer(), pos_integer()},
    output_alignment: :au | :nalu
  ]
) :: Membrane.H264.t()

Prepares the Membrane.H264.t() format based on the parsed SPS NALu. During the process, the function determines the profile of the h264 stream and the picture resolution.