Specifications
double GetProgramDuration( )
GetProgramDuration( ) as Double
Parameters:
none
Return Values:
The length, in seconds, of the currently loaded program.
Description:
Returns a floating point number with the total number of seconds in the program.
long GetSceneMarkMsec( int sceneIndex )
GetSceneMarkMsec( sceneIndex as Integer ) as integer
Parameters:
sceneIndex
Scene marker number, with a range of 1 to N. Calling with sceneIndex of 0 will return the number of scenes
markers set.
Return Values:
If sceneIndex is zero, returns the number of scene markers.
Otherwise, the location of the scene marker along the timeline, in milliseconds.
If an error such as sceneIndex is out of range, then return -1.
Description:
Returns the location of the scene marker along the timeline in milliseconds.
BOOL IsOutputInProgress( )
IsOutputInProgress() as integer
Parameters:
None
Return Values:
TRUE (1) if VideoReDo is processing output, otherwise FALSE( 0 ).
Description:
This command is part of the output process. When creating output, use one of the Save commands followed by a loop
which continually checks this value. As long as it remains TRUE you should sleep for a second or two and then
recheck it.
BOOL IsScanInProgress( )
IsScanInProgress() as integer
Parameters:
None
Return Values:
TRUE (1) if VideoReDo is currently performing an Ad-Detective Scan, otherwise FALSE( 0 ).
Description:
This command is part of the batch Ad-Detective process. While Ad-Detective is active, this function will return TRUE
(1). Once Ad-Detective completes, it will return FALSE (0) indicating its OK to save the Ad-Detective project file. As
long as it remains TRUE you should sleep for a second or two and then recheck it.
BOOL Pause( )