Reputation: 127763
It is easy to record video by two ways: UIImagePicker or ALAssetLibrary.
But if I want to process each frame with image effect filter,then save result as video,how to do that ? I can use AVCaptureVideoDataOutput to process each frame and save filtered frame to still image, but can not save them to video,my question is how to save them to video. If using AVCaptureMovieFileOutput,it is easy to record camera to video, but can not put filter for each frame.
Thanks for any clues or comments.
Upvotes: 7
Views: 2327
Reputation: 13459
As others might have suggested OpenCV is a good choice, unfortunatelly it is super slow on the iphone when compared to other techniques, try using Brad Larsons GPUImage framework.
You can find it here
Upvotes: 1
Reputation: 927
I would strongly suggest using OpenCV, which now supports iPhone. You can find directions here: http://www.computer-vision-software.com/blog/2009/04/opencv-vs-apple-iphone/
The advantage of OpenCV is that you can utilize a pretty large set of functions and transforms out of the box.
Upvotes: 0