AVI

_CreateAVIFromSequence, _CreateSequenceFromAVI, _SaveAVI, AVIAcquisitionStart, AVIAcquisitionStop, CreateAVIFromSequence, CreateAVIFromSequenceEx, CreateSequenceFromAVI

AVIAcquisitionStart

Description 

 AVIAcquisitionStart();

Starts the AVI/MP4 acquisition (Record button) using the parameters set in the AVI/MP4 Acquisition dialog window.

AVIAcquisitionStop

Description 

 AVIAcquisitionStop();

Stops the AVI/MP4 acquisition (Stop button in the AVI/MP4 Acquisition dialog window).

CreateAVIFromSequence

Description 

 CreateAVIFromSequence(
   char *Avi_Destination,
   int  Frame_Int,
   bool  Def_Video
);

This function creates an AVI file from the sequence.

Parameters

char *Avi_Destination

Destination AVI file.

int Frame_Int

Frame interval.

0

Use acquisition time.

> 0

Frame interval in ms.

bool Def_Video

Use default video codec.

0, FALSE

Use most recently selected codec.

1, TRUE

Use default video codec.

Note

The AVI file is created from all supported single image files (ND and AVI are left out) in the last directory used to open files. After calling a preview is displayed. You can stop the AVI creation any time and the currently created part of the sequence will be saved. When this function is not called by the CreateAVIFromSequence function, the name of the output file is first four characters from the first sequence filename. The output file is saved to the directory of the sequence.

CreateAVIFromSequenceEx

Description 

 CreateAVIFromSequenceEx(
   char *Avi_Destination,
   int  Frame_Int,
   bool  Def_Video,
   int  Width,
   int  Height,
   int  KeepAspect,
   char *ImageDirectory,
   char *FileFilter
);

This function creates an AVI file from the sequence.

Parameters

char *Avi_Destination

Destination AVI file.

int Frame_Int

Frame interval.

0

Use acquisition time.

> 0

Frame interval in ms.

bool Def_Video

Use default video codec.

0, FALSE

Use most recently selected codec.

1, TRUE

Use default video codec.

int Width

Image width in pixels.

int Height

Image height in pixels.

int KeepAspect

Aspect ratio of the avi file.

0

Does not keep aspect ratio.

1

AVI file dimensions are recalculated to keep original aspect ratio.

char *ImageDirectory

Directory of the source images.

char *FileFilter

Type first filename characters to filter the sequence images.

Note

The AVI file is created from all supported single image files (ND and AVI are left out) in specified source image directory. Images are resized to the specified width and height. After calling a preview is displayed. You can stop the AVI creation any time and the currently created part of the sequence will be saved. When this function is not called by the CreateAVIFromSequence function, the name of the output file is first four characters from the first sequence filename. The output file is saved to the directory of the sequence.

CreateSequenceFromAVI

Description 

 CreateSequenceFromAVI(
   char *AviFilename,
   int  playmode,
   char *Avi_Command,
   int  play_timing,
   double  play_interval
);

This function decompresses the AVI file frame by frame into the current color image. This function is mostly called by the _CreateSequenceFromAVI function.

Parameters

char *AviFilename

The destination file name incl. extension (.AVI).

int playmode

Specifies the usage of this function.

1

In this mode you can process frame-by-frame with specified command.

1

This is a preview mode, you can interactively change the playback options.

char *Avi_Command

This parameter is used in mode 1 and specifies the command string which is executed on every frame of the AVI file.

int play_timing

Currently not used.

double play_interval

Currently not used.

Note

The AVI file can be decompressed only if the required codec is installed.

See Also 
_CreateSequenceFromAVI, CreateAVIFromSequence, _CreateAVIFromSequence

_CreateAVIFromSequence

Description 

 _CreateAVIFromSequence();

The function displays the Sequence to AVI dialog box. You can select a sequence of supported single image files which will be converted into *.avi format.

See Also 
CreateAVIFromSequence, CreateAVIFromSequenceEx

_CreateSequenceFromAVI

Description 

 _CreateSequenceFromAVI();

The function displays the AVI to Sequence dialog box. You can select an *.avi file which will be converted into a sequence of *.lim images.

_SaveAVI

This function runs the Acquire > AVI/MP4 Acquisition command.

Description 

 _SaveAVI();

This function displays an AVI/MP4 Acquisition dialog window.