Have a look to see if your camera supports 4K with print(ARWorldTrackingConfiguration.supportedVideoFormats)
On an iPhone 13 Pro Max it’s only 4K camera is listed as <ARVideoFormat: 0x2834f2e90 imageResolution=(3840, 2160) pixelFormat=(420f) framesPerSecond=(30) captureDeviceType=AVCaptureDeviceTypeBuiltInWideAngleCamera captureDevicePosition=(1)>]
So in your config change to that format.
configuration.videoFormat = ARWorldTrackingConfiguration.supportedVideoFormats[12]
That’s on an iPhone 13 Pro Max 128gig - which did has the limited ProRes recording duration, so perhaps it works on the bigger storage models, or just future products.
Topic:
Spatial Computing
SubTopic:
ARKit
Tags: