ffmpeg: add option stats_period

Multimedia / FFmpeg - Gyan Doshi [gyani.pro] - 22 December 2020 19:11 UTC

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.

842714b5cb ffmpeg: add option stats_period
doc/ffmpeg.texi | 7 ++++++-
fftools/ffmpeg.c | 2 +-
fftools/ffmpeg.h | 1 +
fftools/ffmpeg_opt.c | 18 ++++++++++++++++++
4 files changed, 26 insertions(+), 2 deletions(-)

  • Share