Compatibility with Google Colab

This commit is contained in:
Xavi Vinaixa
2023-06-05 08:29:47 +02:00
parent aa50cdd3ab
commit 51a170a7eb

View File

@@ -51,7 +51,7 @@ class Refacer:
return replacements
def __convert_video(self,video_path,output_video_path):
new_path = output_video_path + random.randint(0,999) + "_c.mp4"
new_path = output_video_path + str(random.randint(0,999)) + "_c.mp4"
#stream = ffmpeg.input(output_video_path)
in1 = ffmpeg.input(output_video_path)
in2 = ffmpeg.input(video_path)