How to use the -stats_period parameter together with FFMPEG -progress?

Viewed 528

I am using -pregress to get the current frame that is being processed, leaving it in a .txt file, but I would like to use -stats_period to control the time that the file is updated. However, when adding -stats_period to the script, it presents an error message:

Unrecognized option 'stats_period'. Error splitting the argument list: Option not found

And I couldn't find any examples of use, neither in the forums, nor in the ffmpeg documentation.

1 Answers

I added this on 23 Dec 2020. So, it's not in any release yet. Get a git/nightly/snapshot build from http://www.ffmpeg.org/download.html

Usage is trivial. Add -stats_period 2.5 for a 2.5 second update interval.

Related