spdl.io.ImagePackets

class ImagePackets

Packets object contain an image frame.

See Packets and Frames for information about the Packets base concept.

Attributes

clone

Clone the packets, so that data can be decoded multiple times.

codec

The codec.

height

The height of image.

pix_fmt

The name of the pixel format, such as "yuv420p".

width

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.