From 6500cafa4fa9581c19b466838b1eae2713df5604 Mon Sep 17 00:00:00 2001 From: VIPIN BIHARI Date: Wed, 29 Jan 2025 21:08:17 +0530 Subject: [PATCH] Update video.py - Fixing BackGround Music Volume Multiplier These was a typo in MuiliplyVolume function parameter. The name of the parameter should be bgm_voice --- app/services/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/video.py b/app/services/video.py index f21dad2..5de1d0d 100644 --- a/app/services/video.py +++ b/app/services/video.py @@ -337,7 +337,7 @@ def generate_video( try: bgm_clip = AudioFileClip(bgm_file).with_effects( [ - afx.MultiplyVolume(params.voice_volume), + afx.MultiplyVolume(params.bgm_volume), afx.AudioFadeOut(3), afx.AudioLoop(duration=video_clip.duration), ]