ExMP4.Box.Avcc (MP4 Reader and Writer v0.11.0)

View Source

A module representing an avcC box.

Summary

Functions

Creates a new avcC box from parameter sets.

Types

new_opts()

@type new_opts() :: [{:nalu_length_size, integer()}]

t()

@type t() :: %ExMP4.Box.Avcc{
  avc_level: non_neg_integer(),
  avc_profile_indication: non_neg_integer(),
  nalu_length_size: pos_integer(),
  pps: [binary()],
  profile_compatibility: non_neg_integer(),
  sps: [binary()]
}

Functions

new(sps, pps, opts \\ [])

@spec new([binary()], [binary()], new_opts()) :: t()

Creates a new avcC box from parameter sets.