Lors de l'enregistrement vidéo, comment définir la transformation (portrait, paysage, etc.) pour la vidéo?

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

Question

Devrais-je utiliser la propriété Videoorientation d'AvcapTuReconnection ou définir la propriété Transform de la vidéoriterinput ou autre chose?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top