Description
Displays the compression dialog for the AVI recording. The dialog allows you to select a desired codec and adjust its parameters.
Syntax
[VB]
objActiveGige.ShowCompressionDlg
[C/C++]
HRESULT ShowCompressionDlg( );
Parameters
Return Values
Example
This VB example demonstrates a simple video recording application
Private Sub Form_Load()
ActiveGige1.Acquire=True
End Sub
Private Sub CompressionButton_Click()
ActiveGige1.ShowCompressionDlg
End Sub
Private Sub StartButton_Click()
ActiveGige1.StartCapture "c:\mycapture.avi"
End Sub
Private Sub StopButton_Click()
ActiveGige1.StopCapture
End Sub
Remarks
The settings selected in the compression dialog are remembered as long as the corresponding ActiveGige control remains in the memory.
ActiveGige video recording engine includes a proprietary "Raw Uncompressed" codec. When the camera streams video in the Bayer format and the "Raw Uncompressed codec is selected, ActiveGige records the video in its original raw format while displaying it in color. This reduces the disk space requirements by three times without any degradation in the image quality. In addition, when high-depth pixel formats are used (such as Bayer10, Bayer12, Bayer16, Mono10, Mono 12, Mono16), the recorded video will be packed into the 12-bit per pixel format as opposed to 16 bit, thus saving extra 25% of the disk space. To decode and play back AVI files recorded with the "Raw Uncompressed" codec, use video playback methods of the DVR version of ActiveGige.