Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit f13654e

Browse files
committed
change video extract default output extension from png to jpg
1 parent 46fc239 commit f13654e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mainscripts/VideoEd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def extract_video(input_file, output_dir, output_ext=None, fps=None):
2727
fps = io.input_int ("Enter FPS", 0, help_message="How many frames of every second of the video will be extracted. 0 - full fps")
2828

2929
if output_ext is None:
30-
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.")
30+
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.")
3131

3232
for filename in pathex.get_image_paths (output_path, ['.'+output_ext]):
3333
Path(filename).unlink()

0 commit comments

Comments
 (0)