I\'m trying to use AVAssetWriter to write CGImages to a file to create a video from images. I\'ve gotten this to work successfully in three different ways on the simulator, but every method fails on
This code below will compile and run, but the AVAssetWriterInputPixelBufferAdaptor is returning NO when I try to appendBuffer:
AVAssetWriter takes a file URL as an argument and writes buffers appended to its AVAssetWriterInput to that file.
Should I use AVCaptureConnection\'s videoOri开发者_开发知识库entation property, or set the transform property of the videoWriterInput, or something else?Seems like AVCaptureConnection\'s videoOrientat
Is AVAssetWriterInput\'s readyForMoreMediaData updated in a background thread? If readyForMoreMediaData is NO, can I block in the main thread and wait until the value changes to YES?
My app creates an mp4 file. I\'ve verified that the code I have works on the following devices: iPad (OS 4.3.2)
I\'m sure something\'s wrong with my buffer attributes, but it\'s not clear to me what -- it\'s not well documented what\'s supposed to go there, so I\'m guessing based on CVPixelBufferPoolCreate -- a
i´m using the AVAssetImageGenerator to get images from a movieclip without playing it before. Now i´ve got a question how to set up variables in the loop of a handler?
I\'m writing some frames to video with AVAssetWriterInputPixelBufferAdaptor, and the behavior w.r.t. time isn\'t what I\'d expect.
The call to appendPixelBuffer is returning NO on 3GS device (IOS 4.1), but is working well on iPhone 4 devices.