I understand that the function GetListOfAvailableFFmpegVideoCodecs() fills AList with the available codecs. However AList is a TStrings type. How can one of the values in the list be assigned to TRVCamRecorder.VideoCodec? Can you provide an example?
Oliver
Assigning video codec
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Assigning video codec
TRVVideoCodec values are assigned to Strings.Objects, type-casted to TObject.
See the demo in Demos\Recoding\VideoRecorder:
See the demo in Demos\Recoding\VideoRecorder:
Code: Select all
RVCamRecorder1.VideoCodec :=
TRVVideoCodec(cmbVideoCodec.Items.Objects[cmbVideoCodec.ItemIndex]);