ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

How to add background sound in an existing sound and output length will be the smallest?

Open debdip opened this issue 2 years ago • 1 comments

for direct ffmpeg command I found is something like this. ffmpeg -i background.mp3 -i main.mp3 -filter_complex "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.015:ratio=2:level_sc=0.8:release=500:attack=1[compr];[compr][mix]amix" final.mp3

Is it possible to do it using ffmpeg-python?

debdip avatar Apr 23 '23 06:04 debdip

I have the same question!

ruohoruotsi avatar Nov 01 '23 08:11 ruohoruotsi