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

2018-08-27 Thread Reino Wijnsma
On 27-8-2018 15:18, Michael Koch 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

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

2018-08-27 Thread Michael Koch
Am 27.08.2018 um 15:00 schrieb Paul B Mahol: On 8/27/18, Michael Koch wrote: In the first example I have two identical 1kHz sine sources. The first source is delayed by 0.5ms (which means 180DEG phase shift), and then both channels are mixed. This works as expected, the result is silence.

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

2018-08-27 Thread Paul B Mahol
On 8/27/18, Michael Koch wrote: > In the first example I have two identical 1kHz sine sources. The first > source is delayed by 0.5ms (which means 180DEG phase shift), and then both > channels are mixed. This works as expected, the result is silence. > > ffmpeg -f lavfi -i sine=f=1000:d=5 -f

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

2018-08-27 Thread Michael Koch
In the first example I have two identical 1kHz sine sources. The first source is delayed by 0.5ms (which means 180° phase shift), and then both channels are mixed. This works as expected, the result is silence. ffmpeg -f lavfi -i sine=f=1000:d=5 -f lavfi -i sine=f=1000:d=5 -filter_complex