View Source Membrane.H264.DecoderConfigurationRecord (Membrane H.264 and H.265 plugin v0.10.2)
Utility functions for parsing and generating AVC Configuration Record.
The structure of the record is described in section 5.2.4.1.1 of MPEG-4 part 15 (ISO/IEC 14496-15).
Summary
Types
@type t() :: %Membrane.H264.DecoderConfigurationRecord{ avc_level: non_neg_integer(), avc_profile_indication: non_neg_integer(), nalu_length_size: pos_integer(), ppss: [binary()], profile_compatibility: non_neg_integer(), spss: [binary()] }
Structure representing the Decoder Configuartion Record
Functions
@spec generate([binary()], [binary()], Membrane.H264.Parser.stream_structure()) :: binary() | nil
Generates a DCR based on given PPSs and SPSs.
Parses the DCR.