Carlos s
commited on
Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -3
api/ltx_server.py
CHANGED
|
@@ -537,10 +537,8 @@ class VideoService:
|
|
| 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 |
-
|
| 543 |
-
f.write(f"file '{os.path.abspath(mp4)}'\n")
|
| 544 |
list_path = f.name
|
| 545 |
|
| 546 |
cmd = f"ffmpeg -y -f concat -safe 0 -i {list_path} -c copy {out_path}"
|
|
|
|
| 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 |
|
| 544 |
cmd = f"ffmpeg -y -f concat -safe 0 -i {list_path} -c copy {out_path}"
|