avassetwriter
AVAssetWriter Woes
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[详细]
2023-03-09 23:33 分类:问答I can't get AVAssetWriterInputPixelBufferAdaptor to export a small video
This code below will compile and run, but the AVAssetWriterInputPixelBufferAdaptor is returning NO when I try to appendBuffer:[详细]
2023-03-08 12:16 分类:问答Is it possible to route AVAssetWriter to a network stream in iOS4?
AVAssetWriter takes a file URL as an argument and writes buffers appended to its AVAssetWriterInput to that file.[详细]
2023-03-07 06:49 分类:问答When recording video, how to set transformation (portrait, landscape, etc.) for video?
Should I use AVCaptureConnection\'s videoOri开发者_开发知识库entation property, or set the transform property of the videoWriterInput, or something else?Seems like AVCaptureConnection\'s videoOrientat[详细]
2023-03-06 15:06 分类:问答AVAssetWriterInput and readyForMoreMediaData
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?[详细]
2023-03-02 20:41 分类:问答AVAssetWriter startWriting fails on iPod Touch 3rd Gen / OS 4.2.1
My app creates an mp4 file. I\'ve verified that the code I have works on the following devices: iPad (OS 4.3.2)[详细]
2023-03-01 22:36 分类:问答AVAssetWriterInputPixelBufferAdaptor returns null pixel buffer pool
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[详细]
2023-03-01 16:49 分类:问答AVAssetImageGeneratorCompletionHandler - how to set or return variables?
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?[详细]
2023-03-01 15:48 分类:问答AVAssetWriterInputPixelBufferAdaptor and CMTime
I\'m writing some frames to video with AVAssetWriterInputPixelBufferAdaptor, and the behavior w.r.t. time isn\'t what I\'d expect.[详细]
2023-02-28 22:28 分类:问答Using AVAssetWriter to create a movie from images is not working as expected on a 3GS device
The call to appendPixelBuffer is returning NO on 3GS device (IOS 4.1), but is working well on iPhone 4 devices.[详细]
2023-02-25 16:53 分类:问答