public interface TimecodeSegment extends Segment
Specifies the storage of video tape or audio tape timecode information.
In contrast to a timecode stream, a timecode segment specifies timecode by specifying the single starting timecode value; other timecode values are calculated from the starting timecode and the time offset.
See the section on naming conflicts in the package documentation.
TimecodeValue| Modifier and Type | Method and Description |
|---|---|
TimecodeSegment |
clone()
Create a cloned copy of this timecode segment.
|
boolean |
getDropFrame()
Determines whether the timecode is drop (
true value) or
nondrop (false value). |
short |
getFramesPerSecond()
Returns the frames per second of the videotape or audio tape of the timecode.
|
long |
getStartTimecode()
Returns the timecode value by the number of frames offset from
the start of the video or audio.
|
TimecodeValue |
getTimecode()
Returns the timecode value for this timecode segment, which specifies the start timecode
for the segment, the frames per second of the tape and whether the timecode is drop
or non-drop.
|
void |
setTimecode(TimecodeValue timecode)
Set the timecode value for this timecode segment, which specifies the start timecode
for the segment, the frames per second of the tape and whether the timecode is drop
or non-drop.
|
generateSequence, 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, setPersistentIndexTimecodeValue getTimecode()
Returns the timecode value for this timecode segment, which specifies the start timecode for the segment, the frames per second of the tape and whether the timecode is drop or non-drop.
getStartTimecode(),
getFramesPerSecond(),
getDropFrame()@FrameOffset long getStartTimecode()
Returns the timecode value by the number of frames offset from the start of the video or audio.
getTimecode()@UInt16 short getFramesPerSecond()
Returns the frames per second of the videotape or audio tape of the timecode.
getTimecode()boolean getDropFrame()
Determines whether the timecode is drop (true value) or
nondrop (false value).
If drop is set to true, the real frames-per-second rate represented
by the timecode is 29.97. Calculations of the real time represented by a timecode
or to create a textual representation of the time code drop 108 selected frames
per hour.
getTimecode()void setTimecode(TimecodeValue timecode) throws NullPointerException
Set the timecode value for this timecode segment, which specifies the start timecode for the segment, the frames per second of the tape and whether the timecode is drop or non-drop.
timecode - Timecode value for this timecode segment.NullPointerException - The given value for the timecode is null.Forge.makeTimecode(long, short, boolean)TimecodeSegment clone()
Create a cloned copy of this timecode segment.
clone in interface Componentclone in interface InterchangeObjectclone in interface MediaEntityclone in interface Segment(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.