[FFmpeg-devel] avfilter/showvolume : add new options and minor clean

Paul B Mahol onemda at gmail.com
Sun Apr 15 00:07:18 EEST 2018


On 4/11/18, Martin Vignali <martin.vignali at gmail.com> wrote:
> Hello,
>
> Thanks for the comments.
>
> New patchs in attach :
>
> 001 : Add display_scale volume
> Change since prev patch :
> - use enum for the value
> - move the max_draw calc part to an inline func (avoid code duplication).
>
> 002 : Add Persistent max display
> Change since prev patch
> - Use only one param (dm_duration), if set to 0. (the default), disabled
> display and calc
> - move some part in inline func, to reduce code duplication
> - offset line draw by 1 pixel (and use FFMAX to clip to 0). Fix display max
> line, when max is 0db in horizontal mode
> - add doc
>
> Martin
>

Please use short name for options, max 2 characters.

The log scale shows nothing even thought there is no silence. Perhaps
use ceil()?

The persistent max display color should be configurable.


More information about the ffmpeg-devel mailing list