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

Paul B Mahol onemda at gmail.com
Sun Apr 15 21:24:48 EEST 2018


On 4/15/18, Martin Vignali <martin.vignali at gmail.com> wrote:
> and when there is no silence i get completly empty display +
>
>> current volume in dB.
>>
>>
> You're right, my previous calc was wrong (doesn't display for level below
> -42 db)
>
> New patchs in attach
>
> use another calc for the log display : av_clipf(0.21 * log10(max) + 1, 0,
> 1);
>
>
> for the persistent max display, i add a new option for line color
> and rename dm_duration to dm
>
>
> Martin
>

Default white color is good decision ? Better use orange?

Put { in own line like for every function:

void its_me_function()
{    <----- have own line
    ....
}

Generally follow code style of file.


More information about the ffmpeg-devel mailing list