This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem with hardware plugins

hi ,

I am trying to play a media file (mp4 file) using OMX hardware plugins on DM365 platform.we have generated OMX hardware plugins on Android Froyo version for DM365 platform.

dvsdk version used is dvsdk_3_00_01_10.we are not able to see the DMAI debug messages and CE debug messages even after exporting the variables DMAI_DEBUG and CE_DEBUG .

we somehow manged to print some log messages to find out where its going wrong and that lead to VISA_create2 function

i am getting the following errors when  i play a mp4 file.

E/libnav  ( 1707): Into Codec Engine VIDDEC2_create fun
E/libnav  ( 1707): Into Codec Engine VISA_create fun
E/libnav  ( 1707): Into Codec Engine VISA_create2 fun
E/libnav  ( 1707): VISA_create2> FAILED to create local codec.
E/libnav  ( 1707): VISA_create2 failed
E/libnav  ( 1707): out from Codec Engine VIDDEC2_create fun
E/libnav  ( 1707): Failed to open video decode algorithm
I/omx-dsp ( 1707): 0273928317 [VIDEO.ERROR] Failed to open decoder 'mpeg4dec'
I/omx-dsp ( 1707): 0273928500 [VIDEO.INIT] DSP VIDDEC2 decoder cleanup completed
I/omx-dsp ( 1707): 0273928592 [VIDEO.INIT] Failed to initialize DSP VIDDEC2 codec

we suspect the problem with params argument ,this is the params variable that we are passing to the Vdec2_create function

// Set up codec parameters depending on device


VIDDEC2_Params      params  =  Vdec2_Params_DEFAULT;

        params.forceChromaFormat = XDM_YUV_420SP;
         params.maxWidth          = VideoStd_720P_WIDTH;
         params.maxHeight         = VideoStd_720P_HEIGHT;
         colorSpace               =      ColorSpace_YUV420PSEMI;
         defaultNumBufs           = 5;

please let us know what would be reason for the above message "Failed to create local codec" ,if its with the params argument ,let us know what would be the correct params variable.any help is appreciated .

thanks,

Siva