Spaces:
Paused
Paused
Update tools/video_encode_tool.py
Browse files
tools/video_encode_tool.py
CHANGED
|
@@ -68,7 +68,7 @@ class VideoEncodeTool:
|
|
| 68 |
writer.append_data(frame)
|
| 69 |
if progress_callback:
|
| 70 |
progress_callback(i + 1, T)
|
| 71 |
-
|
| 72 |
print(f"[DEBUG] [Encoder] frame {i}/{T} gravado ({H}x{W}@{fps}fps)")
|
| 73 |
|
| 74 |
|
|
|
|
| 68 |
writer.append_data(frame)
|
| 69 |
if progress_callback:
|
| 70 |
progress_callback(i + 1, T)
|
| 71 |
+
if i % self.frame_log_every == 0:
|
| 72 |
print(f"[DEBUG] [Encoder] frame {i}/{T} gravado ({H}x{W}@{fps}fps)")
|
| 73 |
|
| 74 |
|