<< Click to display table of contents >> GetListOfAvailableFFmpegAudioCodecs Procedure |
Fills AList with audio formats available for encoding.
Unit [VCL and LCL] MRVFFMpegLists;
Unit [FMX] fmxMRVFFMpegLists;
procedure GetListOfAvailableFFmpegAudioCodecs(AList: TStrings;
const DefaultCaption: String = '');
This function works only if FFmpeg is available. Otherwise, it simply clears AList.
Each added item has a text describing a codec, and an object equal to the corresponding codec identifier (a TRVAudioCodec value type-casted to TObject).
If DefautCaption is not empty, the procedure uses it to add the first item with the object equal to rvacDefault. Otherwise, rvacDefault is not added.
Internally, this function uses GetAudioCodecName to assign text to items.
After calling this function, you can use AList to choose a value for
See also: