Durante la registrazione di video, come impostare la trasformazione (ritratto, paesaggio, ecc.) Per il video?
-
14-11-2019 - |
Domanda
Dovrei utilizzare la proprietà Videooorientation di AvcaptureConnection o impostare la proprietà Trasforma del VideowriterInput o qualcos'altro?
Soluzione
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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow