From 1c73e8d7fa503c49bc7b082d3a09e80c6a5986c5 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sun, 26 Mar 2023 12:04:16 +0100 Subject: [PATCH] Fix CCExtractor failing in edge cases by repacking first --- devine/core/tracks/video.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devine/core/tracks/video.py b/devine/core/tracks/video.py index 6654306..22dc18d 100644 --- a/devine/core/tracks/video.py +++ b/devine/core/tracks/video.py @@ -205,6 +205,9 @@ class Video(Track): if not executable: raise EnvironmentError("ccextractor executable was not found.") + # ccextractor often fails in weird ways unless we repack + self.repackage() + out_path = Path(out_path) try: