Re: AVAssetWriterInputPixelBufferAdaptor on IOS attempting to write images to a video

2012-04-13 Thread Jan E. Schotsman
On Apr 13, 2012, at 4:49 PM, Damien Cooke wrote: //write it out [adaptor appendPixelBuffer:pixelBuffer withPresentationTime:CMTimeMake(2, 60)]; It crashes here reporting *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** - [AVAssetWriterInpu

AVAssetWriterInputPixelBufferAdaptor on IOS attempting to write images to a video

2012-04-12 Thread Damien Cooke
HI All, I am attempting to write out an image as a movie well, it will be an array of images but to start with I can't even get one in there. Any help diagnosing my problem would be greatly appreciated. Here is what I am doing: //here is the image NSString *path = [NSString stringWithFormat: