Class AvcConfigurationBox

java.lang.Object
org.mp4parser.support.AbstractBox
org.mp4parser.boxes.iso14496.part15.AvcConfigurationBox
All Implemented Interfaces:
Box, ParsableBox

public final class AvcConfigurationBox extends AbstractBox

4cc = ""avcC""

Defined in ISO/IEC 14496-15:2004.

Possible paths

  • /moov/trak/mdia/minf/stbl/stsd/avc1/avcC
  • /moov/trak/mdia/minf/stbl/stsd/drmi/avcC
  • Field Details

  • Constructor Details

    • AvcConfigurationBox

      public AvcConfigurationBox()
  • Method Details

    • getConfigurationVersion

      public int getConfigurationVersion()
    • setConfigurationVersion

      public void setConfigurationVersion(int configurationVersion)
    • getAvcProfileIndication

      public int getAvcProfileIndication()
    • setAvcProfileIndication

      public void setAvcProfileIndication(int avcProfileIndication)
    • getProfileCompatibility

      public int getProfileCompatibility()
    • setProfileCompatibility

      public void setProfileCompatibility(int profileCompatibility)
    • getAvcLevelIndication

      public int getAvcLevelIndication()
    • setAvcLevelIndication

      public void setAvcLevelIndication(int avcLevelIndication)
    • getLengthSizeMinusOne

      public int getLengthSizeMinusOne()
    • setLengthSizeMinusOne

      public void setLengthSizeMinusOne(int lengthSizeMinusOne)
    • getSequenceParameterSets

      public List<ByteBuffer> getSequenceParameterSets()
    • setSequenceParameterSets

      public void setSequenceParameterSets(List<ByteBuffer> sequenceParameterSets)
    • getPictureParameterSets

      public List<ByteBuffer> getPictureParameterSets()
    • setPictureParameterSets

      public void setPictureParameterSets(List<ByteBuffer> pictureParameterSets)
    • getChromaFormat

      public int getChromaFormat()
    • setChromaFormat

      public void setChromaFormat(int chromaFormat)
    • getBitDepthLumaMinus8

      public int getBitDepthLumaMinus8()
    • setBitDepthLumaMinus8

      public void setBitDepthLumaMinus8(int bitDepthLumaMinus8)
    • getBitDepthChromaMinus8

      public int getBitDepthChromaMinus8()
    • setBitDepthChromaMinus8

      public void setBitDepthChromaMinus8(int bitDepthChromaMinus8)
    • getSequenceParameterSetExts

      public List<ByteBuffer> getSequenceParameterSetExts()
    • setSequenceParameterSetExts

      public void setSequenceParameterSetExts(List<ByteBuffer> sequenceParameterSetExts)
    • hasExts

      public boolean hasExts()
    • setHasExts

      public void setHasExts(boolean hasExts)
    • _parseDetails

      public void _parseDetails(ByteBuffer content)
      Description copied from class: AbstractBox
      Parse the box's fields and child boxes if any.
      Specified by:
      _parseDetails in class AbstractBox
      Parameters:
      content - the box's raw content beginning after the 4-cc field.
    • getContentSize

      public long getContentSize()
      Description copied from class: AbstractBox
      Get the box's content size without its header. This must be the exact number of bytes that getContent(ByteBuffer) writes.
      Specified by:
      getContentSize in class AbstractBox
      Returns:
      Gets the box's content size in bytes
      See Also:
    • getContent

      public void getContent(ByteBuffer byteBuffer)
      Description copied from class: AbstractBox
      Write the box's content into the given ByteBuffer. This must include flags and version in case of a full box. byteBuffer has been initialized with getSize() bytes.
      Specified by:
      getContent in class AbstractBox
      Parameters:
      byteBuffer - the sink for the box's content
    • getavcDecoderConfigurationRecord

      public AvcDecoderConfigurationRecord getavcDecoderConfigurationRecord()
    • toString

      public String toString()
      Overrides:
      toString in class Object