VideoFormat Class¶
Namespace: id3.Devices
Definition¶
Defines a specific video format, including its resolution, frame rate, internal representation, and codec
This class is essential for applications that interact with video capturing devices, as it allows for the precise specification and selection of video formats based on the device’s capabilities and the application’s requirements.
Properties¶
Name |
Type |
Description |
|---|---|---|
string |
Identifies the video codec used to compress or decompress the video frames, represented by a FOURCC (Four-Character Code) |
|
float |
Defines the frame rate of the video format in frames per second (fps), indicating how smoothly the video plays back. |
|
int |
Specifies the height of the video frame in pixels, determining the vertical resolution of the video format. |
|
string |
A human-readable description of the video format, typically including resolution and frame rate (e.g., ‘160 x 120 (7.50 fps)’) |
|
int |
Represents the video format using an internal code specific to the device |
|
int |
Specifies the width of the video frame in pixels, determining the horizontal resolution of the video format. |