[FFmpeg-devel] [PATCH] doc/filters: add showwavespic colorize example

Lou Logan lou at lrcd.com
Tue Dec 29 20:45:25 CET 2015


Signed-off-by: Lou Logan <lou at lrcd.com>
---
 doc/filters.texi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index e1b3c69..45e1338 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -14823,6 +14823,14 @@ in a 1024x800 picture using @command{ffmpeg}:
 @example
 ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png
 @end example
+
+ at item
+Colorize the waveform with colorchannelmixer. This example will make
+the waveform a green color approximately RGB(66,217,150). Additional
+channels will be shades of this color.
+ at example
+ffmpeg -i audio.mp3 -filter_complex "showwavespic,colorchannelmixer=rr=66/255:gg=217/255:bb=150/255" waveform.png
+ at end example
 @end itemize
 
 @section split, asplit
-- 
2.6.2



More information about the ffmpeg-devel mailing list