AudioCompressors
TVideoGrabber.AudioCompressors |
||||
|
|
|
List of the video compressors (audio codecs) available on the current platform.
Declaration
function AudioCompressors: string;
__property wchar_t *__fastcall AudioCompressors();
Property AudioCompressors as String
Description
Used to retrieve a string that contains the list of the audio compressors (audio codecs) available on the current platform.
This list can be assigned to list based controls. E.g.:
ComboBox1.Items.Text := VideoGrabber1.AudioCompressors;
ComboBox1.ItemIndex := VideoGrabber1.AudioCompressor;
It is possible to retrieve programmatically the index of a Audio compressor by using the FindIndexInListByName function as follows:
VideoGrabber.AudioCompressor := AudioGrabber.FindIndexInListByName (VideoGrabber.AudioCompressors, 'name of my Audio 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 AudioCompressorsCount CompressionMode CompressionType GetVideoCompressionSettings OnReencodingCompleted OnReencodingStarted OnVideoCompressionSettings RefreshDevicesAndCompressorsLists SaveCompressorSettingsToDataString SetVideoCompressionDefaults SetVideoCompressionSettings VideoCompression_KeyFrameRate VideoCompression_PFramesPerKeyFrame VideoCompression_Quality VideoCompression_WindowSize VideoCompressor VideoCompressorIndex VideoCompressorName VideoCompressors VideoCompressorsCount
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?