GetListOfAvailableFFmpegFileFormats Procedure

<< Click to display table of contents >>

GetListOfAvailableFFmpegFileFormats Procedure

Fills AList with video file formats available for encoding.

Unit [VCL and LCL] MRVFFMpegLists;

Unit [FMX] fmxMRVFFMpegLists;

procedure GetListOfAvailableFFmpegFileFormats(AList : TStrings);

This function works only if FFmpeg is available. Otherwise, it simply clears AList.

The function checks availability of encoders of the following file formats:

MP4

AVI

MPEG

3GP

ASF (if MRVCODEC_MSMPEG4v3 is $defined)

FLV

MKV

MOV

RM

MJPEG

Available formats are added to AList.

 

After calling this function, you can use AList to choose a file extension for OutputFileName property of TRVCamRecorder component.