summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-11-27 14:27:06 +0100
committerPaul B Mahol <onemda@gmail.com>2020-11-27 14:28:46 +0100
commit1f754620079eda0577e0376b20229a130a66b93c (patch)
treee291d01334bc3bad00333a6cd2cfc611a50463f2 /doc
parent1555cfedf6fab91ef86b4e85b872c2afa77c818f (diff)
doc/filters: add acrossover examples
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index d594f6394a..b27eefb082 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -541,6 +541,29 @@ Set filter order. Availabe values are:
Default is @var{4th}.
@end table
+@subsection Examples
+
+@itemize
+@item
+Split input audio stream into two bands (low and high) with split frequency of 1500 Hz,
+each band will be in separate stream:
+@example
+ffmpeg -i in.flac -filter_complex 'acrossover=split=1500[LOW][HIGH]' -map '[LOW]' low.wav -map '[HIGH]' high.wav
+@end example
+
+@item
+Same as above, but with higher filter order:
+@example
+ffmpeg -i in.flac -filter_complex 'acrossover=split=1500:order=4th[LOW][HIGH]' -map '[LOW]' low.wav -map '[HIGH]' high.wav
+@end example
+
+@item
+Same as above, but also with additional middle band (frequencies between 1500 and 8000):
+@example
+ffmpeg -i in.flac -filter_complex 'acrossover=split=1500 8000:order=4th[LOW][MID][HIGH]' -map '[LOW]' low.wav -map '[MID]' mid.wav -map '[HIGH]' high.wav
+@end example
+@end itemize
+
@section acrusher
Reduce audio bit resolution.