spdl.io.ImageFrames¶
- class ImageFrames[source]¶
Image frames.
Methods
clone
()Clone the frames, so that data can be converted to buffer multiple times.
Attributes
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() ImageFrames [source]¶
Clone the frames, so that data can be converted to buffer multiple times.
- Returns:
A clone of the frame.
- property num_planes: int[source]¶
The number of planes in the each frame.
See
VideoFrames
for a caveat.
- property pts: float[source]¶
The presentation time stamp of the image in the source video.
This property is valid only when the
ImageFrames
is created from slicingVideoFrames
object.