The goal is to capture full screen video on a device with Swift. In the code below, video capture appears to happen at full screen (while recording the camera preview uses t
Try SDAVAssetExportSession
You can specify the AVVideoWidthKey
and AVVideoHeightKey
You can also specify the profile, AVVideoProfileLevelKey
ie AVVideoProfileLevelH264HighAutoLevel for supporting something 4k, a friend (Michael Lowin) tracked that property down to help us improve some export qualities.