I have command to mix two mp3
ffmpeg -i 1.mp3 -i 2.mp3 -filter_complex amix=inputs=2 -c:a libfdk_aac output.mp4
How to change volume of every audios in result output?
Join Stack Overflow to learn, share knowledge, and build your career.
I have command to mix two mp3
ffmpeg -i 1.mp3 -i 2.mp3 -filter_complex amix=inputs=2 -c:a libfdk_aac output.mp4
How to change volume of every audios in result output?
You can add the volume filter:
ffmpeg -i 1.mp3 -i 2.mp3 -filter_complex \
"[0:a]volume=0.5[a0]; \
[1:a]volume=6dB[a1]; \
[a0][a1]amix[a]"
-map "[a]" -c:a output.m4a