iOS 10.3.2 I'd like to do monochrome (or single channel red) video recording, but it seems iOS does not support this.
According to AVCaptureVideoDataOutput -availableVideoCVPixelFormatTypes, the only supported pixel format types available for the iPad Pro in iOS 10.3.2 are: '420v' - kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange 875704438 '420f' - kCVPixelFormatType_420YpCbCr8BiPlanarFullRange 875704422 'BGRA' - kCVPixelFormatType_32BGRA 1111970369 ...but these can result in very large (~1GB) video files, and require post-processing to remove the unneeded channel data. Attempted use of other formats, such as kCVPixelFormatType_1Monochrome, kCVPixelFormatType_32AlphaGray, kCVPixelFormatType_16Gray, or kCVPixelFormatType_OneComponent8 result in an "Unsupported pixel format type" exception at runtime. Is there another way to accomplish this? iOS 11? -Carl _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com