Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -1
api/ltx_server.py
CHANGED
|
@@ -1001,7 +1001,7 @@ class VideoService:
|
|
| 1001 |
total_partes = len(partes_mp4)
|
| 1002 |
if (total_partes>1):
|
| 1003 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 1004 |
-
partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=
|
| 1005 |
self._concat_mp4s_no_reencode(partes_mp4_fade, final_vid)
|
| 1006 |
else:
|
| 1007 |
final_vid = partes_mp4[0]
|
|
|
|
| 1001 |
total_partes = len(partes_mp4)
|
| 1002 |
if (total_partes>1):
|
| 1003 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 1004 |
+
partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 1005 |
self._concat_mp4s_no_reencode(partes_mp4_fade, final_vid)
|
| 1006 |
else:
|
| 1007 |
final_vid = partes_mp4[0]
|