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

Class FrameRateUnavailable

scenedetect/video_stream.py:63–71  ·  view source on GitHub ↗

Exception instance to provide consistent error messaging across backends when the video frame rate is unavailable or cannot be calculated. Subclass of VideoOpenFailure.

Source from the content-addressed store, hash-verified

61
62
63class FrameRateUnavailable(VideoOpenFailure):
64 """Exception instance to provide consistent error messaging across backends when the video frame
65 rate is unavailable or cannot be calculated. Subclass of VideoOpenFailure."""
66
67 def __init__(self):
68 super().__init__(
69 "Unable to obtain video framerate! Specify `framerate` manually, or"
70 " re-encode/re-mux the video and try again."
71 )
72
73
74##

Callers 3

__init__Method · 0.90
_open_captureMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected