mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +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 = []
|
||||
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
|
||||
if has_original_audio:
|
||||
# Original audio usually needs to be lowered if there is music/voice
|
||||
|
||||
Reference in new issue
Block a user