Spaces:
Sleeping
Sleeping
Update src/video_utils.py
Browse files- src/video_utils.py +1 -0
src/video_utils.py
CHANGED
|
@@ -85,6 +85,7 @@ def write_srt(text, duration, base_name=None):
|
|
| 85 |
print(f"[SRT] ✅ Fichier SRT généré : {path}")
|
| 86 |
return path
|
| 87 |
|
|
|
|
| 88 |
def write_video_with_fallback(final_clip, out_path_base, fps=25):
|
| 89 |
attempts = [
|
| 90 |
{"ext": ".mp4", "codec": "libx264", "audio_codec": "aac"},
|
|
|
|
| 85 |
print(f"[SRT] ✅ Fichier SRT généré : {path}")
|
| 86 |
return path
|
| 87 |
|
| 88 |
+
|
| 89 |
def write_video_with_fallback(final_clip, out_path_base, fps=25):
|
| 90 |
attempts = [
|
| 91 |
{"ext": ".mp4", "codec": "libx264", "audio_codec": "aac"},
|