TVideoGrabber.LoadCompressorSettingsFromTextFile

Prev

Next

TVideoGrabber

Methods

 




































































































Reloads the compressor settings from a text file.


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


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


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

Description

Used to reload the compressor settings from 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.