Files @ b42cb1ea1d20
Branch filter:

Location: light9/stubs/moviepy/video/io/ffmpeg_reader.pyi - annotation

drewp@bigasterisk.com
rm - we don't do a kernel module anymore; just usb api
# Stubs for moviepy.video.io.ffmpeg_reader (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any, Optional

class FFMPEG_VideoReader:
    filename: Any = ...
    proc: Any = ...
    fps: Any = ...
    size: Any = ...
    rotation: Any = ...
    resize_algo: Any = ...
    duration: Any = ...
    ffmpeg_duration: Any = ...
    nframes: Any = ...
    infos: Any = ...
    pix_fmt: Any = ...
    depth: int = ...
    bufsize: Any = ...
    pos: int = ...
    lastread: Any = ...
    def __init__(self, filename: Any, print_infos: bool = ..., bufsize: Optional[Any] = ..., pix_fmt: str = ..., check_duration: bool = ..., target_resolution: Optional[Any] = ..., resize_algo: str = ..., fps_source: str = ...) -> None: ...
    def initialize(self, starttime: int = ...) -> None: ...
    def skip_frames(self, n: int = ...) -> None: ...
    def read_frame(self): ...
    def get_frame(self, t: Any): ...
    def close(self) -> None: ...

def ffmpeg_read_image(filename: Any, with_mask: bool = ...): ...
def ffmpeg_parse_infos(filename: Any, print_infos: bool = ..., check_duration: bool = ..., fps_source: str = ...): ...