summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLou Logan <lou@lrcd.com>2015-12-29 10:41:20 -0900
committerLou Logan <lou@lrcd.com>2015-12-31 16:40:20 -0900
commitb47111b6579fbe07b09bb360732b140ad6e870db (patch)
tree7947377c41cf0ab8038b8c76eca0f1dd654964c0 /doc
parent3843e52cb415158cbab1c800a0228691e3724f92 (diff)
doc/filters: add showwavespic colorize example
Signed-off-by: Lou Logan <lou@lrcd.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 8aa3b47fcf..7839daa79a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -14836,6 +14836,14 @@ in a 1024x800 picture using @command{ffmpeg}:
@example
ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png
@end example
+
+@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.
+@example
+ffmpeg -i audio.mp3 -filter_complex "showwavespic,colorchannelmixer=rr=66/255:gg=217/255:bb=150/255" waveform.png
+@end example
@end itemize
@section split, asplit