<< Click to display table of contents >> GetAudioCodecFileExt, GetVideoCodecFileExts Functions |
The functions return file extension for codecs.
Unit [VCL and LCL] MRVFormatInfo;
Unit [FMX] fmxMRVFormatInfo;
function GetAudioCodecFileExt(Codec: TRVAudioCodec): String;
function GetVideoCodecFileExts(Codec: TRVVideoCodec): String;
Extensions are hard-coded and are not localizable. You can see them in "Recommended file extension" column of the tables in the topics about the codec types.
GetAudioCodecFileExt returns a single extension for each codec. It may help to assign extension to TRVAudioPlayer.OutputFileName.
GetVideoCodecFileExts may return several extensions separated by space character. It may help to find possible values of TRVCamRecorder.VideoCodec corresponding to the extension of TRVCamRecorder.OutputFileName.