as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

VideoFormatCapabilities

Interface to get video format capabilities of a video codec.

Properties

colorFormats

readonly colorFormats: string[]

The supported color formats.

The supported color formats(for decoders output or encoders input) for codec or runtime gets the color format of buffers. An array size of one and more than one is supported.


resolutions

readonly resolutions: Resolution[]

The supported resolutions.

The supported resolution range for codec or runtime get the resolution associated with buffers. The array size is always two, where the min resolution is at 0 index and max resolution at 1 index.

Methods

getMaxFrameRate()

getMaxFrameRate(resolution): number

Gets the maximum FrameRate for particular width and height.

Platform internally uses some existing measurement points in idle condition to extrapolate framerate for particular width/heigh which should be treated as hint and may not be feasible in all the system conditions.

Parameters

resolution

Resolution

Returns

number

maximum supported framerate per second


Last updated: Sep 30, 2025