Update api/ltx_server.py
Browse files- api/ltx_server.py +3 -0
api/ltx_server.py
CHANGED
|
@@ -537,7 +537,10 @@ class VideoService:
|
|
| 537 |
|
| 538 |
# Cria lista temporária para o ffmpeg
|
| 539 |
with tempfile.NamedTemporaryFile("w", delete=False, suffix=".txt") as f:
|
|
|
|
| 540 |
for mp4 in mp4_list:
|
|
|
|
|
|
|
| 541 |
f.write(f"file '{os.path.abspath(mp4)}'\n")
|
| 542 |
list_path = f.name
|
| 543 |
|
|
|
|
| 537 |
|
| 538 |
# Cria lista temporária para o ffmpeg
|
| 539 |
with tempfile.NamedTemporaryFile("w", delete=False, suffix=".txt") as f:
|
| 540 |
+
ind =0
|
| 541 |
for mp4 in mp4_list:
|
| 542 |
+
ind++
|
| 543 |
+
print(f"frames {mp4} {self._get_total_frames}")
|
| 544 |
f.write(f"file '{os.path.abspath(mp4)}'\n")
|
| 545 |
list_path = f.name
|
| 546 |
|