When recording video, how to set transformation (portrait, landscape, etc.) for video?
-
14-11-2019 - |
Question
Should I use AVCaptureConnection's videoOrientation property, or set the transform property of the videoWriterInput, or something else?
Solution
Seems like AVCaptureConnection's videoOrientation property sets the orientation as it's recording, while the transform property of the videoWriterInput will set a flag for the playback transform.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow