From 1f754620079eda0577e0376b20229a130a66b93c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 27 Nov 2020 14:27:06 +0100 Subject: [PATCH] doc/filters: add acrossover examples --- doc/filters.texi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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.