Calculate Aspect Ratios and Dimensions of videos/images