Side Data

class av.sidedata.sidedata.SideData(sentinel, Frame frame, int index)

Bases: Buffer

type
class av.sidedata.sidedata.Type(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Enum class representing different types of frame data in audio/video processing. Values are mapped to corresponding AV_FRAME_DATA constants from FFmpeg.

From: https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/frame.h

Type Name

Flag Value

Meaning in FFmpeg

PANSCAN

0x0

-

A53_CC

0x1

-

STEREO3D

0x2

-

MATRIXENCODING

0x3

-

DOWNMIX_INFO

0x4

-

REPLAYGAIN

0x5

-

DISPLAYMATRIX

0x6

-

AFD

0x7

-

MOTION_VECTORS

0x8

-

SKIP_SAMPLES

0x9

-

AUDIO_SERVICE_TYPE

0xA

-

MASTERING_DISPLAY_METADATA

0xB

-

GOP_TIMECODE

0xC

-

SPHERICAL

0xD

-

CONTENT_LIGHT_LEVEL

0xE

-

ICC_PROFILE

0xF

-

S12M_TIMECODE

0x10

-

DYNAMIC_HDR_PLUS

0x11

-

REGIONS_OF_INTEREST

0x12

-

VIDEO_ENC_PARAMS

0x13

-

SEI_UNREGISTERED

0x14

-

FILM_GRAIN_PARAMS

0x15

-

DETECTION_BBOXES

0x16

-

DOVI_RPU_BUFFER

0x17

-

DOVI_METADATA

0x18

-

DYNAMIC_HDR_VIVID

0x19

-

AMBIENT_VIEWING_ENVIRONMENT

0x1A

-

VIDEO_HINT

0x1B

-

Motion Vectors

class av.sidedata.motionvectors.MotionVectors

Bases: _MotionVectors, Sequence