I am using the Multimedia DevVideo APIs, for capturing from the camera and encode into H263 Format...
In MMF_DEVVIDEO the CMMFDevVideoRecord is the main client class for recording, which expose the API to Set the options to be used such as DataSource, Buffer options, Select the Encoder, Select the PreProcessor etc., which then can be initiliazed and recording can be started...
I try to use the API GetEncoderListL() and GetPreProcessorListL(), to get the list of encoders and Preprocessors respectively, but both returns 0.
I am also trying to set the Camera as data source using the SetSourceCameraL() API passing the CameraHandle to it, but it crash even when i call it in TRAPD.
TRAPD(lError,iVideoRecorderPtr->SetSourceCameraL(iCameraHandle->Handle(),15));
Similarly the SetBufferOptionL() also crash
TRAPD(lErr,iVideoRecorderPtr->SetBufferOptionsL(lEncoderBufferOption));
Since i am unable to get any UID for encoder i couldn't select the encoder and cannot set Buffer options and dataSource, the Initialize API may be crashing bcoz of this.
I am using DevVideo Library patch for Series 60 SDK 2nd Edition Feature Pack 2.
And my test result is on Nokia 6630 device.
So anything wrong i am doing here or missing anything...
I've the same problem as you say.and when I use initalize() it must out of the program. have any one know what should be written before the initalize() function......