|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pulldown
Specifies a conversion between film frame rates and videotape frame rates. Implementations of this interface provides a mechanism to convert essence to and from video and film rates and describe the mechanism that was used to convert the essence.
A pulldown is typically used in one of three ways:
makePulldown()
Method Summary | |
---|---|
Segment |
getInputSegment()
Returns the input segment of this pulldown, which is either a source clip or timecode. |
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. |
void |
setInputSegment(Segment inputSegment)
Sets the input segment for this pulldown, which is either a source clip or timecode. |
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. |
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 |
---|
Segment getInputSegment()
Returns 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.
void setInputSegment(Segment inputSegment) throws NullPointerException, IllegalArgumentException
Sets 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.
inputSegment
- 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.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.
PulldownKindType
void setPulldownKind(PulldownKindType pulldownKind) throws NullPointerException
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.
pulldownKind
- Pulldown kind of this pulldown.
NullPointerException
- The given pulldown kind is null
.PulldownKindType
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.
PulldownDirectionType
,
TapeDescriptor
,
FilmDescriptor
void setPulldownDirection(PulldownDirectionType pulldownDirection) throws NullPointerException
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.
pulldownDirection
- Pulldown direction of this pulldown.
NullPointerException
- The given pulldown direction is null
.PulldownDirectionType
,
TapeDescriptor
,
FilmDescriptor
@PhaseFrameType 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. A value of zero specifies that the pulldown object starts at the beginning of the pattern.
void setPhaseFrame(@PhaseFrameType 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. A value of zero specifies that the pulldown object starts at the beginning of the pattern.
phaseFrame
- Phase frame property for this pulldown.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |