@MediaClass(uuid1=218169601, uuid2=257, uuid3=3072, uuid4={6,14,43,52,2,6,1,1}, definedName="Pulldown", description="The Pulldown class converts between film frame rates and videotape frame rates.", symbol="Pulldown") public class PulldownImpl extends SegmentImpl implements Pulldown, Serializable, Cloneable
Implements the representation of a conversion between film frame rates and videotape frame rates. This class provides a mechanism to convert essence to and from video and film rates and describe the mechanism that was used to convert the essence.
ObjectClassPropertyID| Constructor and Description |
|---|
PulldownImpl() |
PulldownImpl(DataDefinition dataDefinition,
Segment inputSegment,
PulldownKindType pulldownKind,
PulldownDirectionType pulldownDirection,
int phaseFrame)
Creates and initializes a new pulldown object, which converts between film frame rates
and videotape frame rates
|
| Modifier and Type | Method and Description |
|---|---|
Pulldown |
clone()
Create a cloned copy of this interchange object.
|
Segment |
getInputSegment()
|
int |
getPhaseFrame()
Returns the phase frame property of this pulldown, which specifies the phase within
the repeating pulldown pattern of the first frame after the pulldown conversion.
|
PulldownDirectionType |
getPulldownDirection()
Returns the pulldown direction of this pulldown, which specifies whether the pulldown
is converting from tape to film speed or from film to tape speed.
|
PulldownKindType |
getPulldownKind()
Returns the pulldown kind of this pulldown, which specifies whether the pulldown is
converting from nominally 30 Hz or 25 Hz video frame rate and whether frames
are dropped or the video is played at another speed.
|
static Segment |
initializeInputSegment() |
static int |
initializePhaseFrame() |
static PulldownDirectionType |
initializePulldownDirection() |
static PulldownKindType |
initializePulldownKind() |
TimecodeValue |
segmentOffsetToTC(long offset)
Converts the given segment offset to a timecode
value.
|
long |
segmentTCToOffset(TimecodeValue timecode,
Rational editrate)
Converts the given timecode and edit rate
to a segment offset value.
|
void |
setInputSegment(Segment inputSegment)
|
void |
setPhaseFrame(int phaseFrame)
Sets the phase frame property of the pulldown, which specifies the phase within
the repeating pulldown pattern of the first frame after the pulldown conversion.
|
void |
setPulldownDirection(PulldownDirectionType pulldownDirection)
Sets the pulldown direction of the pulldown, which specifies whether the pulldown
is converting from tape to film speed or from film to tape speed.
|
void |
setPulldownKind(PulldownKindType pulldownKind)
Sets the pulldown kind of this pulldown, which specifies whether the pulldown is
converting from nominally 30 Hz or 25 Hz video frame rate and whether frames
are dropped or the video is played at another speed.
|
generateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, 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, toStringgenerateSequenceappendComponentAttribute, 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 PulldownImpl()
public PulldownImpl(DataDefinition dataDefinition, Segment inputSegment, PulldownKindType pulldownKind, PulldownDirectionType pulldownDirection, @PhaseFrameType int phaseFrame) throws NullPointerException
Creates and initializes a new pulldown object, which converts between film frame rates and videotape frame rates
dataDefinition - Kind of data represented by this new component.inputSegment - A segment that is either a source clip or
timecode segment. The length of input segment object is in the edit
units determined by the pulldown kind and pulldown direction.pulldownKind - Specifies whether the new pulldown object is converting from nominally 30 Hz
or 25 Hz videoframe rate and whether frames are dropped or the video is played at another speed.pulldownDirection - Specifies whether the pulldown object is converting from tape to film
speed or from film to tape speed.phaseFrame - The phase within the repeating pulldown pattern of the first frame after the
pulldown conversion. A value of 0 specifies that the pulldown object starts
at the beginning of the pulldown pattern.NullPointerException - One or more of the arguments is null and all arguments
are required.@MediaProperty(uuid1=100729092, uuid2=519, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="InputSegment", typeName="SegmentStrongReference", optional=false, uniqueIdentifier=false, pid=3329, symbol="InputSegment") public Segment getInputSegment()
PulldownReturns the input segment of this pulldown, which is either a source clip or timecode. The length of the source clip or timecode is in the edit units determined by the properties pulldown kind and pulldown direction.
getInputSegment in interface PulldownTypeDefinitions.SegmentStrongReference@MediaPropertySetter(value="InputSegment") public void setInputSegment(Segment inputSegment) throws NullPointerException, IllegalArgumentException
PulldownSets the input segment for this pulldown, which is either a source clip or timecode.
The length of the source clip or timecode is in the edit units determined by the properties pulldown kind and pulldown direction.setInputSegment in interface PulldowninputSegment - Input segment for the pulldown.NullPointerException - The given input segment is null.IllegalArgumentException - The given input segment must be either a source clip
or a timecode.@MediaProperty(uuid1=88084481, uuid2=768, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PhaseFrame", typeName="PhaseFrameType", optional=false, uniqueIdentifier=false, pid=3332, symbol="PhaseFrame") public int getPhaseFrame()
PulldownReturns the phase frame property of this pulldown, which specifies the phase within the repeating pulldown pattern of the first frame after the pulldown conversion. A value of zero specifies that the pulldown object starts at the beginning of the pattern.
getPhaseFrame in interface Pulldownpublic static final Segment initializeInputSegment()
@MediaPropertySetter(value="PhaseFrame") public void setPhaseFrame(int phaseFrame)
PulldownSets the phase frame property of the pulldown, which specifies the phase within the repeating pulldown pattern of the first frame after the pulldown conversion. A value of zero specifies that the pulldown object starts at the beginning of the pattern.
setPhaseFrame in interface PulldownphaseFrame - Phase frame property for this pulldown.public static final int initializePhaseFrame()
@MediaProperty(uuid1=88084481, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PulldownDirection", typeName="PulldownDirectionType", optional=false, uniqueIdentifier=false, pid=3331, symbol="PulldownDirection") public PulldownDirectionType getPulldownDirection()
PulldownReturns the pulldown direction of this pulldown, which specifies whether the pulldown is converting from tape to film speed or from film to tape speed.
getPulldownDirection in interface PulldownPulldownDirectionType,
TapeDescriptor,
FilmDescriptor@MediaPropertySetter(value="PulldownDirection") public void setPulldownDirection(PulldownDirectionType pulldownDirection) throws NullPointerException
PulldownSets the pulldown direction of the pulldown, which specifies whether the pulldown is converting from tape to film speed or from film to tape speed.
setPulldownDirection in interface PulldownpulldownDirection - Pulldown direction of this pulldown.NullPointerException - The given pulldown direction is null.PulldownDirectionType,
TapeDescriptor,
FilmDescriptorpublic static final PulldownDirectionType initializePulldownDirection()
@MediaProperty(uuid1=88084481, uuid2=512, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PulldownKind", typeName="PulldownKindType", optional=false, uniqueIdentifier=false, pid=3330, symbol="PulldownKind") public PulldownKindType getPulldownKind()
PulldownReturns the pulldown kind of this pulldown, which specifies whether the pulldown is converting from nominally 30 Hz or 25 Hz video frame rate and whether frames are dropped or the video is played at another speed.
getPulldownKind in interface PulldownPulldownKindType@MediaPropertySetter(value="PulldownKind") public void setPulldownKind(PulldownKindType pulldownKind) throws NullPointerException
PulldownSets the pulldown kind of this pulldown, which specifies whether the pulldown is converting from nominally 30 Hz or 25 Hz video frame rate and whether frames are dropped or the video is played at another speed.
setPulldownKind in interface PulldownpulldownKind - Pulldown kind of this pulldown.NullPointerException - The given pulldown kind is null.PulldownKindTypepublic static final PulldownKindType initializePulldownKind()
public Pulldown clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Componentclone in interface InterchangeObjectclone in interface Pulldownclone in interface Segmentclone in class SegmentImplpublic TimecodeValue segmentOffsetToTC(long offset) throws TimecodeNotFoundException
SegmentConverts the given segment offset to a timecode value.
segmentOffsetToTC in interface SegmentsegmentOffsetToTC in class SegmentImploffset - Segment offset to be converted to a timecode.TimecodeNotFoundException - The given offset is not available as
a timecode value in this segment.Segment.segmentTCToOffset(TimecodeValue, Rational)public long segmentTCToOffset(TimecodeValue timecode, Rational editrate) throws NullPointerException, TimecodeNotFoundException
SegmentConverts the given timecode and edit rate to a segment offset value.
segmentTCToOffset in interface SegmentsegmentTCToOffset in class SegmentImpltimecode - Timecode to be converted to an offset.editrate - Edit rate of the given timecode.NullPointerException - One or both of the given timecode and/or edit rate is/are
null.TimecodeNotFoundException - The given timecode is not available
in this segment.Segment.segmentOffsetToTC(long)(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.