spdl.io.ImagePackets¶
- class ImagePackets¶
Packets object contain an image frame.
See Packets and Frames for information about the Packets base concept.
Attributes
Clone the packets, so that data can be decoded multiple times.
The codec.
The height of image.
The name of the pixel format, such as
"yuv420p".The width of image.
- clone¶
Clone the packets, so that data can be decoded multiple times.
- Returns:
A clone of the packets.
- property codec¶
The codec.
- property height¶
The height of image.
- property pix_fmt¶
The name of the pixel format, such as
"yuv420p".
- property width¶
The width of image.