public interface CompositionPackage extends Package
Specifies a material object that describes how to combine content data elements into a sequence, how to modify content data elements, and how to synchronize content data elements.
| Modifier and Type | Method and Description |
|---|---|
CompositionPackage |
clone()
Create a cloned copy of this composition package.
|
PackageID |
getCompositionRendering()
Returns the package id of a rendering of this composition
package, which specifies a mixdown of the composition.
|
DefaultFade |
getDefaultFade()
Returns the default fade for this
composition package, which specifies the default fade to be applied to all audio
source clips that do not specify their own audio fade properties.
|
Rational |
getDefaultFadeEditUnit()
Returns the edit units used to specify the default fade length of this composition package.
|
long |
getDefaultFadeLength()
Returns the length of this default audio fade of this composition package, measured in the
fade's edit units.
|
FadeType |
getDefaultFadeType()
Returns the type of the default audio fade for this composition package.
|
void |
setCompositionRendering(PackageID packageID)
Set the package id of a rendering of this composition
package, which specifies a mixdown of the composition.
|
void |
setDefaultFade(DefaultFade defaultFade)
Sets the default fade properties for this composition package, which specifies the default
fade to be applied to all audio source clips that do not specify their
own audio fade properties.
|
void |
setDefaultFade(long fadeLength,
FadeType fadeType,
Rational fadeEditUnit)
Sets the default fade properties of this composition package, which specifies the default
fade to be applied to all audio source clips that do not specify their
own audio fade properties.
|
appendNewEventTrack, appendNewStaticTrack, appendNewTimelineTrack, appendPackageAttribute, appendPackageAttribute, appendPackageKLVData, appendPackageTrack, appendPackageUserComment, appendPackageUserComment, changeReference, clearPackageAttributes, clearPackageKLVData, clearPackageTracks, clearPackageUserComments, cloneExternal, copy, countPackageAttributes, countPackageKLVData, countPackageTracks, countPackageUserComments, getCreationTime, getPackageAttributes, getPackageID, getPackageKLVData, getPackageLastModified, getPackageName, getPackageTrackAt, getPackageTracks, getPackageUsage, getPackageUserComments, insertPackageTrackAt, lookupPackageTrack, offsetToPackageTimecode, prependPackageTrack, removePackageAttribute, removePackageKLVData, removePackageTrackAt, removePackageUserComment, setCreationTime, setPackageID, setPackageLastModified, setPackageName, setPackageUsageaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexgetAUID, getWeakTargetReferenceDefaultFade getDefaultFade() throws PropertyNotPresentException
Returns the default fade for this composition package, which specifies the default fade to be applied to all audio source clips that do not specify their own audio fade properties. The default fade properties are optional.
PropertyNotPresentException - The optional default fade properties are
not present in this composition package.getDefaultFadeEditUnit(),
getDefaultFadeLength(),
getDefaultFadeType()void setDefaultFade(@LengthType long fadeLength, FadeType fadeType, Rational fadeEditUnit) throws BadLengthException
Sets the default fade properties of this composition package, which specifies the default
fade to be applied to all audio source clips that do not specify their
own audio fade properties. The default fade properties are optional and can be omitted
by calling this method with null for either the fade type or fade edit unit
properties.
fadeLength - Default fade length for the fade.fadeType - Default fade type for the fade.fadeEditUnit - Default fade edit unit for the fade.BadLengthException - Fade length is negative.void setDefaultFade(DefaultFade defaultFade)
Sets the default fade properties for this composition package, which specifies the default
fade to be applied to all audio source clips that do not specify their
own audio fade properties. The default fade properties are optional and can be omitted
by calling this method with null.
defaultFade - Default fade properties for this composition package.Rational getDefaultFadeEditUnit() throws PropertyNotPresentException
Returns the edit units used to specify the default fade length of this composition package.
PropertyNotPresentExceptiongetDefaultFade()@LengthType long getDefaultFadeLength() throws PropertyNotPresentException
Returns the length of this default audio fade of this composition package, measured in the fade's edit units.
PropertyNotPresentExceptiongetDefaultFadeEditUnit(),
getDefaultFade()FadeType getDefaultFadeType() throws PropertyNotPresentException
Returns the type of the default audio fade for this composition package.
PropertyNotPresentExceptiongetDefaultFade()void setCompositionRendering(PackageID packageID)
Set the package id of a rendering of this composition
package, which specifies a mixdown of the composition. The start of the mixdown
and the start of the composition are assumed to be co-timed. Set the rendering to
null to omit this optional property.
packageID - Package id for a rendering of this composition package.PackageID getCompositionRendering() throws PropertyNotPresentException
Returns the package id of a rendering of this composition package, which specifies a mixdown of the composition. The start of the mixdown and the start of the composition are assumed to be co-timed.
PropertyNotPresentException - The optional rendering property is not
present in this composition package.CompositionPackage clone()
Create a cloned copy of this composition package.
clone in interface InterchangeObjectclone in interface MediaEntityclone in interface Package(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.