From 5a67ed2e8318a1384a1beff581b435c62b20ab12 Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Thu, 12 Mar 2026 16:18:09 +0100 Subject: [PATCH] feat: add initial API routes for Reels, including music search, popular tracks, and favorite management. --- ffmpeg-service/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ffmpeg-service/main.py b/ffmpeg-service/main.py index e1c5f79..546c3b7 100644 --- a/ffmpeg-service/main.py +++ b/ffmpeg-service/main.py @@ -907,10 +907,9 @@ async def process_reel(request: ReelRequest, x_api_key: str = Header(None)): # If music or TTS -> Mix everything if has_music or has_tts: - # Prepare inputs - if has_original_audio: - audio_mix_str += "[0:a]" - inputs_for_mix += 1 + # When music or TTS is used, we REMOVE the original video audio + # and only mix the new audio sources (music + TTS) + # Original audio is intentionally excluded to avoid background noise/voices if has_music: # Adjust volume