MasayukiSuda / GPUVideo-android

This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2.
MIT License
658 stars 179 forks source link

After rotation video frame will be square. Not show proper as per aspect ratio #50

Open ghost opened 4 years ago

ghost commented 4 years ago

@MasayukiSuda I have rotated video frames but it should not display properly. I have used video of 16/9 aspect ratio. Then apply filter on it. It will show proper for 0 and 180 roation. But if rotation will be 90 or 270 then frame size is not proper. I did not rotate GPUPlayerView. But I rotate frames while draw it. But After rotation frame width will change. I have checked aspect ration after rotation, it is proper. If aspect ration is proper then why frame is not show proper.

Please guide me.