String command =

    '-y -i "$inputVideoPath" -i "$bgMusicPath" '
    '-filter_complex 
"[0:a]volume=1.5[a0];[1:a]volume=0.1[a1];[a0][a1]amix=inputs=2:duration=first[aout]"
 '
    '-map 0:v -map "[aout]" -c:v copy -c:a aac -b:a 256k -shortest 
"$outputPath”';


I want the background music to be clear but not overpowering, and the user’s 
voice to remain clean and prominentin the final output.

Can you please guide me on how to improve this? Any suggestions would be 
greatly appreciated.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to