diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2020-12-21 14:16:49 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2020-12-23 00:41:07 +0530 |
commit | 842714b5cb4112ec6805ed228b34d711024ad9e2 (patch) | |
tree | 74ad01f5af35ea046040dc5ead7c8fc310b90e57 /doc/ffmpeg.texi | |
parent | 686c07fb1e0455c4205eaad18e8a01bf64058dec (diff) | |
download | ffmpeg-842714b5cb4112ec6805ed228b34d711024ad9e2.tar.gz |
ffmpeg: add option stats_period
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.
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r-- | doc/ffmpeg.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 95d6463685..62015d7565 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -675,14 +675,19 @@ Specify the preset for matching stream(s). Print encoding progress/statistics. It is on by default, to explicitly disable it you need to specify @code{-nostats}. +@item -stats_period @var{time} (@emph{global}) +Set period at which encoding progress/statistics are updated. Default is 0.5 seconds. + @item -progress @var{url} (@emph{global}) Send program-friendly progress information to @var{url}. -Progress information is written approximately every second and at the end of +Progress information is written periodically and at the end of the encoding process. It is made of "@var{key}=@var{value}" lines. @var{key} consists of only alphanumeric characters. The last key of a sequence of progress information is always "progress". +The update period is set using @code{-stats_period}. + @anchor{stdin option} @item -stdin Enable interaction on standard input. On by default unless standard input is |