Update app.py
Browse files
app.py
CHANGED
@@ -188,7 +188,7 @@ def create_video(image_path, audio_path, output_path):
|
|
188 |
"-i", image_path,
|
189 |
"-i", audio_path,
|
190 |
"-filter_complex",
|
191 |
-
"[1:a]aformat=channel_layouts=mono,showwaves=s=1200x400:mode=p2p:colors=blue@0.8
|
192 |
"-c:v", "libx264",
|
193 |
"-b:v", "2000k",
|
194 |
"-c:a", "aac",
|
|
|
188 |
"-i", image_path,
|
189 |
"-i", audio_path,
|
190 |
"-filter_complex",
|
191 |
+
"[1:a]aformat=channel_layouts=mono,showwaves=s=1200x400:mode=p2p:colors=blue@0.8[w];[0:v][w]overlay=(W-w)/2:(H-h)/2",
|
192 |
"-c:v", "libx264",
|
193 |
"-b:v", "2000k",
|
194 |
"-c:a", "aac",
|