عند تسجيل الفيديو، كيفية تعيين التحول (صورة، المناظر الطبيعية، إلخ) للفيديو؟

StackOverflow https://stackoverflow.com/questions/6026059

سؤال

يجب أن أستخدم خاصية Vidoorientation الخاصة ب AVCAPTULTURECONNECTION، أو قم بتعيين خاصية تحويل VideOwRiterInput، أو أي شيء آخر؟

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top