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 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".