Post

Replies

Boosts

Views

Activity

AVAssetWriter ErrorCode -15595
Hi, since i do not know where else to ask for help on this i'll try my luck here. I'm currently writing my first app with Swift and ran into an error when trying to add a converted CVPixelBuffer to and AVAssetWriterInputPixelBufferAdaptor Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-15595), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282a66ca0 {Error Domain=NSOSStatusErrorDomain Code=-15595 "(null)"}} I could not find any info on code -15595 or anything that might be able to tell me why the buffer is causing issues. The source buffer is ARKits captured image, which i am trying to write to a video file, which is why i need to convert it to ARGB8888 as far as i could gather from the documentation, please correct me if i am wrong.
2
0
503
Sep ’21