From f13654e6d8b91410f655e4dc02ca56f958f36f46 Mon Sep 17 00:00:00 2001 From: mightbesimon <60593422+mightbesimon@users.noreply.github.com> Date: Sun, 25 Jun 2023 02:19:09 +1200 Subject: [PATCH] change video extract default output extension from `png` to `jpg` --- mainscripts/VideoEd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainscripts/VideoEd.py b/mainscripts/VideoEd.py index f9fcedd..7155c68 100644 --- a/mainscripts/VideoEd.py +++ b/mainscripts/VideoEd.py @@ -27,7 +27,7 @@ def extract_video(input_file, output_dir, output_ext=None, fps=None): fps = io.input_int ("Enter FPS", 0, help_message="How many frames of every second of the video will be extracted. 0 - full fps") if output_ext is None: - output_ext = io.input_str ("Output image format", "png", ["png","jpg"], help_message="png is lossless, but extraction is x10 slower for HDD, requires x10 more disk space than jpg.") + output_ext = io.input_str ("Output image format", "jpg", ["png","jpg"], help_message="png is lossless, but extraction is x10 slower for HDD, requires x10 more disk space than jpg.") for filename in pathex.get_image_paths (output_path, ['.'+output_ext]): Path(filename).unlink()