1

I have two below command that is works perfectly for this question but how to work with one command?

Commands:

ffmpeg -i video.mp4 -i audio.mp3 -filter_complex \
"[0:a][1:a]amerge=inputs=2[a]" \
-map 0:v -map "[a]" -c:v copy -c:a libvorbis -ac 2 -shortest output.mp4


ffmpeg -i audio.mp3 -af "volume=150:enable='between(t,10,20)'" audiochange.mp3

Thanks in advance.

1 Answer 1

0

Use

ffmpeg -i video.mp4 -i audio.mp3 -filter_complex \
"[1:a]volume=150:enable='between(t,10,20)'[1a];[0:a][1a]amerge=inputs=2[a]" \
-map 0:v -map "[a]" -c:v copy -c:a libvorbis -ac 2 -shortest output.mp4
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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