spdl.io.VideoCodec

class VideoCodec

Codec metadata

Attributes

frame_rate

The frame rate of the video.

height

The height of the video.

name

The name of the codec

pix_fmt

The pixel format of the video.

sample_aspect_ratio

The aspect ratio of a single pixel.

time_base

The internal unit of time used for timestamp.

width

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.