TVideoGrabber.SaveCompressorSettingsToDataString

Prev

Next

TVideoGrabber

Methods

 




































































































Saves the compressor settings to a data string


Declaration
function SaveCompressorSettingsToDataString (IsVideoCompressor: boolean; CompressorIndex: LongInt): string;


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


function SaveCompressorSettingsToDataString (IsVideoCompressor as Boolean, CompressorIndex as Long) As String

Description

Used to save the current compressor settings to 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.


See Also
Recording methods and properties TAVIMuxConfig TASFDeinterlaceMode TAutoFileName TCompressionType TOnRecordingCompleted TOnRecordingReadyToStart TOnVideoCompressionSettings TRecordingMethod TSyncPreview AudioCompressor AudioCompressorIndex AudioCompressorName AudioCompressors AudioCompressorsCount AudioRecording AudioSyncAdjustment AutoFileNameMinDigits AVIDurationUpdated AVIFormatOpenDML AVIHeaderInfo AVIInfo CompressionMode CompressionType Encoder_SetInt GetVideoCompressionSettings HoldRecording IsRecordingPaused Last_Recording_FileName OnBacktimedFramesCountReached OnCopyPreallocDataCompleted OnCopyPreallocDataProgress OnCopyPreallocDataStarted OnCreatePreallocFileCompleted OnCreatePreallocFileStarted OnDiskFull OnRecordingCompleted OnRecordingPaused OnRecordingReadyToStart OnRecordingStarted OnReencodingCompleted OnReencodingStarted OnVideoCompressionSettings PauseRecording PreallocCapFileCopiedAfterRecording PreallocCapFileEnabled PreallocCapFileName PreallocCapFileSizeInMB RecordingBacktimedFramesCount RecordingCanPause RecordingDuration RecordingFileName RecordingFileSizeMaxInMB RecordingFourCC RecordingHeight RecordingInNativeFormat RecordingKBytesWrittenToDisk RecordingMethod RecordingSize RecordingTimer RecordingTimerInterval RecordingWidth RefreshDevicesAndCompressorsLists ResumeRecording SetMultiplexerFilterByName SetVideoCompressionDefaults SetVideoCompressionSettings StartAudioRecording StartRecording StartSynchronized StopRecording StoragePath Synchronized SyncPreview VideoCompression_KeyFrameRate VideoCompression_PFramesPerKeyFrame VideoCompression_Quality VideoCompression_WindowSize VideoCompressor VideoCompressorIndex VideoCompressorName VideoCompressors VideoCompressorsCount