<< Click to display table of contents >> GetListOfVideoInputFormats Function |
Fills ShortNames and LongNames with available input formats.
Unit [VCL and LCL] MRVFFMpegLists;
Unit [FMX] fmxMRVFFMpegLists;
function GetListOfVideoInputFormats(ShortNames,
LongNames: TStrings): Boolean;
ShortNames or LongNames can be nil. Only non-nil lists are filled.
LongNames are for descriptions.
ShortNames contain comma-delimited values (but usually a single value) that can be assigned to TRVCamera.FFmpegProperty.VideoInputFormat.
Note: due to known errors, input formats are disabled for FFmpeg 6.x (avdevice-60.dll), but enabled for older and newer versions.
Input formats identify various platform-specific video sources (such as video grabbing devices). Filename/URL for these devices often does not refer to an actually existing file or a network resource, but has some specific meaning.
Some values that can be returned:
•dshow: DirectShow capture
•gdigrab: GDI API Windows frame grabber
Additional information: https://ffmpeg.org/ffmpeg-devices.html