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

2020-12-22 Thread Gyan Doshi
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 pro

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

2020-12-21 Thread Gyan Doshi
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 pe

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

2020-12-21 Thread Michael Niedermayer
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 k

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

2020-12-21 Thread Gyan Doshi
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/ffmp