<< Click to display table of contents >> TRVCamRecorder.AudioCodec, VideoCodec |
The properties specify codec types for encoding audio and video.
property AudioCodec: TRVAudioCodec;
property VideoCodec: TRVVideoCodec;
These properties are used if AudioCodecName/VideoCodecName are empty.
You can use GetListOfAvailableFFmpegAudioCodecs and GetListOfAvailableFFmpegVideoCodecs to find possible values of these properties.
For successful file encoding, codecs must be available and compatible with the file format (determined by OutputFileName file extension).
When codecs are default, the recorder tries to choose default codecs for the file format.
GetVideoFileExts may help to choose a proper video codec for the given file extension.
Warning: Some video and audio formats may be patent-protected in some countries, and supporting these formats will require from you obtaining licenses from the patent owners.
Default values:
rvacDefault, rvvcDefault