TVideoGrabber.LoadCompressorSettingsFromDataString

Prev

Next

TVideoGrabber

Methods

 




































































































Reloads the compressor settings from a data string


Declaration
function LoadCompressorSettingsFromDataString (IsVideoCompressor: boolean; CompressorIndex: LongInt; DataString: string): Boolean;


bool __fastcall LoadCompressorSettingsFromDataString (bool IsVideoCompressor, int CompressorIndex: LongInt, wchar_t *DataString);


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

Description

Used to reload the compressor settings from a data string.

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.