Update api/ltx_server.py
Browse files- api/ltx_server.py +2 -2
api/ltx_server.py
CHANGED
|
@@ -784,8 +784,8 @@ class VideoService:
|
|
| 784 |
print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
|
| 785 |
|
| 786 |
final_concat = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 787 |
-
|
| 788 |
-
self._concat_mp4s_no_reencode(
|
| 789 |
|
| 790 |
|
| 791 |
|
|
|
|
| 784 |
print(f"[DEBUG] Falha no move; usando tmp como final: {e}")
|
| 785 |
|
| 786 |
final_concat = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 787 |
+
partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 788 |
+
self._concat_mp4s_no_reencode(partes_mp4_fade, final_concat)
|
| 789 |
|
| 790 |
|
| 791 |
|