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 cont