Files @ 5154f5a23e85
Branch filter:

Location: light9/stubs/moviepy/video/tools/cuts.pyi

drewp@bigasterisk.com
reworking initial setup; get bin/asco running
# Stubs for moviepy.video.tools.cuts (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any, Optional

def find_video_period(clip: Any, fps: Optional[Any] = ..., tmin: float = ...): ...

class FramesMatch:
    t1: Any = ...
    t2: Any = ...
    d_min: Any = ...
    d_max: Any = ...
    time_span: Any = ...
    def __init__(self, t1: Any, t2: Any, d_min: Any, d_max: Any) -> None: ...
    def __iter__(self): ...

class FramesMatches(list):
    def __init__(self, lst: Any) -> None: ...
    def best(self, n: int = ..., percent: Optional[Any] = ...): ...
    def filter(self, cond: Any): ...
    def save(self, filename: Any) -> None: ...
    @staticmethod
    def load(filename: Any): ...
    @staticmethod
    def from_clip(clip: Any, dist_thr: Any, max_d: Any, fps: Optional[Any] = ...): ...
    def select_scenes(self, match_thr: Any, min_time_span: Any, nomatch_thr: Optional[Any] = ..., time_distance: int = ...): ...
    def write_gifs(self, clip: Any, gif_dir: Any) -> None: ...

def detect_scenes(clip: Optional[Any] = ..., luminosities: Optional[Any] = ..., thr: int = ..., logger: str = ..., fps: Optional[Any] = ...): ...