MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / VideoParameters

Class VideoParameters

tests/test_video_stream.py:80–88  ·  view source on GitHub ↗

Properties for each input a VideoStream is tested against.

Source from the content-addressed store, hash-verified

78
79@dataclass
80class VideoParameters:
81 """Properties for each input a VideoStream is tested against."""
82
83 path: str
84 height: int
85 width: int
86 frame_rate: float
87 total_frames: int
88 aspect_ratio: float
89
90
91# TODO: Save two "golden" frames from each video on a shot boundary, and use that to validate

Callers 1

get_test_video_paramsFunction · 0.85

Calls

no outgoing calls

Tested by 1

get_test_video_paramsFunction · 0.68