Spaces:
Paused
Paused
Update api/ltx_server.py
Browse files- api/ltx_server.py +1 -1
api/ltx_server.py
CHANGED
|
@@ -1075,7 +1075,7 @@ class VideoService:
|
|
| 1075 |
if (total_partes>1):
|
| 1076 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 1077 |
#partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 1078 |
-
final_vid = video_encode_tool_singleton.concatenate_videos(video_paths=partes_mp4, output_path="concate_fim.mp4", workspace_dir=results_dir)
|
| 1079 |
self._concat_mp4s_no_reencode(partes_mp4, final_vid)
|
| 1080 |
else:
|
| 1081 |
final_vid = partes_mp4[0]
|
|
|
|
| 1075 |
if (total_partes>1):
|
| 1076 |
final_vid = os.path.join(results_dir, f"concat_fim_{used_seed}.mp4")
|
| 1077 |
#partes_mp4_fade = self._gerar_lista_com_transicoes(pasta=results_dir, video_paths=partes_mp4, crossfade_frames=8)
|
| 1078 |
+
final_vid = video_encode_tool_singleton.concatenate_videos(video_paths=partes_mp4, output_path="concate_fim.mp4", workspace_dir=results_dir, 0, 3)
|
| 1079 |
self._concat_mp4s_no_reencode(partes_mp4, final_vid)
|
| 1080 |
else:
|
| 1081 |
final_vid = partes_mp4[0]
|