Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def combine_audio_video(video_path, audio_path, output_path):
|
|
131 |
'ffmpeg', '-stream_loop', str(loop_count), '-i', video_path, '-i', audio_path,
|
132 |
'-t', str(audio_duration), # Match the duration of the final video with the audio
|
133 |
'-map', '0:v', '-map', '1:a',
|
134 |
-
'-c:v', '
|
135 |
'-shortest', '-y', output_path
|
136 |
]
|
137 |
|
|
|
131 |
'ffmpeg', '-stream_loop', str(loop_count), '-i', video_path, '-i', audio_path,
|
132 |
'-t', str(audio_duration), # Match the duration of the final video with the audio
|
133 |
'-map', '0:v', '-map', '1:a',
|
134 |
+
'-c:v', '-c:a', 'aac',
|
135 |
'-shortest', '-y', output_path
|
136 |
]
|
137 |
|