Improve accuracy of frame rates for encoding.