Minor fixes

This commit is contained in:
Brett Williams
2023-10-25 06:29:30 -05:00
parent cc1cf92118
commit 760d239d0c
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ def image_sequence_to_video(source_glob_pattern, output_path, framerate=24, enco
start_frame=1):
subprocess.run([FFMPEG.default_renderer_path(), "-framerate", str(framerate), "-start_number", str(start_frame), "-i",
f"{source_glob_pattern}", "-c:v", encoder, "-profile:v", str(profile), '-pix_fmt', 'yuva444p10le',
output_path], check=True)
output_path], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True)
def save_first_frame(source_path, dest_path, max_width=1280):