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;
    • Constructor Detail

      • ContentInformationBox

        public ContentInformationBox()
    • Method Detail

      • 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
        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
        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)
      • setBrandEntries

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

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