Convert input audio to a single video frame, representing the samples waves.
The filter accepts the following options:
- size, s
-
Specify the video size for the output. For the syntax of this option, check the "Video size" section in the ffmpeg-utils manual. Default value is
600x240
. - split_channels
-
Set if channels should be drawn separately or overlap. Default value is 0.
- colors
-
Set colors separated by ’|’ which are going to be used for drawing of each channel.
- scale
-
Set amplitude scale. Can be linear
lin
or logarithmiclog
. Default is linear.
Examples
-
Extract a channel split representation of the wave form of a whole audio track in a 1024x800 picture using ffmpeg:
ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png