TVideoGrabber.VideoCompressors

Prev

Next

TVideoGrabber

Properties

 




































































































List of the video compressors available on the current platform.


Declaration
function VideoCompressors: string;


__property wchar_t *__fastcall VideoCompressors();


property VideoCompressors as string

Description

Used to retrieve a string that contains the list of the video compressors available on the current platform.
This list can be assigned to list based controls. E.g.:
ComboBox1.Items.Text := VideoGrabber1.VideoCompressors;

It is possible to retrieve programmatically the index of a video compressor by using the FindIndexInListByName function as follows:

VideoGrabber.VideoCompressor := VideoGrabber.FindIndexInListByName (VideoGrabber.VideoCompressors, 'name of my video encoder', false, true);


Note: when the application starts the VideoCompressors and AudioCompressors lists are populated with the codecs currently installed. To refresh the compressor lists after installing/uninstalling codecs without exiting/restarting your application, invoke RefreshDevicesAndCompressorsLists.


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 VideoCompressorIndex VideoCompressorName VideoCompressorsCount