[FFmpeg-devel] [PATCH 2/7] avfilter: add ff_inlink_peek_samples and ff_inlink_skip samples

Paul B Mahol onemda at gmail.com
Wed Jun 24 12:30:03 EEST 2020


On 6/19/20, Paul B Mahol <onemda at gmail.com> wrote:
> On 6/16/20, Nicolas George <george at nsup.org> wrote:
>> Paul B Mahol (12020-06-12):
>>> How so? Its purely random.
>>
>> +        ret = ff_inlink_peek_samples(inlink, s->win_size, &fin);
>>
>> +        ret = ff_inlink_peek_samples(inlink, s->window_size, &in);
>>
>> They seem constant in both cases. Can you elaborate about this
>> randomness?
>>
>
> For showspectrumpic window size is random in sense it depends
> on input, it is not random for every call.

Also memory and CPU overhead is very small if it exists at all.


More information about the ffmpeg-devel mailing list