Whenever we try to compress the video if the video is rotated then calculated w h is swapped but if w is greater than 800 swapped height is not being used instead actual retrieved height value is used, resulting video aspect ratio becomes 1:1, so i have corrected it
Whenever we try to compress the video if the video is rotated then calculated w h is swapped but if w is greater than 800 swapped height is not being used instead actual retrieved height value is used, resulting video aspect ratio becomes 1:1, so i have corrected it