TVideoGrabber.AudioCompressorIndex

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the index of a given compressor in the AudioCompressors list.


Declaration
function AudioCompressorIndex(Value: String): LongInt;


int __fastcall AudioCompressorIndex(wchar_t *Value)


Function AudioCompressorIndex(Value As String) As Long

Description

Used to retrieve the index of a given compressor in the AudioCompressors list.

The function accepts wild chars. E.g.:

VideoGrabber1.AudioCompressor := AudioCompressorIndex ('MPEG Layer-3');  // selects the "MPEG Layer-3" audio compressor.
VideoGrabber1.AudioCompressor := AudioCompressorIndex ('MPEG*');         // selects the 1st audio compressor that begins with "MPEG".
VideoGrabber1.AudioCompressor := AudioCompressorIndex ('*MPEG*');        // selects the 1st audio compressor that contains "MPEG".


See Also
Recording methods and properties TCompressionType TOnVideoCompressionSettings AudioCompressor AudioCompressorName AudioCompressors AudioCompressorsCount CompressionMode CompressionType GetVideoCompressionSettings OnReencodingCompleted OnReencodingStarted OnVideoCompressionSettings RefreshDevicesAndCompressorsLists SaveCompressorSettingsToDataString SetVideoCompressionDefaults SetVideoCompressionSettings VideoCompression_KeyFrameRate VideoCompression_PFramesPerKeyFrame VideoCompression_Quality VideoCompression_WindowSize VideoCompressor VideoCompressorIndex VideoCompressorName VideoCompressors VideoCompressorsCount