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
Property | Modifier | Type | Description |
---|---|---|---|
adapters | readonly | AdapterInfo [] | A list of GPU adapters available on the system. See AdapterInfo |
defaultEncoder | readonly | kSupportedEncodersTypes | The identifier of the default video encoder selected by the system. See kSupportedEncodersTypes |
encoders | readonly | VideoEncoderInfo [] | A list of supported video encoders that can be used for recording or streaming. See VideoEncoderInfo |