mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-21 05:58:12 +02:00
fix ffmpeg
This commit is contained in:
1 parent
95b1cf2187
commit
81baafd295
1 file changed
+6
@@ -203,6 +203,12 @@ async def process_reel(request: ReelRequest, x_api_key: str = Header(None)):
|
|||||||
filter_complex_parts = []
|
filter_complex_parts = []
|
||||||
mix_inputs = 0
|
mix_inputs = 0
|
||||||
|
|
||||||
|
if has_music:
|
||||||
|
cmd.extend(["-i", str(input_audio_path)])
|
||||||
|
|
||||||
|
if has_tts:
|
||||||
|
cmd.extend(["-i", str(tts_audio_path)])
|
||||||
|
|
||||||
# Prepare inputs for mixing
|
# Prepare inputs for mixing
|
||||||
if has_original_audio:
|
if has_original_audio:
|
||||||
# Original audio usually needs to be lowered if there is music/voice
|
# Original audio usually needs to be lowered if there is music/voice
|
||||||
|
|||||||
Reference in new issue
Block a user