[FFmpeg-devel] [RFC][PATCH] ffplay: introduce audio visualizations.

Stefano Sabatini stefasab at gmail.com
Sun Nov 6 01:33:59 CET 2011


On date Sunday 2011-11-06 00:53:44 +0100, Clément Bœsch encoded:
> On Sat, Oct 29, 2011 at 03:55:02PM +0200, Stefano Sabatini wrote:
> > On date Saturday 2011-10-29 12:48:56 +0200, Clément Bœsch encoded:
> > > ---
> > > Here is just a simple PoC for audio visualizations in ffplay. The current
> > > engine keep the linear display (cyclic vertical lines from left to right) and
> > > add a "default" profile to keep the current display output.
> > > 
> > > I wonder if that won't be too heavy to deal with if it is extended to the whole
> > > x/y window; I might reach a performance limitation by doing so. I guess shaders
> > > might be a workaround for this, but I think it's overkill and inappropriate in
> > > ffplay.
> > > 
> > > Anyway, any feedback on that is welcome if you want me to continue this.
> > 
> > I believe this should be implemented like an A->V filter (same for the
> > wave/RDFT visualization) rather than in ffplay.c.
> > 
> 

> I guess we don't have anything similar ATM?

Sadly not.

> In that case, could you be
> more precise on what you expect me to do, and where/how you would see it
> implemented?

I thought it would be better to implement the feature like an Audio to
Video filter, that is a filter which takes in input audio frames and
update a video output accordingly.

This should avoid to clutter the ffplay.c code, and push the cool
feature in the library (libavfilter in this case) which is Good.
-- 
FFmpeg = Fascinating and Furious MultiPurpose Elastic Guru


More information about the ffmpeg-devel mailing list