Improvements for video length checking.