/
getTimeCodeOffset

getTimeCodeOffset

Description

Gets a frame number for the SMPTE offset of current video file.

Returns 0 if there is no video clip in video view.

Functional area

Data editing

Command syntax

Syntax

getTimeCodeOffset

Arguments

None

Flags

None

Return value

integer

Return a frame number corresponding to the timecode offset of the current video file.

Examples

// Print timecode offset for current video clip 
int $offset = `getTimeCodeOffset`;
print $offset ;