TVideoGrabber.SaveCompressorSettingsToTextFile

Prev

Next

TVideoGrabber

Methods

 




































































































Saves the current compressor settings to a text file.


Declaration
function SaveCompressorSettingsToTextFile (IsVideoCompressor: boolean; CompressorIndex: LongInt; FileName: string): Boolean;


bool __fastcall SaveCompressorSettingsToTextFile (bool IsVideoCompressor, int CompressorIndex: LongInt, wchar_t *FileName);


function SaveCompressorSettingsToTextFile (IsVideoCompressor as Boolean, CompressorIndex as Long, FileName as String) As Boolean

Description

Used to save the current compressor settings to a text file.

The compressor settings depend on the current VideoCompressor and RecordingMethod, so be sure to first select the RecordingMethod() and VideoCompressor before saving its settings.

The IsVideoCompressor parameter must be set to true for a video compressor, or false for an audio compressor.

The Compressor parameter index must be the VideoCompressor or AudioCompressor index of the related compressor in the VideoCompressors or AudioCompressors lists.

See Saving and restoring compressor settings programmatically for sample code.