mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 09:16:19 +00:00
Formatting and stuff
This commit is contained in:
@@ -39,7 +39,7 @@ class VideoBackgroundEngine(BaseBackgroundEngine):
|
||||
)
|
||||
]
|
||||
|
||||
def get_background(self) -> mp.VideoClip:
|
||||
def get_background(self):
|
||||
background = mp.VideoFileClip(f"{self.background_video}", audio=False)
|
||||
background_max_start = background.duration - self.ctx.duration
|
||||
if background_max_start < 0:
|
||||
|
||||
Reference in New Issue
Block a user