a914-gowtham / android-video-trimmer

Helps to trim local videos with compress option on Android applications using Exoplayer 2 and FFmpeg.
Other
362 stars 115 forks source link

cleared a bug in ActivityTrimmer.java in line 586, #97

Closed immohanravi closed 1 year ago

immohanravi commented 1 year ago

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

immohanravi commented 1 year ago

Screenshot_2023-07-04-18-46-52-602_com gowtham videotrimmer Screenshot_2023-07-04-18-46-17-394_com gowtham videotrimmer Screenshot_2023-07-04-18-45-53-629_com gowtham videotrimmer

a914-gowtham commented 1 year ago

thanks @immohanravi