videokit-ai / videokit

Low-code, cross-platform media SDK for Unity Engine. Register at https://videokit.ai
https://videokit.ai
Apache License 2.0
107 stars 14 forks source link

Recording resolution is incorrect when the orientation is portrait #6

Closed yuchenz27 closed 1 year ago

yuchenz27 commented 1 year ago

I am using VideoKit on an iPhone with the following settings

image

But the video I got was in 2796 * 1290, which was not a portrait one.

Regarding to Lanre from Discord:

"When the Resolution is Screen or HalfScreen and the Orientation is not Landscape, then the output resolution will actually be landscape. The fix is to either change the Resolution to not be Screen or HalfScreen; or set the Orientation to Landscape when using either of these modes."

olokobayusuf commented 1 year ago

This has been fixed in VideoKit 0.0.6.