|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceClip
Specifies 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.
Source clips can by explicit, in context or indicating that the mob in which the clip is contained is the original source. For more information, see the description of the source clip factory method.
makeSourceClip()
,
SourceReferenceValue
,
SourceReferenceValue
Method Summary | |
---|---|
Fade |
getFade()
Deprecated. The fade properties of a source clip are deprecated in the AAF specification. Use a transition with an appropriate effect instead. |
SourceReferenceValue |
getSourceReference()
The method returns the source reference of this source clip. |
Mob |
resolveRef()
Returns the mob that this source clip references. |
void |
setFade(Fade fade)
Deprecated. The fade properties of a source clip are deprecated in the AAF specification. Use a transition with an appropriate effect instead. |
void |
setFade(long fadeInLength,
FadeType fadeInType,
long fadeOutLength,
FadeType fadeOutType)
Deprecated. The fade properties of a source clip are deprecated in the AAF specification. Use a transition with an appropriate effect instead. |
void |
setSourceReference(SourceReferenceValue sourceReference)
Sets the source reference of this source clip. |
Methods inherited from interface tv.amwa.maj.iface.SourceReferenceSegment |
---|
getChannelIDs, getChannelIDsSize, getMonoSourceSlotIDs, getMonoSourceSlotIDsSize, getSourceID, getSourceMobSlotID, setChannelIDs, setMonoSourceSlotIDs, setSourceID, setSourceMobSlotID |
Methods inherited from interface tv.amwa.maj.iface.Segment |
---|
segmentOffsetToTC, segmentTCToOffset |
Methods inherited from interface tv.amwa.maj.iface.Component |
---|
appendAttribute, appendAttribute, appendComment, appendComment, appendKLVData, countAttributes, countComments, countKLVData, getAttributes, getComments, getDataDefinition, getKLVData, getLength, removeAttribute, removeComment, removeKLVData, setDataDefinition, setLength |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
@Deprecated Fade getFade()
This 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 mob slot's edit rate.
Mob resolveRef() throws MobNotFoundException
Returns the mob that this source clip references.
MobNotFoundException
- The source reference of this source clip
could not be resolved to a mob.SourceReferenceValue getSourceReference()
The method returns the source reference of this source clip. The source reference includes the start time property of this source clip.
SourceReferenceValue.isContextual()
,
SourceReferenceValue.isOriginalSource()
,
SourceReferenceValue.getStartTime()
@Deprecated void setFade(@LengthType long fadeInLength, FadeType fadeInType, @LengthType long fadeOutLength, FadeType fadeOutType) throws BadLengthException
Sets 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 mob slot's edit rate.
fadeInLength
- 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.getDataDefinition()
,
DataDefinitionConstant.Sound
,
setFade(tv.amwa.maj.record.Fade)
@Deprecated void setFade(Fade fade) throws NullPointerException
Sets 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 mob slot's edit rate.
fade
- Parameters of a fade for this source clip.
NullPointerException
- The given set of fade properties is null
.Component.getDataDefinition()
,
DataDefinitionConstant.Sound
,
Fade.Fade(long, FadeType, long, FadeType)
,
setFade(long, FadeType, long, FadeType)
void setSourceReference(SourceReferenceValue sourceReference) throws NullPointerException
Sets the source reference of this source clip. The source reference includes the start time property of this source clip.
sourceReference
- Source reference of this source clip.
NullPointerException
- The given source reference is null
.SourceReferenceValue.originalSource()
,
SourceReferenceValue.inContextReference(int)
,
SourceReferenceValue.inContextReference(int, Long)
,
SourceReferenceValue.SourceReferenceValue(tv.amwa.maj.record.MobID, int, Long)
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |