Skip to content

PylonAviCompressionOptions_t#

Module: pylon Interface

Wraps the AVI compression options of the Video for Window API. File PylonAviCompressionOptions.h has to be included.

#include <pylonc/PylonAviCompressionOptions.h>

Public Attributes#

Name
LONG autoKeyFrameInsertionRate
Indicates to insert a key frame every nth image when KeyFrameSelection_Auto is used.
AVICOMPRESSOPTIONS compressionOptions
The AVICOMPRESSOPTIONS structure needs to be set up with the four character code identifying the codec and the parameter settings of the codec. For more information, see the MSDN documentation of the Video for Windows API and the documentation of the codec you are using.
HWND hParentWindow
Optional handle to the parent window for the Compression Options dialog box. See the Video for Windows API AviSaveOptions() MSDN documentation.
_Bool showDialog
Optionally show Compression Options dialog box. See the Video for Windows API AviSaveOptions() MSDN documentation.
_Bool userDialogReturnOk
Is set to true in the call to the CAviWriter::Open() method if the user pressed OK in the dialog. The compression is not set up if cancel has been pressed.

Public Attributes Documentation#

variable autoKeyFrameInsertionRate#

LONG autoKeyFrameInsertionRate;

Indicates to insert a key frame every nth image when KeyFrameSelection_Auto is used.

variable compressionOptions#

AVICOMPRESSOPTIONS compressionOptions;

The AVICOMPRESSOPTIONS structure needs to be set up with the four character code identifying the codec and the parameter settings of the codec. For more information, see the MSDN documentation of the Video for Windows API and the documentation of the codec you are using.

variable hParentWindow#

HWND hParentWindow;

Optional handle to the parent window for the Compression Options dialog box. See the Video for Windows API AviSaveOptions() MSDN documentation.

variable showDialog#

_Bool showDialog;

Optionally show Compression Options dialog box. See the Video for Windows API AviSaveOptions() MSDN documentation.

variable userDialogReturnOk#

_Bool userDialogReturnOk;

Is set to true in the call to the CAviWriter::Open() method if the user pressed OK in the dialog. The compression is not set up if cancel has been pressed.