I am using AVAssetWriterInputPixelBufferAdaptor to create a video from an array of UIImage's, and i want to change the transition from one image to another in different forms of animations(much like a slide show ... actually exactly like a slideshow).
One of these transitional styles is fade out. since im writing UIImages like so ..
UIImage *image = imageView.image;
UIImage *resizedImage = [ICVideoViewController imageWithImage:image scaledToSize:CGSizeMake(640, 480)];
CGImageRef img = [resizedImage CGImage];
CVPixelBufferRef buffer = [ICVideoViewController pixelBufferFromCGImage:img size:CGSizeMake(640, 480)];
[adaptor appendPixelBuffer:buffer withPresentationTime:CMTimeMake(i, 1)];
I would like to know if it is possible (without having to manually manipulate the pixels) to achieve this .. ?