How to record and play a captured video using AVAssertWriter and AVAssertReader in iphone sdk - iphone

I am displaying the camera data (video) on the preview layer.Now I want to record the video and store it in a local file and access it to play on the screen.
I had seen some websites that it is possible with AVAssertWriter and AVAssertReader. Its very difficult for me to understand. Can any one advice me in a clearcut manner or with any sample code.
Anyone's help will be much appreciated.
Thanks to all,
Monish.

Related

How to stream out video from iphone?

I want to make an application to stream out a UIVIEW. So it can be watch from a webplayer for example Flash or HTML 5. But I am really lost how to start. Any Idea would be appreciated.
I've also been working on such a project recently and I found the help of these websites very useful: http://www.html5rocks.com/en/tutorials/getusermedia/intro/, http://davidwalsh.name/browser-camera, or https://simpl.info/getusermedia/sources/
It can be done via HTML5 and Javascript and it's relatively easy to do.
Hope they help!
EDIT: Maybe I misinterpreted your question. Do you want to stream the camera from the iPhone, or do you want to stream the screen of the iPhone?

IPhone: Video API: Live video streaming modify

I have a question about video stream processing. Is it possible to get access and modify real time video stream during recording (f.e. I want to add some text to video)? I can do this as a preview by getting separate frames, but I'm looking for tool which will allow me to store video with my text in video frames.
Probably there is already some libraries/tools available (but I haven't found any yet).
Try GPUIMAGE library. It can help you.
You should check AVCam sample code by apple. That might be a starting point.

Streaming a video on iPhone and then storing it on the device

I've been told that some apps have video streaming which streams initially and when completely downloaded the video is stored to the user's device for quick and internet-free subsequent viewing.
Firstly, is this possible? Secondly, could you point me towards resources demonstrating how it could be done, or possibly offer some insight to get me started?
Thanks friends.
good tutorial on how to stream video:
http://buildmobilesoftware.com/2010/08/09/how-to-stream-videos-on-the-iphone-or-ipad/

iPhone App Development - Audio Queue Recording

I am currently working on an App which needs to get some data from the microphone. I have read through some resources on the Internet and believe that Audio Queue is a good library to do it.
I only need to get an array which stores the microphone input data, and do not need to play it back.
Can anyone kindly give some hints on that? Greatly appreciated if a simple sample/essential code fragments can be given.
Speak Here App given by the Apple can give you some idea.You can get the link here http://developer.apple.com/iPhone/library/samplecode/SpeakHere/index.html

Is there a way to render IPhone mic input directly into memory without working with files?

I see that the IPhone core audio does not include audioDevice objects to render audio input directly into RAM. I hear people talking about using files to do this(like speak here) but I am thinking there must be a way to do this otherwise. Your thoughts would be appreciated.
Check out the aurioTouch sample in the iPhone Developer site.