[FFmpeg-trac] #9896(avfilter:new): astats: add support for gated measurement

FFmpeg trac at avcodec.org
Mon Aug 29 21:14:24 EEST 2022


#9896: astats: add support for gated measurement
----------------------------------+---------------------------------------
             Reporter:  hsn       |                     Type:  enhancement
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  4.4.1
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 == Add support for gated measurement

 Measurement would be more useful for anything other then music (such as
 dialogs in movies) when gated measurement will be added.

 I don't think something like gated measurement defined in EBU – TECH 3342
 will fit this filter. Simple gate would be enough. Measure only if signal
 exceeds predefined fixed level. In this kind of metering gated silence
 will not be responsible for lowering integrated RMS loudness.

 So I think two settings should be added
 1. //gate level// in DB - when volume is bellow this level start closing
 gate. Closing gate will not change output signal. Input will be still
 measured and stats updated.
 1. //gate close time// in sec - after gate is fully closed, stop using
 input data for volume computations until gate opens again.
 1. I am not sure if there is need for //gate open time// - pro VST3
 measurement plugins are implementing open gate time defaulting to 4 ms.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9896>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list