[FFmpeg-user] Audio delay doesn't work as expected

Reino Wijnsma rwijnsma at xs4all.nl
Tue Aug 28 03:08:05 EEST 2018


On 27-8-2018 15:18, Michael Koch <astroelectronic at t-online.de> wrote:
> ffmpeg -f lavfi -i sine=f=1000:d=5 -f lavfi -i sine=f=1000:d=5 -filter_complex "[0:a]adelay=0.0[d0],[1:a]adelay=0.5[d1],[d0][d1]amix" -y test2.mp3

Since delaying audio by zero doesn't make sense, you can shorten the command like this:

ffmpeg -f lavfi -i sine=f=1000:d=5 -f lavfi -i sine=f=1000:d=5 -filter_complex "[1:a]adelay=0.5[d1];[0:a][d1]amix" -y test2.mp3

-- Reino


More information about the ffmpeg-user mailing list