Media Authoring
with Java API

tv.amwa.maj.record
Interface TimecodeValue

All Known Implementing Classes:
TimecodeValue

public interface TimecodeValue

Specifies videotape or audio tape timecode information. The timecode interface is capable of representing timecode values specified by SMPTE 12M.

Author:
Richard Cartwright
See Also:
TimecodeSegment, TimecodeValue

Method Summary
 boolean getDrop()
          Determines whether the timecode is drop (true value) or nondrop (false value).
 short getFps()
          Returns the frames per second of the videotape or audio tape of the timecode.
 long getStartOffset()
          Returns the timecode value by the number of frames offset from the start of the video or audio.
 void setDrop(boolean drop)
          Sets whether the timecode is drop (true value) or nondrop (false value).
 void setFps(short fps)
          Sets the frames per second of the videotape or audio tape of the timecode.
 void setStartOffset(long offsetFrame)
          Sets the timecode value by the number of frames offset from the start of the video or audio.
 

Method Detail

getDrop

boolean getDrop()

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.

Returns:
Is the timecode a drop value?

setDrop

void setDrop(boolean drop)

Sets whether the timecode is drop (true value) or nondrop (false value).

Parameters:
drop - Is the timecode a drop value?

getFps

@UInt16
short getFps()

Returns the frames per second of the videotape or audio tape of the timecode.

Returns:
Frames per second of the videotape or audiotape of the timecode.

setFps

void setFps(@UInt16
            short fps)

Sets the frames per second of the videotape or audio tape of the timecode.

Parameters:
fps - Frames per second of the videotape or audiotape of the timecode.

getStartOffset

@FrameOffset
long getStartOffset()

Returns the timecode value by the number of frames offset from the start of the video or audio.

Returns:
Timecode offset value.

setStartOffset

void setStartOffset(@FrameOffset
                    long offsetFrame)

Sets the timecode value by the number of frames offset from the start of the video or audio.

Parameters:
offsetFrame - Frame offset value to use to set the timecode.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.