1 parent 72199fc commit 04c19a5Copy full SHA for 04c19a5
1 file changed
extract_caption.py
@@ -491,9 +491,11 @@ def main() -> None:
491
print(f" {Path(v['path']).name} -> {Path(v['caption']).name}")
492
return
493
494
- print(f"Found {len(pending)} video(s) to caption.\n")
+ total = len(pending)
495
+ print(f"Found {total} video(s) to caption.\n")
496
ok = 0
- for key, vpath in pending:
497
+ for i, (key, vpath) in enumerate(pending, 1):
498
+ print(f"[{i}/{total}] {Path(vpath).name}")
499
if process_video(Path(vpath), manifest, key):
500
ok += 1
501
save_manifest(manifest)
0 commit comments