开发者

When recording video, how to set transformation (portrait, landscape, etc.) for video?

开发者 https://www.devze.com 2023-03-06 15:06 出处:网络
Should I use AVCaptureConnection\'s videoOri开发者_开发知识库entation property, or set the transform property of the videoWriterInput, or something else?Seems like AVCaptureConnection\'s videoOrientat

Should I use AVCaptureConnection's videoOri开发者_开发知识库entation property, or set the transform property of the videoWriterInput, or something else?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消