Update page_modules/new_video_processing.py
Browse files
page_modules/new_video_processing.py
CHANGED
|
@@ -928,6 +928,18 @@ def render_process_video_page(api, backend_base_url: str) -> None:
|
|
| 928 |
files = []
|
| 929 |
for i in idxs:
|
| 930 |
clip_local = (segs[i] or {}).get("clip_path")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 931 |
fname = os.path.basename(clip_local) if clip_local else None
|
| 932 |
if fname:
|
| 933 |
files.append(fname)
|
|
|
|
| 928 |
files = []
|
| 929 |
for i in idxs:
|
| 930 |
clip_local = (segs[i] or {}).get("clip_path")
|
| 931 |
+
|
| 932 |
+
print("---------------------------------------")
|
| 933 |
+
# --- DEBUG: imprimir ruta temporal y existencia ---
|
| 934 |
+
print(f"Clip {i}: {clip_local}")
|
| 935 |
+
if clip_local:
|
| 936 |
+
import os
|
| 937 |
+
print(f"Existe?: {os.path.exists(clip_local)}")
|
| 938 |
+
if os.path.exists(clip_local):
|
| 939 |
+
print(f"Tamaño: {os.path.getsize(clip_local)} bytes")
|
| 940 |
+
# --- FIN DEBUG ---
|
| 941 |
+
print("---------------------------------------")
|
| 942 |
+
|
| 943 |
fname = os.path.basename(clip_local) if clip_local else None
|
| 944 |
if fname:
|
| 945 |
files.append(fname)
|