[FFmpeg-devel] [PATCH lavfi: add showwaves filter

Stefano Sabatini stefasab at gmail.com
Sat May 19 01:18:31 CEST 2012


On date Tuesday 2011-12-27 20:15:34 +0100, Clément Bœsch encoded:
> On Tue, Dec 27, 2011 at 07:20:04PM +0100, Stefano Sabatini wrote:
[...]
> > Still missing:
> > * multiple channels support, every channel may be displayed on a
> >   separate area a-la ffplay or on the same area, possibly letting the
> >   user choose the color for each channel wave.
> > 
> > > RDFT should be easier to add (same for some power/volume
> > > visualization).
> > 
> > Due to different caching logic this could be a separate filter
> > (e.g. showaudio -> showwaves, showrdft?).
> > 
> 
> Sounds like a good idea; if you want to continue on showaudio, I'd like to
> do the showrdft/spectrum one, so we could replace the ffplay builtin with
> this filter. 
[...]

> Anyway, I think an example like "amovie=a.mp3,asplit[a][out1];
> [a]showaudio[out0]" in the documentation will be welcome when adding this
> first filter.

Added.

Updated against the new API, and renamed showwaves. The functionality
is still quite limited. For example: we could split the channel
visualization a la ffplay, or create a color map for showing each
channel "samples" in a different color, but I have to think at a
sensible syntax for specifying the map.

This can be added later though with no harm.
-- 
FFmpeg = Furious Free Monstrous Pitiful Extroverse Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavfi-add-showwaves-filter.patch
Type: text/x-diff
Size: 8971 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120519/b11c1913/attachment.bin>


More information about the ffmpeg-devel mailing list