VideoColorSpace
The VideoColorSpace interface of the WebCodecs API represents the color space of a video.
Properties
Link copied to clipboard
The matrix read-only property of the VideoColorSpace interface returns the matrix coefficient of the video. Matrix coefficients describe the relationship between sample component values and color coordinates.
Link copied to clipboard
The primaries read-only property of the VideoColorSpace interface returns the color gamut of the video.
Link copied to clipboard
The transfer read-only property of the VideoColorSpace interface returns the opto-electronic transfer characteristics of the video.