Durante la registrazione di video, come impostare la trasformazione (ritratto, paesaggio, ecc.) Per il video?

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

Domanda

Dovrei utilizzare la proprietà Videooorientation di AvcaptureConnection o impostare la proprietà Trasforma del VideowriterInput o qualcos'altro?

È stato utile?

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
scroll top