Lors de l'enregistrement vidéo, comment définir la transformation (portrait, paysage, etc.) pour la vidéo?
-
14-11-2019 - |
Question
Devrais-je utiliser la propriété Videoorientation d'AvcapTuReconnection ou définir la propriété Transform de la vidéoriterinput ou autre chose?
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