1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
from fractions import Fraction
from typing import TypedDict
from av.sidedata.motionvectors import MotionVectors
class SideData(TypedDict, total=False):
MOTION_VECTORS: MotionVectors
class Frame:
dts: int | None
pts: int | None
duration: int
time_base: Fraction | None
side_data: SideData
opaque: object
@property
def time(self) -> float | None: ...
@property
def is_corrupt(self) -> bool: ...
@property
def key_frame(self) -> bool: ...
def make_writable(self) -> None: ...
|