Capture output glitch on iPhone 8 Plus in DualCamera mode + 4K Video + AVCaptureVideoDataOutput + stabilization

Originator:JessiLivak
Number:rdar://34939580 Date Originated:October 11 2017,
Status:Open Resolved:
Product:AVFoundation Product Version:iPhone 8 Plus
Classification: Reproducible:Always
 
Area:
AVFoundation

Summary:
Camera capture output displays a glitched view on the iPhone 8 Plus when using AVCaptureVideoDataOutput to capture video, along with the DualCamera device type, recording in 4K Video and having video stabilization on.

Steps to Reproduce:
1. In sample app RosyWriter (I used RosyWriterCIFilter), set the following settings:
     + AVCaptureDevice should be AVCaptureDeviceTypeBuiltInDualCamera
     + Stabilization: AVCaptureVideoStabilizationModeAuto
     + Session preset: AVCaptureSessionPreset3840x2160
2. Run the project on an iPhone 8 Plus

Expected Results:
Regular video capture is displayed

Actual Results:
The capture output is appearing as a small chunk of the video being duplicated throughout the display. (see screenshot)

Version/Build:
iPhone 8 Plus on iOS 11.0, 11.0.1, 11.0.2, 11.0.3
Happens in apps built in Xcode 8.x and 9.x

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!