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

Gyan Doshi ffmpeg at gyani.pro
Tue Dec 22 06:19:54 EET 2020



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.

Thanks,
Gyan


More information about the ffmpeg-devel mailing list