spdl.io.VideoCodec¶
- class VideoCodec[source]¶
Codec metadata
Attributes
The frame rate of the video.
The height of the video.
The name of the codec
The pixel format of the video.
The aspect ratio of a single pixel.
The internal unit of time used for timestamp.
The width of the video.
- property frame_rate: tuple[int, int][source]¶
The frame rate of the video.
The value is expressed as a fraction.
(numerator, denominator)
.
- property sample_aspect_ratio: tuple[int, int][source]¶
The aspect ratio of a single pixel.
The value is expressed as a fraction.
(width, height)
.