|
|||
|
There are a few video recording applications currently available for iPhone but none of them are open source. After poking around with different UIKit class's I've found a method for recording from the camera in real time.
The basic concept is to use the CameraController class's previewView as the input source and use UIWindow's methods of creating a CGImageRef from a rect on the screen to build an array of frames which can then be played back as a video! Though this method plays back video seamlessly, if the array gets too large (100 frames/10 seconds) during playback the app will crash due to an overuse of memory. I will be trying to get an open source example going that can write to the disk soon. I've uploaded a sample fully commented XCode project for everyone to enjoy. Tell me what you think. Max EDIT: I've added a compiled .app for those who just want to see its functionality. |
|
|||
|
Very nice. I think you're going to have some problem porting it over to the SDK, well as an appstore app anyway.
Phanfare had an app that specifically used one of the PrivateFrameworks, PhotoLibrary I think specifically, for CameraController just to give a better picture taking experience (Because we all know UIImagePickerController sucks), and their app has now been removed. |
|
|||
|
Hello Max, Can you please help me add the two frameworks as I am not able to find them. I am new to this and not able to proceed further. Any help regarding the same is greatly appreciated.
I am using Xcode 3.1 (Windows Based Application) and Mac OS X 10.5.4 Btw, great job with the app. Its really helpful. Please let me know if you need any more details. Thanks a lot in advance. Cheers Naveen |
![]() |
| Tags |
| iphone, open source, realtime, recording, video |
| Thread Tools | |
| Display Modes | |
|
|