[FFmpeg-cvslog] doc/showspectrum: add some examples.
Clément Bœsch
git at videolan.org
Tue Mar 5 20:38:29 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Mar 5 20:37:58 2013 +0100| [72d2e9437d7e579e1ac62719360e25a2ecee6ab9] | committer: Clément Bœsch
doc/showspectrum: add some examples.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72d2e9437d7e579e1ac62719360e25a2ecee6ab9
---
doc/filters.texi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index 5cfe531..e260216 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6601,6 +6601,23 @@ Default value is @code{1}.
The usage is very similar to the showwaves filter; see the examples in that
section.
+ at subsection Examples
+
+ at itemize
+ at item
+Large window with logarithmic color scaling:
+ at example
+showspectrum=s=1280x480:scale=log
+ at end example
+
+ at item
+Complete example for a colored and sliding spectrum per channel using @command{ffplay}:
+ at example
+ffplay -f lavfi 'amovie=input.mp3, asplit [a][out1];
+ [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]'
+ at end example
+ at end itemize
+
@section showwaves
Convert input audio to a video output, representing the samples waves.
More information about the ffmpeg-cvslog
mailing list