Answer the question
In order to leave comments, you need to log in
How to put background music on voice using FFMPEG?
Hello! There is an mp4 video with two audio streams of different duration (the voice is shorter).
You need to combine them so that there is a voice in the background of the music.
I do this command:
ffmpeg -i video.mp4 -y -c:v copy -filter_complex "[0:1] [0:2] amerge" output.mp4
Answer the question
In order to leave comments, you need to log in
It's decided. When I applied voice acting, I added -af apad -shortest and now everything is ok.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question