2

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?

0
4

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
2
  • why do you recommend amerg then amix? – SunghoMoon May 12 '20 at 3:11
  • @SunghoMoon I've forgotten. It's been a long time. Should have provided an explanation. Use whatever one you prefer. I'll update the answer. – llogan May 12 '20 at 4:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.