View Source Membrane.H265.RemoteStream (H265 video format v0.1.0)

Module providing format definition for packetized, remote H265 video streams.

Examples of such a stream:

  • H265 depayloaded from a container like FLV, where decoder configuration is signalled outside of the H265 bytestream.
  • H265 depayloaded from an RTP stream which is always aligned to NAL units.

Link to this section Summary

Types

t()

Format definition for packetized, remote H265 video streams.

Link to this section Types

@type t() :: %Membrane.H265.RemoteStream{
  alignment: Membrane.H265.alignment_t(),
  decoder_configuration_record: binary() | nil
}

Format definition for packetized, remote H265 video streams.

Regardless of the alignment value, NAL units are always in the Annex B format.

In Annex B (defined in ITU-T H.265 Recommendation) each NAL unit is preceded by three or four-byte start code (0x(00)000001) that helps to identify boundaries. Annex B is suitable for writing to a file or streaming with MPEG-TS.