I am unable to find any clearcut documentation on configuring AVCaptureSession pipeline to capture video with proResRAW codec type, which is 16 bit format. Is it supported only with AVCaptureMovieFileOutput or one can have AVCaptureVideoDataOutput emitting 16-bit sample buffers that can be vended to AVAssetWriter?
Configuring capture pipeline with ProResRAW codec
Dear testinstadev,
Thanks for your question. Have you read the following technical note: TN3104: Recording video in Apple ProRes? If you have, do you have any specific further questions?
Thank you for your patience,
Richard Yeh Developer Technical Support
Dear testinstadev,
AVCaptureMovieFileOutput and AVCaptureVideoDataOutput are both supported. If you use AVCaptureVideoDataOutput, you must get the required metadata via recommendedMovieMetadata(forVideoCodecType:assetWriterOutputFileType:) to write into the movie. This includes calling setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:completionHandler: with your AVCaptureDevice. Please see the AVFoundation documentation for each function's and class's details.
Thank you for your patience,
Richard Yeh Developer Technical Support