Class ContentInformationBox

All Implemented Interfaces:
Box, FullBox, ParsableBox

public class ContentInformationBox extends AbstractFullBox
 aligned(8) class ContentInformationBox
 extends FullBox(‘cinf’, version=0, flags=0)
 {
  string          mimeSubtypeName;
  string          profile-level-idc;
  string          codecs;
  unsigned int(8) protection;
  string          languages;
  unsigned int(8) brand_entry_count;
  for( int i=0; i < brand_entry_count; i++)
  {
   string iso_brand;
   string version
  }
  unsigned int(8) id_entry_count;
  for( int i=0; i < id_entry_count; i++)
  {
   string namespace;
   string asset_id;
  }
 }
 
  • Field Details

  • Constructor Details

    • ContentInformationBox

      public ContentInformationBox()
  • Method Details

    • getContentSize

      protected 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

      protected 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
    • _parseDetails

      protected 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.
    • getMimeSubtypeName

      public String getMimeSubtypeName()
    • setMimeSubtypeName

      public void setMimeSubtypeName(String mimeSubtypeName)
    • getProfileLevelIdc

      public String getProfileLevelIdc()
    • setProfileLevelIdc

      public void setProfileLevelIdc(String profileLevelIdc)
    • getCodecs

      public String getCodecs()
    • setCodecs

      public void setCodecs(String codecs)
    • getProtection

      public String getProtection()
    • setProtection

      public void setProtection(String protection)
    • getLanguages

      public String getLanguages()
    • setLanguages

      public void setLanguages(String languages)
    • getBrandEntries

      public Map<String,String> getBrandEntries()
    • setBrandEntries

      public void setBrandEntries(Map<String,String> brandEntries)
    • getIdEntries

      public Map<String,String> getIdEntries()
    • setIdEntries

      public void setIdEntries(Map<String,String> idEntries)