Add API to get the rotate information from video metadata