Am 01.02.2023 um 11:27 schrieb Alexander Bieliaev via ffmpeg-user:
How can I replace multiple parts of audio with generated beeps?
I tried next command:

-filter_complex "
[0]volume=0:enable='between(t,10,15)+between(t,20,30)'[main];
sine=f=800,
pan=stereo|FL=c0|FR=c0,
volume=0:enable='between(t,0,10)+between(t,15,20)'[beep];
[main][beep]amix=inputs=2:duration=first"

It successfully replaced parts between 10 - 15 seconds and 20 - 30 seconds
but the beep keeps playing till the end of the audio.


I think you also must make the beep silent after t=30:

volume=0:enable='between(t,0,10)+between(t,15,20)+gt(t,30)'

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".

Reply via email to