Spaces:
Running
Running
Tu Nombre commited on
Commit ·
1576000
1
Parent(s): c0882ca
fondos rotativos sincronizados
Browse files- cliente_template.py +1 -1
cliente_template.py
CHANGED
|
@@ -63,7 +63,7 @@ async def pipeline():
|
|
| 63 |
with open("fondo.mp4","wb") as f: f.write(requests.get(url).content)
|
| 64 |
log("Fondo listo")
|
| 65 |
STATUS = "Renderizando video..."
|
| 66 |
-
from moviepy.editor import AudioFileClip as AC, VideoFileClip as VC
|
| 67 |
voz = AC("voz.mp3")
|
| 68 |
if TIPO_VIDEO == "short":
|
| 69 |
clip = VC("fondo.mp4").resize(height=1920).loop(duration=voz.duration)
|
|
|
|
| 63 |
with open("fondo.mp4","wb") as f: f.write(requests.get(url).content)
|
| 64 |
log("Fondo listo")
|
| 65 |
STATUS = "Renderizando video..."
|
| 66 |
+
from moviepy.editor import AudioFileClip as AC, VideoFileClip as VC, concatenate_videoclips
|
| 67 |
voz = AC("voz.mp3")
|
| 68 |
if TIPO_VIDEO == "short":
|
| 69 |
clip = VC("fondo.mp4").resize(height=1920).loop(duration=voz.duration)
|