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.

OpenMax Encode

I am trying to use the OpenMax encode component (OMX.TI.DUCATI.VIDENC) with the DM8168. I have modified the decode_display sample application to create an instance of the the component but the call to OMX_GetHandle() fails and the error indicates that the component was not found. I modified my code to call OMX_ComponentNameEnum() to list the components and sure enough the encode component is not present. The components present are:

Begin component list
Component 0 : OMX.TI.VPSSM3.VFCC
Component 1 : OMX.TI.VPSSM3.VFDC
Component 2 : OMX.TI.VPSSM3.VFPC.DEIHDUALOUT
Component 3 : OMX.TI.VPSSM3.VFPC.DEIMDUALOUT
Component 4 : OMX.TI.VPSSM3.VFPC.NF
Component 5 : OMX.TI.VPSSM3.VFPC.INDTXSCWB
Component 6 : OMX.TI.VPSSM3.CTRL.TVP
Component 7 : OMX.TI.VPSSM3.CTRL.DC
Component 8 : OMX.TI.DUCATI.VIDDEC
End component list

I haven't been able to find any documentation that explains how to "instantiate" OMX components. If anyone has used the encode component I would greatly appreciate if you could explain how it is used.

  • I figured this one out in case any one is having the same problem. In the make file for your application, make sure you include venc in the COMP_LIST_m3video and h264enc in the INCLUDE_EXTERNAL_INTERFACES. For example ...

    COMP_LIST_m3video = omxbase venc server scheduler domx omxcore

    INCLUDE_EXERNAL_INTERFACES = bios xdc omx timmosal ipc fc xdais osal syslink ce h264enc uia

     The 2nd step may or may not be necessary.

  • HI Steve,

    That's right. That is supposed to be added for comp_list. Also as new version of SDK is avilable now. It has examples for capture-encode application.

    Regards

    Vimal

  • Hi Steve Boone,

    I am new to OpenMax, and would like to get some sample code/documentation to start up with. Can you show me where I can get some sample code and documentation.

    Best regards,

    Cheng

  • Cheng,

    OpenMax is standard available on web. so If you wish to read about openMax standard, you can visist Khornos webesite. In EZSDK , OpenMax use guide and examples are present, which can be refernced.

    Thanks

    Vimal

  • Hi All,

    The hardware I am having is DVR RDK with software version 00.07.00.02.

    From EZSDK I manage to find a sample code in location omx_05_01_0_80/packages/ti/omx/demos/decode and

    some documentation on example_applications/omtb_01_00_00_02/packages/ti/sdo/omtb/docs/

     

    From the demo code I come across line below:

    eError =   OMX_GetHandle(&pHandle, (OMX_STRING) "OMX.TI.DUCATI.VIDDEC" , pAppData, pAppData->pCb);

    If my understanding is correct, this line is initiliasing OpenMax component (OMX.TI.DUCATI.VIDDEC). Besides this component, what other components is currently made available from TI? Do we have some kinds of document that list all the available component, its functionality and and the configurable settings for each of the components? So far the only way I can do is search through all the sample source with OMX_GetHandle.

    Any advise/recommendations is welcome.

    Thank you very much.

    Cheng

  • HI Cheng:

    Are you check the omx/UserGuild.pdf?

    I see there are a list of components(same as the component in comp/), but I not sure if there are others hide in somewhere....

  • Hi Wu,

    Yes, this is the documents I am looking for. Thanks for pointing this out.