sheikhed commited on
Commit
ec03d49
·
verified ·
1 Parent(s): a6e8ad7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', 'copy', '-c:a', 'aac',
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