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.