1

I'm using AVAssetWriter and AVAssetWriterInputPixelBufferAdaptor to add mask image into CMSampleBuffer which recorded from AVCaptureSession, but sometimes I got this error when try to append processed pixelBuffer to AVAssetWriterInputPixelBufferAdaptor:

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x170845af0 {Error Domain=NSOSStatusErrorDomain Code=-16364 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16364), NSLocalizedRecoverySuggestion=XXXXDEFAULTVALUEXXXX, NSLocalizedDescription=The operation could not be completed}

Tai Le
  • 8,530
  • 5
  • 41
  • 34

0 Answers0