CAPL Script

SetVideoOfflineSource

Note This function is only allowed inon preStartevent procedure.

Syntax

SetVideoOfflineSource(char windowName[], long sourceType, char sourcePath[]);

Function

Sets the offline source (type and path) for aCANoeVideo Window.

Parameters

windowName The name of the Video Window.

sourceType

  • 0|cNoVideoInput
  • 1|cVideoFile
  • 2|cImageFolder

sourcePath

  • ForcNoVideoInputthe path will be ignored.
  • ForcVideoFilethis must be a existing video file.
  • ForcImageFolderthis must be a existing folder.

Return Values

on preStart{//Configure offline source (video file)SetVideoOfflineSource("Video Window", 1, "MyVideoFile.avi");}

SetVideoOfflineLoggerCam | SetVideoRecordFile | SetVideoTriggerTimes | StartVideoRecording | StopVideoRecording