Quantcast
Channel: Active questions tagged podcasts - Super User
Viewing all articles
Browse latest Browse all 31

ffmpg voice + base - base must end when the entry with the cut at the beginning ends

$
0
0

I'm experimenting with a bat command to manage audio tracks.
My goal is to create tracks with vocals and music for a podcast. I managed to mix the file which contains only one recording of the voice, and with ffmpeg's automatic mechanisms, add the backing track which is cut when the voice track ends.
But I would like the base cut, to adapt to the first track, to happen at the beginning and not at the end so as to always have the correct base closing when the speech ends.
What command can I tell ffmpeg to do this with?
I do not know if I was clear.
therefore each processed vocal track will become a mix track with the base (at 40% volume) which will end exactly with the end of the base and not with a cut.
For example, I have a 5-minute vocal track, then I have an 8-minute backing track ready, I would like the cut to adapt the backing track to speech to take place in the first 3 minutes and not in the last 3thank you very much for anyone who can help me.
I now use this one but it cuts to the bottom:

ffmpeg -i 4voice4.mp3 -i base.mp3 -filter_complex "[0:a]volume=1.0[a];[1:a]adelay=0s|10s[a2];[a2]volume=0.4[b]; [a][b]amix=inputs=2:duration=first" -c:a libmp3lame -y output.mp3


Viewing all articles
Browse latest Browse all 31

Trending Articles