[FFmpeg-devel] [PATCH 2/3] lavfi/ebur128: add metadata injection. - volnorm.patch (0/1)

Clément Bœsch ubitux at gmail.com
Fri May 3 15:10:43 CEST 2013

On Fri, May 03, 2013 at 02:59:56PM +0200, Jan Ehrhardt wrote:
> Clément Bœsch in gmane.comp.video.ffmpeg.devel (Fri, 3 May 2013 14:10:36
> +0200):
> >> volume has access to the frame pts, I don't think you need to use the
> >> metadata for this.
> I had been looking for that, but could not find it. Is it just vol->pts?

It's in the AVFrame; buf->pts or outbuf->pts.

> >Note that you could also not check the adjustement value but the loudness
> >value directly; basically if it's assumed to be silence (< 69), you just
> >pass through.
> Aha, another thing I did not know about volumes.
> But what is 'pass through' when this happens not at the beginning of a
> stream, but later on? Does that mean 'no adjustment' or use the latest
> available adjustment? The latest available would be preferable, but then
> you have  to store the value somewhere. As far as I know this is not
> done yet.

Well if you have a loudness smaller than -70LUFS then it's considered
silence. So if you don't adjust... it will just keep the silence.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130503/30aab5f2/attachment.asc>

More information about the ffmpeg-devel mailing list