spdl.io.ImageFrames¶
- class ImageFrames¶
Image frames.
See Packets and Frames for information about the Frames base concept.
Attributes
Clone the frames, so that data can be converted to buffer multiple times.
The height of image.
Metadata attached to the frame.
The number of planes in the each frame.
The name of the pixel format.
The presentation time stamp of the image in the source video.
The width of image.
- clone¶
Clone the frames, so that data can be converted to buffer multiple times.
- Returns:
A clone of the frame.
- property height¶
The height of image.
- property metadata¶
Metadata attached to the frame.
- property num_planes¶
The number of planes in the each frame.
See
VideoFramesfor a caveat.
- property pix_fmt¶
The name of the pixel format.
- property pts¶
The presentation time stamp of the image in the source video.
This property is valid only when the
ImageFramesis created from slicingVideoFramesobject.
- property width¶
The width of image.