|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MPEGVideoDescriptor
Specifies the description of picture essence that is encoded according to the MPEG specifications.
makeMPEGVideoDescriptor()
,
SourceMob.getEssenceDescriptor()
Field Summary |
---|
Fields inherited from interface tv.amwa.maj.iface.CDCIDescriptor |
---|
ALPHASAMPLINGWIDTH_DEFAULT, BLACKREFERENCELEVEL_DEFAULT, COLORSITING_DEFAULT, PADDINGBITS_DEFAULT, REVERSEDBYTEORDER_DEFAULT, VERTICALSUBSAMPLING_DEFAULT |
Fields inherited from interface tv.amwa.maj.iface.DigitalImageDescriptor |
---|
ALPHATRANSPARENCY_DEFAULT, DISPLAYF2OFFSET_DEFAULT, FIELDENDOFFSET_DEFAULT, FIELDSTARTOFFSET_DEFAULT, IMAGEALIGNMENTFACTOR_DEFAULT, STOREDF2OFFSET_DEFAULT, Uncompressed |
Method Summary | |
---|---|
int |
getBitRate()
Returns the maximum bit rate of the MPEG elementary stream of the described MPEG video essence, measured in bits per second. |
boolean |
getClosedGOP()
Returns false . |
ContentScanningType |
getCodedContentScanning()
Returns whether the underlying content of the descrived MPEG-coded essence was of a known content scanning type. |
boolean |
getConstantBPictureCount()
Returns true if the associated essence always has a constant
number of B frames throughout, or false if the number of B frames vary. |
boolean |
getIdenticalGOP()
Returns true if every GOP in the described MPEG video sequence
is constructed in the same way, as per ISO/IEC13818-1 IBP descriptor, otherwise
false . |
boolean |
getLowDelay()
Returns true if the low delay mode was used in the sequence
represented by the described MPEG-video essence and false otherwise. |
short |
getMaxBPictureCount()
Returns the maximum number of B pictures between P frames or I frames in the described MPEG video essence, equivalent to ISO/IEC 13818-2 annex D (M-1). |
short |
getMaxGOP()
Returns the maximum occurring spacing between I frames in the described MPEG video essence, as per an ISO/IEC 13818-1 IBP descriptor. |
byte |
getProfileAndLevel()
Returns the MPEG-2 video profile and level of the described MPEG video essence. |
boolean |
getSingleSequence()
Determines whether the described MPEG video essence consists of a single MPEG sequence or if there are a number of sequences. |
void |
setBitRate(Integer bitRate)
Sets the maximum bit rate of the MPEG elementary stream of the described MPEG video essence, measured in bits per second. |
void |
setClosedGOP(Boolean closedGOP)
Set to true to indicate that "ClosedGop" is set in all GOP headers of
the described MPEG video essence, as per ISO/IEC 13818-1 IBP descriptor, otherwise
false . |
void |
setCodedContentScanning(ContentScanningType codedContentScanning)
Sets whether the underlying content of the associated MPEG-coded essence was of a known content scanning type. |
void |
setConstantBPictureCount(Boolean constanBPictureCount)
Set to true to indicate that the described MPEG video essence always has a
constant number of B frames throughout or to false to indicate that the
number of B frames vary. |
void |
setIdenticalGOP(Boolean identicalGOP)
Set to true to indicate that every GOP in the described MPEG video sequence
is constructed in the same way, as per ISO/IEC 13818-1 IBP descriptor, otherwise
false . |
void |
setLowDelay(Boolean lowDelay)
Set to true if the low delay mode was used in the sequence
represented by the described MPEG video essence and false otherwise. |
void |
setMaxBPictureCount(Short maxBPictureCount)
Sets the maximum number of B pictures between P frames or I frames in the described MPEG video essence, equivalent to ISO/IEC 13818-2 annex D (M-1). |
void |
setMaxGOP(Short maxGOP)
Sets the maximum occurring spacing between I frames in the described MPEG video essence, as per ISO/IEC 13818-1 IBP descriptor. |
void |
setProfileAndLevel(Byte profileAndLevel)
Sets the MPEG-2 video profile and level of the described MPEG video essence. |
void |
setSingleSequence(Boolean singleSequence)
Sets whether the described MPEG video essence consists of a single MPEG sequence or if there are a number of sequences. |
Methods inherited from interface tv.amwa.maj.iface.AAFFileDescriptor |
---|
getCodecDefinition, getContainerFormat, getLength, getLinkedSlotID, getSampleRate, setCodecDefinition, setContainerFormat, setLength, setLinkedSlotID, setSampleRate |
Methods inherited from interface tv.amwa.maj.iface.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
void setSingleSequence(Boolean singleSequence)
Sets whether the described MPEG video essence consists of a single MPEG sequence or
if there are a number of sequences. Set to true
if the sequence
has only one sequence and false
if it contains more than one. Set this
optional property to null
to omit it.
singleSequence
- Does the described essence contain only a single sequence?boolean getSingleSequence() throws PropertyNotPresentException
Determines whether the described MPEG video essence consists of a single MPEG sequence or
if there are a number of sequences. Returns true
if the sequence
has only one sequence and false
if it contains more than one. This is
an optional property.
PropertyNotPresentException
- The optional single sequence property is not
present for this MPEG video descriptor.void setConstantBPictureCount(Boolean constanBPictureCount)
Set to true
to indicate that the described MPEG video essence always has a
constant number of B frames throughout or to false
to indicate that the
number of B frames vary. Set this optional property to null
to omit
it.
constanBPictureCount
- Does the described essence to have a constant number of
B frames?boolean getConstantBPictureCount() throws PropertyNotPresentException
Returns true
if the associated essence always has a constant
number of B frames throughout, or false
if the number of B frames vary.
This is an optional property.
PropertyNotPresentException
- The optional constant B frames property is
not present in this MPEG video descriptor.void setCodedContentScanning(ContentScanningType codedContentScanning)
Sets whether the underlying content of the associated MPEG-coded essence was of
a known content scanning type. Possible values are Progressive
,
Interlace
and Mixed
,
or set to NotKnown
if the value is unknown. Set this
optional property to null
to omit it.
codedContentScanning
- Content scanning type of data represented by the underlying content
of the associated MPEG-coded essence.ContentScanningType getCodedContentScanning() throws PropertyNotPresentException
Returns whether the underlying content of the descrived MPEG-coded essence was of
a known content scanning type. Possible values are
Progressive
,
Interlace
and
Mixed
,
or returns NotKnown
if the
value is unknown. This is an optional property.
PropertyNotPresentException
- The optional coded content type property is not
present in this MPEG video descriptor.void setLowDelay(Boolean lowDelay)
Set to true
if the low delay mode was used in the sequence
represented by the described MPEG video essence and false
otherwise.
Set this optional property to null
to omit it.
lowDelay
- Was the low delay mode used in the sequence?boolean getLowDelay() throws PropertyNotPresentException
Returns true
if the low delay mode was used in the sequence
represented by the described MPEG-video essence and false
otherwise.
This is an optional property.
PropertyNotPresentException
- The optional low delay property is not
present in this MPEG video descriptor.void setClosedGOP(Boolean closedGOP)
Set to true
to indicate that "ClosedGop" is set in all GOP headers of
the described MPEG video essence, as per ISO/IEC 13818-1 IBP descriptor, otherwise
false
. Set this optional to null
to omit it.
closedGOP
- Is "ClosedGOP" set in all the headers of the described MPEG video essence.?boolean getClosedGOP() throws PropertyNotPresentException
Returns false
. This is an optional property.
PropertyNotPresentException
- The optional closed GOP property is not
present in this MPEG video descriptor.void setIdenticalGOP(Boolean identicalGOP)
Set to true
to indicate that every GOP in the described MPEG video sequence
is constructed in the same way, as per ISO/IEC 13818-1 IBP descriptor, otherwise
false
. Set this optional property to null
to omit it.
identicalGOP
- Is every GOP in the described MPEG-video sequence constructed in the
same way?boolean getIdenticalGOP() throws PropertyNotPresentException
Returns true
if every GOP in the described MPEG video sequence
is constructed in the same way, as per ISO/IEC13818-1 IBP descriptor, otherwise
false
.
PropertyNotPresentException
- The optional identical GOP property is
not present in this MPEG video descriptor.void setMaxGOP(@UInt16 Short maxGOP) throws IllegalArgumentException
Sets the maximum occurring spacing between I frames in the described
MPEG video essence, as per ISO/IEC 13818-1 IBP descriptor. Set this optional
property to null
to omit it.
maxGOP
- Maximum occurring spacing between I frames of the described
MPEG video essence.
IllegalArgumentException
- The given max GOP value is negative.short getMaxGOP() throws PropertyNotPresentException
Returns the maximum occurring spacing between I frames in the described MPEG video essence, as per an ISO/IEC 13818-1 IBP descriptor. This is an optional property.
PropertyNotPresentException
- The optional max GOP property is not
present in this MPEG video descriptor.void setMaxBPictureCount(@UInt16 Short maxBPictureCount) throws IllegalArgumentException
Sets the maximum number of B pictures between P frames or I frames in the
described MPEG video essence, equivalent to ISO/IEC 13818-2 annex D (M-1). Set this optional
property to null
to omit it.
maxBPictureCount
- Maximum number of B pictures between P frames or I frames
in the described MPEG video essence.
IllegalArgumentException
- The given maximum B picture count is negative.short getMaxBPictureCount() throws PropertyNotPresentException
Returns the maximum number of B pictures between P frames or I frames in the described MPEG video essence, equivalent to ISO/IEC 13818-2 annex D (M-1). This is an optional property.
PropertyNotPresentException
- The optional maximum B picture count property
is not present in this MPEG video descriptor.void setBitRate(@UInt32 Integer bitRate) throws IllegalArgumentException
Sets the maximum bit rate of the MPEG elementary stream of the described MPEG video
essence, measured in bits per second. Set this optional property to null
to
omit it.
bitRate
- Maximum bit rate of the MPEG elementary stream of the described MPEG video
essence.
IllegalArgumentException
- The given bit rate is negative.@UInt32 int getBitRate() throws PropertyNotPresentException
Returns the maximum bit rate of the MPEG elementary stream of the described MPEG video essence, measured in bits per second.
PropertyNotPresentException
- The optional bit rate property is not
present in this MPEG video descriptor.void setProfileAndLevel(@UInt8 Byte profileAndLevel)
Sets the MPEG-2 video profile and level of the described MPEG video essence. For the main
profile and main level, set to 0x48
. For 4:2:2 profile at main level,
set to 0x85
. Set this optional property to null
to omit it.
profileAndLevel
- MPEG-2 video profile and level of the described MPEG video essence.@UInt8 byte getProfileAndLevel() throws PropertyNotPresentException
Returns the MPEG-2 video profile and level of the described MPEG video essence. For the main
profile and main level, the value returned is 0x48
. For 4:2:2 profile at
main level, the value returned is 0x85
. This is an optional property.
PropertyNotPresentException
- The optional profile and level property is not
present in this MPEG video descriptor.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |