iphone Programming Glossary: cvbufferrelease
Merge Two Video files in iPhone Application http://stackoverflow.com/questions/10071029/merge-two-video-files-in-iphone-application NSThread sleepForTimeInterval 0.05 adaptor appendPixelBuffer buffer withPresentationTime presentTime i if buffer CVBufferRelease buffer NSThread sleepForTimeInterval 0.1 writerInput markAsFinished videoWriter finishWriting videoPathArray addObject path..
Convert UIImage to CMSampleBufferRef http://stackoverflow.com/questions/16475737/convert-uiimage-to-cmsamplebufferref newContext CGContextRelease newContext CGColorSpaceRelease colorSpace CVPixelBufferUnlockBaseAddress imageBuffer 0 CVBufferRelease imageBuffer do not call this return newImage Now I have to convert the resized image back to CMSampleBufferRef to write..
UIImage created from CMSampleBufferRef not displayed in UIImageView? http://stackoverflow.com/questions/3305862/uiimage-created-from-cmsamplebufferref-not-displayed-in-uiimageview
AVFoundation + AssetWriter: Generate Movie With Images and Audio http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio int32_t kRecordingFPS append_ok adaptor appendPixelBuffer buffer withPresentationTime frameTime if buffer CVBufferRelease buffer NSThread sleepForTimeInterval 0.05 else printf adaptor not ready d d n frameCount j NSThread sleepForTimeInterval..
Make movie file with picture Array and song file, using AVAsset http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset j NSThread sleepForTimeInterval 0.1 j if append_ok printf error appending image d times d n frameCount j frameCount CVBufferRelease buffer videoWriterInput markAsFinished videoWriter finishWriting videoWriterInput release videoWriter release m_PictArray..
iPhone Watermark on recorded Video. http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video newContext CGContextRelease newContext CGColorSpaceRelease colorSpace CVPixelBufferUnlockBaseAddress imageBuffer 0 CVBufferRelease imageBuffer do not call this return newImage From there you would convert to a UIImage UIImage img UIImage imageWithCGImage..
|