Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio ducking #3102

Open
JonnyBurger opened this issue Oct 31, 2023 · 1 comment
Open

Audio ducking #3102

JonnyBurger opened this issue Oct 31, 2023 · 1 comment

Comments

@JonnyBurger
Copy link
Member

JonnyBurger commented Oct 31, 2023

Potential Customer request:

Editly provides automatic audio ducking between background music and voiceover:

https://github.com/mifi/editly/blob/master/examples/audio2.json5

We should look at if it is just as easy for us to implement such a thing since editly is also FFmpeg based.

@JonnyBurger
Copy link
Member Author

Here is a command for audio ducking, by Emil:

ffmpeg tests % ffmpeg -i bg4.mp3 -i voice-ashley.mp3  \
-filter_complex "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.00098:ratio=5:attack=2000:release=2000[bg]; [bg][mix]amerge[final]" -map "[final]" final.mp3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant