عند تسجيل الفيديو، كيفية تعيين التحول (صورة، المناظر الطبيعية، إلخ) للفيديو؟
-
14-11-2019 - |
سؤال
يجب أن أستخدم خاصية 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.
لا تنتمي إلى StackOverflow