VideoEncoderCapability
class VideoEncoderCapability(val codec: VideoCodec, val encoderName: String?, val maxSize: Size, val maxFrameRate: Int?, val maxBitrate: Bitrate?, val isHardwareAccelerated: Boolean?, val sizeAlignment: Int)(source)
One video encoder the device offers.
Properties
Link copied to clipboard
The codec this encoder writes.
Link copied to clipboard
What the backend calls this encoder, or null when the backend does not name one: media3, AVFoundation and the browser hand a codec to the platform and let it choose, so there is no name filmstrip could report that it also invokes.
Link copied to clipboard
False for a software encoder, true for a hardware one, or null when the platform will not say which it is.
Link copied to clipboard
The highest bitrate it accepts, or null when it does not say.
Link copied to clipboard
The highest frame rate it accepts, or null when it does not say.
Link copied to clipboard
The alignment each dimension must have, typically 2 and sometimes 16. Filmstrip rounds a frame to this and reports the rounding among the export's adjustments.