summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-12-11 20:50:33 +0100
committerPaul B Mahol <onemda@gmail.com>2022-12-11 20:53:26 +0100
commitc3e20f78b05d78ed1d214ba40fa5133c16af6415 (patch)
treef71ec368df8f2db0e147ea4d5485d9b868a1e744
parent8556006984e18b6b6229ccecdba260c31bcbc1ee (diff)
doc/filters: add more advanced and useful afir example
-rw-r--r--doc/filters.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 1cb7fd94a7..920695a65b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1703,6 +1703,13 @@ Apply reverb to stream using mono IR file as second input, complete command usin
@example
ffmpeg -i input.wav -i middle_tunnel_1way_mono.wav -lavfi afir output.wav
@end example
+
+@item
+Apply true stereo processing given input stereo stream, and two stereo impulse responses for left and right channel,
+the impulse response files are files with names l_ir.wav and r_ir.wav:
+@example
+"pan=4C|c0=FL|c1=FL|c2=FR|c3=FR[a];amovie=l_ir.wav[LIR];amovie=r_ir.wav[RIR];[LIR][RIR]amerge[ir];[a][ir]afir=irfmt=input:gtype=gn:irgain=-5dB,pan=stereo|FL<c0+c2|FR<c1+c3"
+@end example
@end itemize
@anchor{aformat}