[FFmpeg-user] Replace part of the audio
Michael Koch
astroelectronic at t-online.de
Wed Feb 1 12:46:26 EET 2023
Am 01.02.2023 um 09:39 schrieb Alexander Bieliaev via ffmpeg-user:
> Thanks, it kinda worked for me, but it seems like it's dependent on the
> length of the inserted audio. For example if I have a 2 minute audio and
> try to replace some parts of it with audio that is 1 minute long, for the
> first minute of the audio it works fine but if I try to replace parts above
> 1 minute it doesn't work. I guess it's because it tries to pick parts of
> the audio above 1 minute, but it doesn't exist, because the audio is only 1
> minute long. How can I replace any part of the audio with another audio
> that starts playing from the beginning?
you could use the "adelay" filter to delay the second input for a
suitable time.
Michael
More information about the ffmpeg-user
mailing list