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
This commit is contained in:
@@ -337,7 +337,7 @@ def generate_video(
|
|||||||
try:
|
try:
|
||||||
bgm_clip = AudioFileClip(bgm_file).with_effects(
|
bgm_clip = AudioFileClip(bgm_file).with_effects(
|
||||||
[
|
[
|
||||||
afx.MultiplyVolume(params.voice_volume),
|
afx.MultiplyVolume(params.bgm_volume),
|
||||||
afx.AudioFadeOut(3),
|
afx.AudioFadeOut(3),
|
||||||
afx.AudioLoop(duration=video_clip.duration),
|
afx.AudioLoop(duration=video_clip.duration),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user