• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Single-channel video recording in iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Single-channel video recording in iOS?


  • Subject: Single-channel video recording in iOS?
  • From: Carl Hoefs <email@hidden>
  • Date: Fri, 23 Jun 2017 13:37:24 -0700

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 (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: AVCaptureMovieFileOutput + encryption
  • Next by Date: Re: Doubled Pixels
  • Previous by thread: Re: Doubled Pixels
  • Next by thread: Expired PersistentConnectionLogging.mobileconfig and TN 2265
  • Index(es):
    • Date
    • Thread