[ type ] VideoStream

Description:

Describes a video stream in the media.

Type: Object

Properties:

Name Type Description

sampleWidth

number

Original width of the video frame in pixels.

sampleHeight

number

Original height of the video frame in pixels.

width

number

Display width of the video.

height

number

Display height of the video.

pixelAspectRatio

string

Pixel aspect ratio (e.g., "1:1").

displayAspectRatio

string

Display aspect ratio (e.g., "16:9").

frameRate

number

Frame rate of the video stream.

codec

string

Codec used to encode the video stream (e.g., "h264").

pixelFormat

string

Pixel format of the video stream (e.g., "yuv420p").

progressive

boolean

Whether the video stream is progressive or interlaced.

default

boolean

Indicates if this is the default video stream.

Also See: