@MediaClass(uuid1=218169601, uuid2=257, uuid3=4352, uuid4={6,14,43,52,2,6,1,1}, definedName="SourceClip", description="The SourceClip class represents the essence and identifies the source of the essence.", symbol="SourceClip") public class SourceClipImpl extends SourceReferenceSegmentImpl implements SourceClip, QSourceClip, Serializable, Cloneable
Implements a representation of essence and identifies the source of the essence. This interface uses the source reference values to manage the properties of a source clip.
ObjectClassPropertyID| Constructor and Description |
|---|
SourceClipImpl() |
SourceClipImpl(DataDefinition dataDefinition,
long length,
SourceReferenceValue sourceReference)
Creates and initializes a new source clip, which represents an item of essence and identifies
the source of the essence.
|
| Modifier and Type | Method and Description |
|---|---|
SourceClip |
clone()
Create a cloned copy of this interchange object.
|
FadeImpl |
getFade()
Deprecated.
|
long |
getFadeInLength()
Deprecated.
|
FadeType |
getFadeInType()
Deprecated.
|
long |
getFadeOutLength()
Deprecated.
|
FadeType |
getFadeOutType()
Deprecated.
|
Stream |
getRushBlob() |
int |
getRushChannelMask() |
SourceReferenceValue |
getSourceReference()
The method returns the source reference of this
source clip.
|
long |
getStartPosition()
Returns the position offset from the origin of the referenced package's
track in edit units determined by the
source clip's
context.
|
Package |
resolveRef()
Returns the package that this source clip references.
|
void |
setFade(Fade fade)
Deprecated.
|
void |
setFade(long fadeInLength,
FadeType fadeInType,
long fadeOutLength,
FadeType fadeOutType)
Deprecated.
|
void |
setFadeInLength(Long fadeInLength)
Deprecated.
|
void |
setFadeInType(FadeType fadeInType)
Deprecated.
|
void |
setFadeOutLength(Long fadeOutLength)
Deprecated.
|
void |
setFadeOutType(FadeType fadeOutType)
Deprecated.
|
void |
setRushBlob(Stream rushBlob) |
void |
setRushChannelMask(Integer rushChannelMask) |
void |
setSourceReference(SourceReferenceValue sourceReference)
Sets the source reference of this source clip.
|
void |
setStartPosition(Long startPosition)
Sets the position offset from the origin of the referenced package's
track in edit units determined by the
source clip's
context.
|
clearChannelIDs, clearMonoSourceTrackIDs, getChannelIDs, getChannelIDsSize, getMonoSourceTrackIDs, getMonoSourceTrackIDsSize, getSourcePackageID, getSourcePackageIDString, getSourceTrackID, initializeSourceTrackID, setChannelIDs, setMonoSourceTrackIDs, setSourcePackageID, setSourcePackageIDString, setSourceTrackIDgenerateSequence, 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, toStringgetChannelIDs, getChannelIDsSize, getMonoSourceTrackIDs, getMonoSourceTrackIDsSize, getSourcePackageID, getSourceTrackID, setChannelIDs, setMonoSourceTrackIDs, setSourcePackageID, setSourceTrackIDgenerateSequence, 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, setPersistentIndexpublic SourceClipImpl()
public SourceClipImpl(DataDefinition dataDefinition, long length, SourceReferenceValue sourceReference) throws NullPointerException, BadLengthException
Creates and initializes a new source clip, which represents an item of essence and identifies the source of the essence.
dataDefinition - Kind of data represented by this component.length - Length of the source clip component.sourceReference - Reference to the source clip.NullPointerException - The data definition and/or source reference arguments
are null.BadLengthException - The length of the component must be non-negative.public SourceReferenceValue getSourceReference()
SourceClipThe method returns the source reference of this source clip. The source reference includes the start position property of this source clip.
getSourceReference in interface SourceClipSourceReferenceValue.isContextual(),
SourceReferenceValue.isOriginalSource(),
SourceReferenceValue.getStartPosition()public void setSourceReference(SourceReferenceValue sourceReference) throws NullPointerException
SourceClipSets the source reference of this source clip. The source reference includes the start time property of this source clip.
setSourceReference in interface SourceClipsourceReference - Source reference of this source clip.NullPointerException - The given source reference is null.Forge.originalSource(),
Forge.inContextReference(int),
Forge.inContextReference(int, Long),
Forge.makeReference(tv.amwa.maj.record.PackageID, int, Long)public Package resolveRef() throws PackageNotFoundException
SourceClipReturns the package that this source clip references.
resolveRef in interface SourceClipPackageNotFoundException - The source reference of this source clip
could not be resolved to a package.@Deprecated public void setFade(long fadeInLength, FadeType fadeInType, long fadeOutLength, FadeType fadeOutType) throws BadLengthException
SourceClipSets the optional fade properties of this source clip. The fade properties only apply to a source clip of data definition (or convertible to a data definition) of type sound. All arguments should be specified. Length units are specified by the containing track's edit rate.
setFade in interface SourceClipfadeInLength - Fade in length for the source clip.fadeInType - Fade in type for the source clip.fadeOutLength - Fade out length for the source clip.fadeOutType - Fade out type for the source clip.BadLengthException - One or both of the length parameters of the fade is/are negative.Component.getComponentDataDefinition(),
DataDefinitionConstant.Sound,
SourceClip.setFade(tv.amwa.maj.union.Fade)@Deprecated public FadeImpl getFade()
SourceClipThis method returns the optional fade information for this source clip. This function only applies to audio source clips. Length units are specified by the containing package track's edit rate.
getFade in interface SourceClipSourceClip.getFadeInLength(),
SourceClip.getFadeInType(),
SourceClip.getFadeOutLength(),
SourceClip.getFadeOutType()@Deprecated public void setFade(Fade fade) throws NullPointerException
SourceClipSets the optional fade properties of this source clip from a set of fade properties. The fade properties only apply to a source clip of data definition (or convertible to a data definition) of type sound. Length units are specified by the containing track's edit rate.
setFade in interface SourceClipfade - Parameters of a fade for this source clip.NullPointerException - The given set of fade properties is null.Component.getComponentDataDefinition(),
DataDefinitionConstant.Sound,
SourceClip.setFade(long, FadeType, long, FadeType)@MediaProperty(uuid1=117572097, uuid2=261, uuid3=512, uuid4={6,14,43,52,1,1,1,2}, definedName="FadeInLength", typeName="LengthType", optional=true, uniqueIdentifier=false, pid=4610, symbol="FadeInLength") @Deprecated public long getFadeInLength() throws PropertyNotPresentException
SourceClipReturns the fade in length of the fade. This is an optional property.
getFadeInLength in interface SourceClipPropertyNotPresentException - This optional property is not present in the fade.SourceClip.getFade(),
Fade@Deprecated @MediaPropertySetter(value="FadeInLength") public void setFadeInLength(Long fadeInLength)
@MediaProperty(uuid1=87033089, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="FadeInType", typeName="FadeType", optional=true, uniqueIdentifier=false, pid=4611, symbol="FadeInType") @Deprecated public FadeType getFadeInType() throws PropertyNotPresentException
SourceClipReturns the fade in type of the fade. This is an optional property.
getFadeInType in interface SourceClipPropertyNotPresentException - This optional property
is not present in the fade.SourceClip.getFade(),
Fade@Deprecated @MediaPropertySetter(value="FadeInType") public void setFadeInType(FadeType fadeInType)
@MediaProperty(uuid1=117572097, uuid2=261, uuid3=768, uuid4={6,14,43,52,1,1,1,2}, definedName="FadeOutLength", typeName="LengthType", optional=true, uniqueIdentifier=false, pid=4612, symbol="FadeOutLength") @Deprecated public long getFadeOutLength() throws PropertyNotPresentException
SourceClipReturns the fade out length of the fade. This is an optional property.
getFadeOutLength in interface SourceClipPropertyNotPresentException - This optional property
is not present in the fade.SourceClip.getFade(),
Fade@Deprecated @MediaPropertySetter(value="FadeOutLength") public void setFadeOutLength(Long fadeOutLength)
@MediaProperty(uuid1=87033090, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="FadeOutType", typeName="FadeType", optional=true, uniqueIdentifier=false, pid=4613, symbol="FadeOutType") @Deprecated public FadeType getFadeOutType() throws PropertyNotPresentException
SourceClipReturns the fade out type of the fade. This is an optional property.
getFadeOutType in interface SourceClipPropertyNotPresentException - This optional property
is not present in the fade.SourceClip.getFade(),
Fade@Deprecated @MediaPropertySetter(value="FadeOutType") public void setFadeOutType(FadeType fadeOutType)
@MediaProperty(uuid1=117571843, uuid2=260, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="StartPosition", aliases="StartTime", typeName="PositionType", optional=true, uniqueIdentifier=false, pid=4609, symbol="StartPosition") public long getStartPosition() throws PropertyNotPresentException
SourceClipReturns the position offset from the origin of the referenced package's track in edit units determined by the source clip's context. If the source package identifier of this value is the zero package id, then the start position shall also be set to 0.
getStartPosition in interface SourceClipPropertyNotPresentException - The optional start time property is not present,
indicating that the reference is in the context of a static track
rather than a timeline track or
event track.@MediaPropertySetter(value="StartPosition") public void setStartPosition(Long startPosition)
SourceClipSets the position offset from the origin of the referenced package's
track in edit units determined by the
source clip's
context. If the source package identifier of this value is the
zero package id, then the start position shall
also be set to 0. Set this optional property to null to omit it.
setStartPosition in interface SourceClipstartPosition - Position offset from the origin of the referenced content.@MediaProperty(uuid1=296928023, uuid2=-30424, uuid3=18850, uuid4={-81,101,102,97,80,-44,66,-93}, definedName="Rush channel mask", symbol="Rush_channel_mask", aliases="Rush_channel_mask", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=0, prefix="q", namespace="http://www.quantel.com/genQ/extensions") @UInt32 public int getRushChannelMask() throws PropertyNotPresentException
getRushChannelMask in interface QSourceClipPropertyNotPresentException@MediaPropertySetter(value="Rush channel mask") public void setRushChannelMask(@UInt32 Integer rushChannelMask) throws IllegalArgumentException
setRushChannelMask in interface QSourceClipIllegalArgumentException@MediaProperty(uuid1=120384408, uuid2=6707, uuid3=16557, uuid4={-98,-25,31,-128,-92,124,56,103}, definedName="Rush blob", symbol="Rush_blob", aliases="Rush_blob", typeName="Stream", optional=true, uniqueIdentifier=false, pid=0, prefix="q", namespace="http://www.quantel.com/genQ/extensions") public Stream getRushBlob() throws PropertyNotPresentException
getRushBlob in interface QSourceClipPropertyNotPresentException@MediaPropertySetter(value="Rush blob") public void setRushBlob(Stream rushBlob)
setRushBlob in interface QSourceClippublic SourceClip clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Componentclone in interface InterchangeObjectclone in interface Segmentclone in interface SourceClipclone in interface SourceReferenceSegmentclone in class SourceReferenceSegmentImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.