Problem with PrepareVideoCaptureL

Login to reply to this topic.
Sat, 2008-05-24 16:07
Joined: 2006-11-22
Forum posts: 73

Hi to all,

I am implementing a recording application with CCamera api
I modified CCamera autofocus example ton capture video on symbian 9.1 and I am using N73 to test this.
I used
iFormat = CCamera::EFormatYUV420Planar;
TInt sizeIndex = 0, rateIndex = 0;
TSize iResolution;// = Size();
TReal32 iFps;
iCamera->EnumerateVideoFrameSizes( iResolution, 0, CCamera::EFormatYUV420Planar );
iCamera->EnumerateVideoFrameRates( iFps, 0, CCamera::EFormatYUV420Planar, 0 );

// TRAPD(exifErr, iCamera->PrepareImageCaptureL(iFormat, KImageSizeIndex));
TRAPD(exifErr, iCamera->PrepareVideoCaptureL(iFormat,0,0,2,1));

code works fine and control go in FrameBufferReady and It catches only one frame but I am not getting how to get another frame
should I call again PrepareVideoCaptureL function or is there anything else we need to do

Please tell me how can i do this

Thanks in advance

  • Login to reply to this topic.