Skip to content

Commit

Permalink
Update videoprocessor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
supergamer66000 committed Aug 16, 2024
1 parent 78f79fb commit fb5221c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/videoprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def split_video_directory(self, video_dir, filename=None, output_dir=None, cores

# Use multiprocessing to process each video in parallel
with Pool(processes=cores) as pool:
list(tqdm(pool.imap(self.process_video, video_files_info), total=video_count, bar_format='{desc:<5.5}{percentage:3.0f}%|{bar:10}{r_bar}'))
pool.map(self.process_video, video_files_info)

print("done!")

Expand Down

0 comments on commit fb5221c

Please sign in to comment.