MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / image_save_thread

Method image_save_thread

scenedetect/output/image.py:324–332  ·  view source on GitHub ↗
(self, save_queue: queue.Queue, progress_bar: tqdm)

Source from the content-addressed store, hash-verified

322 save_queue.put((encoded, dest_path))
323
324 def image_save_thread(self, save_queue: queue.Queue, progress_bar: tqdm):
325 while True:
326 encoded, dest_path = save_queue.get()
327 if encoded is None:
328 return
329 if encoded is not False:
330 encoded.tofile(Path(dest_path))
331 if progress_bar is not None:
332 progress_bar.update(1)
333
334 def generate_timecode_list(self, scene_list: SceneList) -> list[list[FrameTimecode]]:
335 """Generates a list of timecodes for each scene in `scene_list` based on the current config

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected