You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
p=videoed_parser.add_parser( "batch-extract-video", help="Extract images from folder of video files.")
209
+
p.add_argument('--input-dir', required=True, action=fixPathAction, dest="input_dir", help="Input directory of files to be processed.")
210
+
p.add_argument('--output-dir', required=True, action=fixPathAction, dest="output_dir", help="Output directory. This is where the extracted images will be stored.")
211
+
p.add_argument('--output-ext', dest="output_ext", default=None, help="Image format (extension) of output files.")
212
+
p.add_argument('--fps', type=int, dest="fps", default=None, help="How many frames of every second of the video will be extracted. 0 - full fps.")
io.log_info('\n'.join(f'file found ...... {file.name}'forfileinfile_paths))
69
+
io.log_info(f'{len(file_paths)} files')
70
+
71
+
file_check=io.input_str ("Are these the intended files?", "y", ["y", "n"])
72
+
ifnotfile_check=='y': return
73
+
74
+
iffpsisNone:
75
+
fps=io.input_int ("Enter FPS", 0, help_message="How many frames of every second of the video will be extracted. 0 - full fps")
76
+
77
+
ifoutput_extisNone:
78
+
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.")
0 commit comments