@MediaClass(uuid1=218169601, uuid2=257, uuid3=4096, uuid4={6,14,43,52,2,6,1,1}, definedName="SourceReference", description="The SourceReference class represents the essence or other data described by a Track in a Package.", symbol="SourceReference", isConcrete=false) public class SourceReferenceSegmentImpl extends SegmentImpl implements SourceReferenceSegment, Serializable, Cloneable
ObjectClassPropertyID| Constructor and Description |
|---|
SourceReferenceSegmentImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearChannelIDs() |
void |
clearMonoSourceTrackIDs() |
SourceReferenceSegment |
clone()
Create a cloned copy of this interchange object.
|
int[] |
getChannelIDs()
|
int |
getChannelIDsSize()
Returns the number of elements of the channel ids array of
this source reference.
|
int[] |
getMonoSourceTrackIDs()
|
int |
getMonoSourceTrackIDsSize()
Returns the size of the mono source track ids array.
|
PackageID |
getSourcePackageID()
Returns the package id of the package that is the
target of this reference.
|
String |
getSourcePackageIDString() |
int |
getSourceTrackID()
Returns the track id of this source reference.
|
static int |
initializeSourceTrackID() |
void |
setChannelIDs(int[] channelIDs)
|
void |
setMonoSourceTrackIDs(int[] monoSourceTrackIDs)
|
void |
setSourcePackageID(PackageID sourcePackageID)
Set the source package id of this source reference, which identifies the package that
is the target of this reference.
|
void |
setSourcePackageIDString(String sourcePackageID) |
void |
setSourceTrackID(int sourceTrackID)
Sets the track id of this source reference.
|
generateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, segmentOffsetToTC, segmentTCToOffset, setCutPoint, setKeyOffset, setPackLayerKeyIndicator, setSegmentBlob, setTrackBlob, setTrackKeyRenderSequence, setTrackName, setTrackRenderSequenceappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComment, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getEditName, getJupiterClipOffset, getJupiterID, getLengthPresent, initializeComponentDataDefinition, prependComponentAttribute, prependComponentKLVData, prependComponentUserComment, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setComponentLengthFromStream, setEditName, setJupiterClipOffset, setJupiterID, setLengthPresentaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgenerateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndex@MediaProperty(uuid1=100729091, uuid2=1792, uuid3=0, uuid4={6,14,43,52,1,1,1,7}, definedName="ChannelIDs", typeName="UInt32Array", optional=true, uniqueIdentifier=false, pid=4355, symbol="ChannelIDs") public int[] getChannelIDs() throws PropertyNotPresentException
SourceReferenceSegmentFor references to a multi-channel track, returns the channel ids property of this source reference, which specifies the channels within that tracks that are referenced. This optional property is omitted to indicate that all channels in the referenced track are referenced in the same order.
The number of channel ids shall equal the number of channels being described the track containing the source reference, e.g. 1 element for a mono audio track, 6 elements for a 5.1 multi-channel audio track.
getChannelIDs in interface SourceReferenceSegmentPropertyNotPresentException - The optional channel ids property is
not present in this source reference.@MediaPropertySetter(value="ChannelIDs") public void setChannelIDs(int[] channelIDs) throws IllegalArgumentException
SourceReferenceSegmentFor references to a multi-channel track, sets the
channel ids property of this source reference, which specifies the channels
within that tracks that are referenced. Set this
optional property to null to omit it and indicate that all channels in the
referenced track are referenced in the same order.
The number of channel ids shall equal the number of
channels being described the track containing
the source reference, e.g. 1 element for a mono audio track,
6 elements for a 5.1 multi-channel audio track.
setChannelIDs in interface SourceReferenceSegmentchannelIDs - Array of channel IDs to set for the source
reference.IllegalArgumentExceptionpublic int getChannelIDsSize()
throws PropertyNotPresentException
SourceReferenceSegmentReturns the number of elements of the channel ids array of this source reference. For references to a multi-channel track, the channel ids property specifies the channels within the tracks that are referenced. This is an optional property.
getChannelIDsSize in interface SourceReferenceSegmentPropertyNotPresentException - The optional channel ids property is
not present in this source reference.@MediaPropertyClear(value="ChannelIDs") public void clearChannelIDs()
@MediaProperty(uuid1=100729091, uuid2=2048, uuid3=0, uuid4={6,14,43,52,1,1,1,8}, definedName="MonoSourceTrackIDs", aliases="MonoSourceSlotIDs", typeName="UInt32Array", optional=true, uniqueIdentifier=false, pid=4356, symbol="MonoSourceTrackIDs") public int[] getMonoSourceTrackIDs() throws PropertyNotPresentException
SourceReferenceSegmentFor references from a multi-channel track to multiple mono tracks, returns the mono source track ids property of this source reference, which specifies multiple mono tracks that are referenced. This is an optional property that is omitted to specify that this is a single-channel reference.
The number of elements in the mono source track ids array shall equal the number of channels being described by the track containing this source reference, e.g. 6 elements for a 5.1 multi-channel audio track.
getMonoSourceTrackIDs in interface SourceReferenceSegmentPropertyNotPresentException - This optional mono source track ids property is
not present in this source reference.@MediaPropertySetter(value="MonoSourceTrackIDs") public void setMonoSourceTrackIDs(int[] monoSourceTrackIDs) throws IllegalArgumentException
SourceReferenceSegmentFor references from a multi-channel track to
multiple mono tracks, sets the mono source
track ids property of this source reference, which specifies multiple mono
tracks that are referenced. Set this optional
property to null to omit it and specify that this is
a single-channel reference.
The number of elements in the mono source track ids array shall equal the number of channels being described by the track containing this source reference, e.g. 6 elements for a 5.1 multi-channel audio track.
setMonoSourceTrackIDs in interface SourceReferenceSegmentmonoSourceTrackIDs - Array of mono source track ids for this
source reference.IllegalArgumentException@MediaPropertyCount(value="MonoSourceTrackIDs") public int getMonoSourceTrackIDsSize() throws PropertyNotPresentException
SourceReferenceSegmentReturns the size of the mono source track ids array. For references from a multi-channel track to multiple mono tracks, the mono source track ids property specifies multiple mono tracks that are referenced. This is an optional property.
getMonoSourceTrackIDsSize in interface SourceReferenceSegmentPropertyNotPresentException - The optional mono source track ids property is not
present for this source reference.@MediaPropertyClear(value="MonoSourceTrackIDs") public void clearMonoSourceTrackIDs()
@MediaProperty(uuid1=100729091, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="SourcePackageID", aliases={"SourceID","SourceMobID"}, typeName="PackageIDType", optional=true, uniqueIdentifier=false, pid=4353, symbol="SourcePackageID") public PackageID getSourcePackageID() throws PropertyNotPresentException
SourceReferenceSegmentReturns the package id of the package that is the target of this reference. This is an optional property.
If the source package id property is the zero package id, the package owning the source reference describes the original source. If this property is omitted, the reference is to another track within the same package.
getSourcePackageID in interface SourceReferenceSegmentPropertyNotPresentException - The optional source package id property is not present
in this source reference, implying that this is a reference to a track within the
same package.SourceReferenceValue.getSourcePackageID()@MediaPropertySetter(value="SourcePackageID") public void setSourcePackageID(PackageID sourcePackageID)
SourceReferenceSegmentSet the source package id of this source reference, which identifies the package that is the target of this reference.
If the property has a value of the zero pcakage id, it means that the package owning this source reference describes the original
source. Set this optional property to null to omit and indicate that this
reference is to another track in the same package.
For source clips, it is recommended that the
setSourceReference() method
is used to set the source package id property in preference to this method.
setSourcePackageID in interface SourceReferenceSegmentsourcePackageID - Source package id of this source reference.SourceReferenceValue.setSourcePackageID(PackageID),
Forge.zeroPackageID(),
SourceClip.setSourceReference(SourceReferenceValue)@MediaProperty(uuid1=100729091, uuid2=512, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="SourceTrackID", aliases="SourceMobSlotID", typeName="UInt32", optional=false, uniqueIdentifier=false, pid=4354, symbol="SourceTrackID") public int getSourceTrackID()
SourceReferenceSegmentReturns the track id of this source reference. If the source package id property is the the package package id, the source track id should be 0.
getSourceTrackID in interface SourceReferenceSegmentSourceReferenceValue.getSourceTrackID(),
TrackID@MediaPropertySetter(value="SourceTrackID") public void setSourceTrackID(int sourceTrackID) throws IllegalArgumentException
SourceReferenceSegmentSets the track id of this source reference. If the source package id property is the the zero package id, the source track id should be 0.
setSourceTrackID in interface SourceReferenceSegmentsourceTrackID - Track id of this source reference.IllegalArgumentException - The given source track id is negative.SourceReferenceValue.setSourceTrackID(int)public static final int initializeSourceTrackID()
public SourceReferenceSegment clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Componentclone in interface InterchangeObjectclone in interface Segmentclone in interface SourceReferenceSegmentclone in class SegmentImplpublic String getSourcePackageIDString()
public void setSourcePackageIDString(String sourcePackageID)
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.