spdl.io.VideoCodec¶
- class VideoCodec¶
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¶
The frame rate of the video.
The value is expressed as a fraction.
(numerator, denominator).
- property height¶
The height of the video.
- property name¶
The name of the codec
- property pix_fmt¶
The pixel format of the video.
- property sample_aspect_ratio¶
The aspect ratio of a single pixel.
The value is expressed as a fraction.
(width, height).
- property time_base¶
The internal unit of time used for timestamp.
The value is expressed as a fraction.
(numerator, denominator).
- property width¶
The width of the video.