// how can I capture the video from the camera and analyze the video frames simultaneously instead of recording it to a file?
If the bitmap viewfinder is supported by the phone camera then you can start it and analyze the viewfinder frames.
Keywords: CCamera Reserve PowerOn StartViewFinderBitmapsL MCameraObserver::ViewFinderFrameReady
See the following example for more details.
"S60 Platform: Camera Example"
But I'm not sure if bitmap viewfinder can work together with CVideoRecorderUtility (i.e. I'm not sure if it is possible to record video clips and at the same time get the viewfinder frames).
If the bitmap viewfinder is not supported then you can use the CCamera::StartVideoCapture() to capture raw video frames. I'm quite sure the API can not be used with CVideoRecorderUtilty at the same time.
// 1. create a CCamera object
// 2. reserve and then wait for the reserve complete event
// 3. power on and then wait for the power on complete event
// 4. CCamera::PrepareVideoCapture() and then CCamera::StartVideoCapture()
// 5. if no error the MCameraObserver::FrameBufferReady() will return video frames continuously