Skip to main content

VideoInformation

Electron APIs / recorder / VideoInformation

Information about the complete video configuration available in the system, including supported video encoders and GPU adapters.

Useful for configuring video recording or streaming pipelines, and for providing user-selectable encoder and adapter options.

Example

const videoInfo: VideoInformation = {
encoders: [...],
adapters: [...],
defaultEncoder: 'obs_nvenc_h264_tex'
};

Properties

PropertyModifierTypeDescription
adaptersreadonlyAdapterInfo[]A list of GPU adapters available on the system. See AdapterInfo
defaultEncoderreadonlykSupportedEncodersTypesThe identifier of the default video encoder selected by the system. See kSupportedEncodersTypes
encodersreadonlyVideoEncoderInfo[]A list of supported video encoders that can be used for recording or streaming. See VideoEncoderInfo