Re: AVAssetWriterInputPixelBufferAdaptor on IOS attempting to write images to a video
Re: AVAssetWriterInputPixelBufferAdaptor on IOS attempting to write images to a video
- Subject: Re: AVAssetWriterInputPixelBufferAdaptor on IOS attempting to write images to a video
- From: "Jan E. Schotsman" <email@hidden>
- Date: Fri, 13 Apr 2012 21:34:53 +0200
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: '*** -
[AVAssetWriterInputPixelBufferAdaptor
appendPixelBuffer:withPresentationTime:] Cannot call method when
status is 0'
Did you call [videoWriter startWriting] ?
Jan E.
_______________________________________________
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