Adding frame over video in iphone - objective c - iphone

I am developing an application where the user has the feature to add frames to the video being captured or to the existing video from the library.
This frames are custom design like the ones in news channel, where the subtitle of the video comes with the name of reporter and so on..
for example
The "Live" tag in the top left of the video..
Can anyone guide me the way how shall I accomplish this, atleast can give me a hint what I can use in this project..
Thanks in advance.

For a video being captured, have a look at the cameraOverlayView property of the UIImagePickerController.

Related

Get frames from video, edit and save in iPhone

I am referring this application and want to learn that how can we create like this?
Actually there is the major R&D task for me and I don't even know what to search in this topic.
I don't know , from where to start googling.
According to my understandings, the concepts is, It is getting all frames from video as Image and edit it like draw line on it and then save it, so once video is played it also contains that editing.
I had referred this iFrameExtractor but can't got success.
Please advise me how to start doing R&D on this topic..
Thanks in advance.
Ok i have a answer for your question, First of all u have to get all video from your iPhone. That can be done using ALAssetLibrary after that u have to how thee videos in UITableView. I think that should be easy for u. After selecting a video from a table view u have to play that selected video using MPMoviePlayerController or AVPlayer. After that u have to draw anything.There are number of methods of drawing anything on Videos which are:-
UIBezierPathCurve, UIGraphicsBeginImageContext, Open GLes etc etc
Thats it.try googling on it. thanks :)

iPhone video recording app with label on top

The idea of the app is that the phone records some footage and on top of that should be a label which changes value throughout the filming process. How can the label be added on to the final movie? Is it possible to directly integrate the label to the movie while recording? Any helpful tips or links will be highly appreciated.
Check AVFoundation's reference of AVAssetWriter.
Besides that, there are plenty examples and questions out there on that component - also here on StackOverflow.

iPhone Use UIImagePickerController to capture selective frames from a video

I wanted to use the UiImagePicker to record a video then let the user browse the frames using the scrollview built in the UiImagePicker and while at it, select a few frames that interest the user.
I know I can overlay a control on top of the uiimagepicker to trigger the selection
What I am not sure about is whether I have programatic access to the current frame shown by the UIImagePicker for me to extract an image out of it.
Please let me know if this is doable/possible.
Are there any other time efficient/elegant ways to achieving the above?
I had created by own view with video recording and frame selection (using AVCaptureSession, AVCaptureVideoDataOutput) but would take me quite a bit of time to polish it to make it look good like UIImagePicker plus everyone is familiar with the default camera app in the iPhone.
I hope it makes sense what I want to achieve.
I know one can kind of achieve the goal by taken a screenshot of the screen but I just want the user to click one button to capture the current show frame.
Thanks
Screenshot method did not work for frozen frame from the video recording.
Went with a custom AVFoundation based frame capture.

iphone 4 - How do I record the video overlay on top of the video also?

Does anyone know how to do this?
Is anyone able to provide an example? I believe this is out of NDA now as was available in version 4.0 ?
Take a look to AVFoundation framework , specially to avcapture avsession avinputdevice, etc. You can find some listings in the iPhone dev center forums: search "avcapture"
AVFoundation is the framework you want to use to record, modify raw frames, show them, an offcourse add some overlay
If you want to do only overlay then, UIImagePickerController should b enough.
If i understand, what you are trying to do corectly, you have set up video capture someting like suggested by Apple in this Q&A:http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html
From there it shouldn't be much of a Problem to use the method described in this answer:blend two uiimages based on alpha/transparency of top image to blend the preview with your overlay, provided you draw it in a UIImage first. Feed the resulting images to a buffer and save it accordingly.
Though, this method most certainly wouldn't give you a lot of frames per second.

Display speed on the video while capturing in iphone

I want to do something as follows.
When user is capturing the video from his iPhone 3G, 3GS and iphone4, he should be able to show some data on the screen which will be captured on the video it self, so when we will see the video again, he will be able to see the video along with data on screen.
Like for example we can say I want to display the speed of the vehicle when video was being captured. So when user will see this video after words, he should be able to see the speed on the video it self.
Is this possible in iPhone??? or any body having other ideas for this.
Thanks in advance...
Regards,
VIshaL
It sounds like you want to create some sort of dynamic video overlay.
This is your single best bet towards what you are asking, but I am unsure if it will lead you to the result you need as it may be too dynamic in nature.
http://blog.blackwhale.at/2009/10/custom-video-overlay-view-on-the-iphone/
I hope this helps.