[FFmpeg-devel] [PATCH 1/2] ffmpeg: add option stats_period

Gyan Doshi ffmpeg at gyani.pro
Tue Dec 22 21:15:05 EET 2020



On 22-12-2020 09:49 am, Gyan Doshi wrote:
>
>
> On 22-12-2020 04:28 am, Michael Niedermayer wrote:
>> On Mon, Dec 21, 2020 at 02:51:20PM +0530, Gyan Doshi wrote:
>>> At present, progress stats are updated at a hardcoded interval of
>>> half a second. For long processes, this can lead to bloated
>>> logs and progress reports.
>>>
>>> Users can now set a custom period using option -stats_period
>>> Default is kept at 0.5 seconds.
>>> ---
>>>   doc/ffmpeg.texi      |  7 ++++++-
>>>   fftools/ffmpeg.c     |  2 +-
>>>   fftools/ffmpeg.h     |  1 +
>>>   fftools/ffmpeg_opt.c | 18 ++++++++++++++++++
>>>   4 files changed, 26 insertions(+), 2 deletions(-)
>> probably ok
>
> Will push both patches in 12 hours if no further comments.

Pushed as

842714b5cb4112ec6805ed228b34d711024ad9e2

and

3e47bbad56e8a00bf502829403f298e17c69dd1a

Regards,
Gyan


More information about the ffmpeg-devel mailing list