calculate the video rate if possible