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 178 forks source link

landscape video recording not working (wrong aspect ratio, video cropped) #9

Open falary1 opened 5 years ago

falary1 commented 5 years ago

Hello,

Thanks for sharing this project.

I tried to record video in landscape orientation with the sample app, and the result is wrong ratio aspect and cropped video.

I tried with 3 different devices which gave me the same output results (s7, lg G6, huawei p9).

Everything is working fine in the portait mode, but in landscape camera preview is a little bit streched (with some zoom ?), and the output is completly streched and cropped. I tried to manually set width, height, ratio, rotation, but with no success...

Regards

pablogeek commented 1 year ago

fixed here https://github.com/MasayukiSuda/GPUVideo-android/pull/105