Assigning video codec

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
Posts: 30
Joined: Mon Aug 28, 2017 4:42 am

Assigning video codec

Post by oliver »

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?


Sergey Tkachenko
Site Admin
Posts: 15242
Joined: Sat Aug 27, 2005 10:28 am

Re: Assigning video codec

Post by Sergey Tkachenko »

TRVVideoCodec values are assigned to Strings.Objects, type-casted to TObject.

See the demo in Demos\Recoding\VideoRecorder:

Code: Select all

    RVCamRecorder1.VideoCodec :=

Post Reply