Carlos s
commited on
Update api/ltx_server.py
Browse files- api/ltx_server.py +2 -1
api/ltx_server.py
CHANGED
|
@@ -523,8 +523,9 @@ class VideoService:
|
|
| 523 |
f'-filter_complex "[0:v][1:v]blend=all_expr=\'A*(1-T/{poda})+B*(T/{poda})\',format=yuv420p" '
|
| 524 |
f'-frames:v {poda} "{video_fade}"'
|
| 525 |
)
|
| 526 |
-
print(f"[DEBUG] transicao adicionada {i}/{i+1} ✅ {self._get_total_frames(video_fade)} frames ")
|
| 527 |
subprocess.run(cmd_blend, shell=True, check=True)
|
|
|
|
|
|
|
| 528 |
nova_lista.append(video_fade)
|
| 529 |
|
| 530 |
# --- FADE_FIM ---
|
|
|
|
| 523 |
f'-filter_complex "[0:v][1:v]blend=all_expr=\'A*(1-T/{poda})+B*(T/{poda})\',format=yuv420p" '
|
| 524 |
f'-frames:v {poda} "{video_fade}"'
|
| 525 |
)
|
|
|
|
| 526 |
subprocess.run(cmd_blend, shell=True, check=True)
|
| 527 |
+
print(f"[DEBUG] transicao adicionada {i}/{i+1} ✅ {self._get_total_frames(video_fade)} frames ")
|
| 528 |
+
|
| 529 |
nova_lista.append(video_fade)
|
| 530 |
|
| 531 |
# --- FADE_FIM ---
|