iPhone modify image of CMSampleBuffer - iphone

I am writing an iPhone application that capture video from iPhone back camera and edit that video and record edited video. The following are the functions to perform.
Get video from back camera.
Record the video to some location in iPhone.
Get the 1 mins duration video from the recorded video.
Get the frame by frame CMSampleBuffer from the video.
Modify the image of the CMSampleBuffer and write the modified video in the iPhone.
The steps 1 – 4 are worked fine for me. But the modification of image of the CMSampleBuffer are not working. The modifications I want to perform is draw an additional image in the image of CMSampleBuffer. Draw some texts in the image of the CMSampleBuffer. Can somebody tell me how can I do this?

Related

How can i record video without opening video camera?

How can i record video without opening any camera? My requirement is when a person is in problem his video is recorded but not by opening camera it should work in background.
Thanks
Use AVFoundation Framework for video capturing.
Don't add AVCaptureVideoPreviewLayer to see whats been recorded in current UIView

AVCapture not working well with retina screen

I am trying to use AVCapture in my app to capture the image and post it to a server, but I have a problem with this framework:
With a normal iPhone screen, this framework work very well, but with a retina screen, the AVCamera doesn't work well: The iPhone's video is zooming in to the target higher than the camera, so my camera is too close to the object I want to shoot.
I researched this and saw that the retina device's default camera has this problem too. The image camera and the video camera have different scale zooming, and the AVCamera probably uses the video camera so the target is higher than the image camera. But I want to take the picture with the image camera with AVCapture, how can i do it?

iphone screen recording with audio

I want to record the activities of my app as a video with sound.
I am able to do this with AVAssetWriter and AVAssetWriterInput. Actually I am rendering a view's layer to a gaphicscontext and then use this rendered image to make a video file.
But I am not able to add audio to this video file. I want to add sounds that My app produced to this Video File.
How can I implement this using objective c

Screen Capture Making Video

Can anyone know how to make video recording by capture the screen on iphone? I have an animation and other audio that is working simultaneously with same time and I want to record it as a video so that I can post this video to
You can't capture video from the iPhone screen, but you have a number of options for capturing video from the simulator. See this question for details: video capture software for iPhone Simulator.

Programmatically add filter for real time video for iphone

How to add filter effect for iphone camera, such as video blur or old 8mm effect?
It looks like the current method to do this involves capturing frames from the camera as images using AVCaptureSession, also see this technical Q&A from Apple. After starting an image stream, you'd have to modify the images before displaying them.