Update app.py
Browse files
app.py
CHANGED
|
@@ -676,11 +676,8 @@ def merge_videos_with_audio(video_files, audio_file, audio_volume, output_fps):
|
|
| 676 |
adjusted_clips = []
|
| 677 |
for clip, size in zip(video_clips, clip_sizes):
|
| 678 |
if size != (target_width, target_height):
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
vfx.resize, # 효과 함수
|
| 682 |
-
newsize=(target_width, target_height) # 목표 크기
|
| 683 |
-
)
|
| 684 |
adjusted_clips.append(adjusted_clip)
|
| 685 |
else:
|
| 686 |
adjusted_clips.append(clip)
|
|
|
|
| 676 |
adjusted_clips = []
|
| 677 |
for clip, size in zip(video_clips, clip_sizes):
|
| 678 |
if size != (target_width, target_height):
|
| 679 |
+
adjusted_clip = vfx.resize(clip, newsize=(target_width, target_height))
|
| 680 |
+
|
|
|
|
|
|
|
|
|
|
| 681 |
adjusted_clips.append(adjusted_clip)
|
| 682 |
else:
|
| 683 |
adjusted_clips.append(clip)
|