diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-05 20:37:58 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-03-05 20:37:58 +0100 |
commit | 72d2e9437d7e579e1ac62719360e25a2ecee6ab9 (patch) | |
tree | 5a0391b92f5f0a9a4c8da2acb08f30552ebe6404 /doc | |
parent | 8d9509377e7ebfb50e670488b94b539185083957 (diff) | |
download | ffmpeg-72d2e9437d7e579e1ac62719360e25a2ecee6ab9.tar.gz |
doc/showspectrum: add some examples.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 5cfe531c41..e260216a50 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. +@subsection Examples + +@itemize +@item +Large window with logarithmic color scaling: +@example +showspectrum=s=1280x480:scale=log +@end example + +@item +Complete example for a colored and sliding spectrum per channel using @command{ffplay}: +@example +ffplay -f lavfi 'amovie=input.mp3, asplit [a][out1]; + [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]' +@end example +@end itemize + @section showwaves Convert input audio to a video output, representing the samples waves. |