View Source Membrane.H265.NALuParser (Membrane H.264 and H.265 plugin v0.10.2)

This module is an extension to Membrane.H26x.NALuParser and contains H265 specific functions.

Summary

Functions

Link to this function

get_prefixed_nalu_payload(nalu, output_stream_structure, stable_prefixing? \\ true)

View Source

See Membrane.H26x.NALuParser.get_prefixed_nalu_payload/3.

Link to this function

new(input_stream_structure \\ :annexb)

View Source

See Membrane.H26x.NALuParser.new/1.

Link to this function

parse(nalu_payload, timestamps \\ {nil, nil}, payload_prefixed? \\ true, state)

View Source

Parses a binary representing a single NALu and removes it's prefix (if it exists).

Returns a structure that contains parsed fields fetched from that NALu. When payload_prefixed? is true the input binary is expected to contain one of:

  • prefix defined as the "Annex B" in the H26x recommendation document.
  • prefix of size defined in state describing the length of the NALU in bytes, as described in ISO/IEC 14496-15.
Link to this function

parse_nalus(nalus_payloads, timestamps \\ {nil, nil}, payload_prefixed? \\ true, state)

View Source

Parses a list of binaries, each representing a single NALu.

See parse/4 for details.

Link to this function

prefix_nalus_payloads(nalus, input_stream_structure)

View Source

See Membrane.H26x.NALuParser.prefix_nalus_payloads/2.