I am using CMMFDevVideoRecord class and able to retrieve the encoder information on Nokia N80 as follows (GetEncoderListL()):

MDF DevVideoRecord encoders (1):
Get info for encoder 0x10204be8
Manufacturer: Nokia
Codec is accelerated

But i am getting error KErrGeneral when i am using Initialize() method - MdvroInitializeComplete is returning with -2

I tried to use all the required methods before Initialize such as << SelectEncoderL(), SetInputFormatL(), SetSourceMemoryL(), SetBufferOptionsL(), SetOutputFormatL() >>. But couldnt succeed.

Somebody let me know what could be my problem.
Is there any example where i could use for the same.

thanks in advance