Add functions to recalculate and record frame rate when closing .avi files, requires file open and close time to be noted.