removed ffmpeg_extract_subclip

pull/963/head
Drugsosos 2 years ago
parent 7ff93a2f0e
commit 15aa7fa45b
No known key found for this signature in database
GPG Key ID: 8E35176FE617E28D

@ -12,7 +12,6 @@ from moviepy.editor import (
CompositeAudioClip, CompositeAudioClip,
CompositeVideoClip, CompositeVideoClip,
) )
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
from rich.console import Console from rich.console import Console
from rich.progress import track from rich.progress import track
from attr import attrs from attr import attrs
@ -265,11 +264,10 @@ class FinalVideo:
verbose=False, verbose=False,
threads=multiprocessing.cpu_count(), threads=multiprocessing.cpu_count(),
) )
ffmpeg_extract_subclip( # Moves file in subreddit folder and renames it
os.rename(
"assets/temp/temp.mp4", "assets/temp/temp.mp4",
0, f"results/{subreddit}/{filename}",
self.video_duration,
targetname=f"results/{subreddit}/{filename}",
) )
save_data(subreddit, filename, title, idx, background_config[2]) save_data(subreddit, filename, title, idx, background_config[2])
print_step("Removing temporary files 🗑") print_step("Removing temporary files 🗑")

Loading…
Cancel
Save