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.

deserialize

deserialize_view

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.

deserialize = <nanobind.nb_func object>
deserialize_view = <nanobind.nb_func object>
property height

The height of image.

property pix_fmt

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

property width

The width of image.