diff options
author | Clément Bœsch <u@pkh.me> | 2014-12-24 15:03:26 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2015-03-18 12:19:08 +0100 |
commit | 304fdfe9f3a3879ce95d01c4dcb7e33bdb68f9ef (patch) | |
tree | 61535b815be4fcc17ba622e9f4faab5a2577fdc1 /doc/filters.texi | |
parent | 0f16dfda50cb6b7b13e2a3f02f0823f67eeca748 (diff) | |
download | ffmpeg-304fdfe9f3a3879ce95d01c4dcb7e33bdb68f9ef.tar.gz |
lavfi: add showwavespic filter
This is a variant of showwaves. It is implemented as a different filter
so that the user is not allowed to use meaningless options which belong
to showwaves (such as rate).
Major edits done by Stefano Sabatini, from a patch by ubitux.
See thread:
From: Clément Bœsch <u@pkh.me>
To: ffmpeg-devel@ffmpeg.org
Date: Wed, 24 Dec 2014 15:03:26 +0100
Subject: [FFmpeg-devel] [PATCH] avfilter/showwaves: add single_pic option
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index dbcd3911ae..3acd3e8c7f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -11741,6 +11741,33 @@ aevalsrc=sin(1*2*PI*t)*sin(880*2*PI*t):cos(2*PI*200*t),asplit[out0],showwaves=r= @end example @end itemize +@section showwavespic + +Convert input audio to a single video frame, representing the samples waves. + +The filter accepts the following options: + +@table @option +@item size, s +Specify the video size for the output. For the syntax of this option, check the +@ref{video size syntax,,"Video size" section in the ffmpeg-utils manual,ffmpeg-utils}. +Default value is @code{600x240}. + +@item split_channels +Set if channels should be drawn separately or overlap. Default value is 0. +@end table + +@subsection Examples + +@itemize +@item +Extract a channel split representation of the wave form of a whole audio track +in a 1024x800 picture using @command{ffmpeg}: +@example +ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png +@end example +@end itemize + @section split, asplit Split input into several identical outputs. |