VideoCompressorIndex
TVideoGrabber.VideoCompressorIndex |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the index of a given compressor in the VideoCompressors list.
Declaration
function VideoCompressorIndex(Value: String): LongInt;
int __fastcall VideoCompressorIndex(wchar_t *Value)
Function VideoCompressorIndex(param1 As String) As Long
Description
Used to retrieve the index of a given compressor in the VideoCompressors list.
The function accepts wild chars. E.g.:
VideoGrabber1.VideoCompressor := VideoCompressorIndex ('Microsoft MPEG-4 Video Codec V2'); // selects the "Microsoft MPEG-4 Video Codec V2" video compressor.
VideoGrabber1.VideoCompressor := VideoCompressorIndex ('Microsoft MPEG-4*'); // selects the 1st video compressor that begins with "Microsoft MPEG-4".
VideoGrabber1.VideoCompressor := VideoCompressorIndex ('*MPEG-4*'); // selects the 1st video compressor that contains "MPEG-4".
See Also
Recording methods and properties TCompressionType TOnVideoCompressionSettings AudioCompressor AudioCompressorIndex AudioCompressorName AudioCompressors AudioCompressorsCount CompressionMode CompressionType GetVideoCompressionSettings OnReencodingCompleted OnReencodingStarted OnVideoCompressionSettings RefreshDevicesAndCompressorsLists SaveCompressorSettingsToDataString SetVideoCompressionDefaults SetVideoCompressionSettings VideoCompression_KeyFrameRate VideoCompression_PFramesPerKeyFrame VideoCompression_Quality VideoCompression_WindowSize VideoCompressor VideoCompressorName VideoCompressors VideoCompressorsCount