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;
}
}
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentInformationBox.BrandEntry |
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
type| Constructor and Description |
|---|
ContentInformationBox() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_parseDetails(ByteBuffer content)
Parse the box's fields and child boxes if any.
|
Map<String,String> |
getBrandEntries() |
String |
getCodecs() |
protected void |
getContent(ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer. |
protected long |
getContentSize()
Get the box's content size without its header.
|
Map<String,String> |
getIdEntries() |
String |
getLanguages() |
String |
getMimeSubtypeName() |
String |
getProfileLevelIdc() |
String |
getProtection() |
void |
setBrandEntries(Map<String,String> brandEntries) |
void |
setCodecs(String codecs) |
void |
setIdEntries(Map<String,String> idEntries) |
void |
setLanguages(String languages) |
void |
setMimeSubtypeName(String mimeSubtypeName) |
void |
setProfileLevelIdc(String profileLevelIdc) |
void |
setProtection(String protection) |
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlagsgetBox, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setParentpublic static final String TYPE
protected long getContentSize()
AbstractBoxgetContent(ByteBuffer) writes.getContentSize in class AbstractBoxAbstractBox.getContent(java.nio.ByteBuffer)protected void getContent(ByteBuffer byteBuffer)
AbstractBoxByteBuffer. This must include flags
and version in case of a full box. byteBuffer has been initialized with
getSize() bytes.getContent in class AbstractBoxbyteBuffer - the sink for the box's contentprotected void _parseDetails(ByteBuffer content)
AbstractBox_parseDetails in class AbstractBoxcontent - the box's raw content beginning after the 4-cc field.public String getMimeSubtypeName()
public void setMimeSubtypeName(String mimeSubtypeName)
public String getProfileLevelIdc()
public void setProfileLevelIdc(String profileLevelIdc)
public String getCodecs()
public void setCodecs(String codecs)
public String getProtection()
public void setProtection(String protection)
public String getLanguages()
public void setLanguages(String languages)
Copyright © 2016. All rights reserved.