[FFmpeg-devel] [PATCH] libavfilter/af_showvolume: A Simple Audio Filter for Extracting Volume Information

Lars Kiesow lkiesow at uos.de
Mon Dec 22 18:54:57 CET 2014

Hi Clément,
thanks for the hints, volumedetect and showwaves are doing something
different and won't help. I sent an explanation for volumedetect already
and showwaves will convert the input audio to a video output
representing the samples waves at that point and won't allow to store
that information in any way. At least not as static image or datafile.
So it's again something different.

I need to have a look at ebur128 though. I never had a look at that
filter, but will try it later. A first glance at the docs revealed that
it might do something similar. Let me get back after some testing.

On Mon, 22 Dec 2014 18:13:06 +0100
Clément Bœsch <u at pkh.me> wrote:

> On Mon, Dec 22, 2014 at 04:50:57PM +0100, Lars Kiesow wrote:
> > Hi everyone,
> > I'm an FFmpeg user for quite a while now and though I might as well
> > switch to dev at some point...
> > 
> > Please find attached to this mail a simple audio filter which makes
> > it possible to extract and print volume information from audio
> > streams. It works more or less like the showinfo filters only that
> > it returns the pcm value information for each audio sample.
> > 
> > This output can then be used to easily plot a waveform image like
> > this: http://larskiesow.de/waveform.png
> > 
> You might want to look at ebur128, volumedetect and showwaves
> filters...
> [...]

More information about the ffmpeg-devel mailing list