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 integrate MPEG4 Encoder into DVSDK?

Dear all,

          We want to integrate MPEG4 Encoder ,which is dowloaded from http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM644X/index_FDS.html , into the DVSDK for DM6446. That is to say, we need to replace the previous evaluation version with the new production version.

          So we follow the steps described in http://processors.wiki.ti.com/index.php/How_do_I_Integrate_new_codecs_into_DVSDK, but an error  orrured when we compile the project.

Here is our steps:

*****************************************************

1. setup the bin into /usr/local

./dm6446_mpeg4enc_2_00_004_production.bin

2.extract the tar in /usr/local

tar –xvf dm6446_mpeg4enc_2_00_004_production.tar

3.copy the codec folder into the codec server

cp –r /usr/local/dm6446_mpeg4enc_2_00_004_production/packages/ti/sdo/codecs/mpeg4enc  /opt/ dvevm_1_20/ codec_servers_1_23/packages/ti/sdo/codecs/

4.make

cd /opt/dvevm_1_20/demos/encode
make

 *********************************************************

The error massage was :

[root@Spring encode]# make >makenew.log
js: "/opt/dvevm_1_20/xdc_2_94/packages/xdc/cfg/Main.xs", line 169: exception from uncaught JavaScript throw: Error: incompatible use of package 'ti.sdo.ce.osal': imported ti.sdo.ce.osal [1,0,0,0], ti.sdo.codecs.mpeg4enc.ce was built with ti.sdo.ce.osal [2, 0, 1]; incompatible use of package 'ti.sdo.ce': imported ti.sdo.ce [1,0,3,0], ti.sdo.codecs.mpeg4enc.ce was built with ti.sdo.ce [1, 0, 5]; incompatible use of package 'xdc.cfg': imported xdc.cfg [1,0,0,0,1177553188153], ti.sdo.codecs.mpeg4enc.ce was built with xdc.cfg [1, 0, 1, 0]
    "/opt/dvevm_1_20/xdc_2_94/packages/xdc/xs.js", line 137
gmake[1]: *** [package/cfg/encode_x470MV.c] Error 1
gmake: *** [encode_config/,.configuro] Error 2
make: *** [encode_config] error 2

Please help us check the root cause, thanks!

 

 

 

 

 

 

  • Hello,

    This indicates that the codec package was built with a later version of CE (looks like CE 2.00 has compatibility keys [2,0,1] for ti.sdo.ce.osal and [1,0,5] for ti.sdo.ce) and you're trying to use it with an earlier (incompatible) version of CE. Thus to use this package, you'll need to upgrade CE.

    You can read about compatibility keys at http://rtsc.eclipse.org/docs-tip/Compatibility_Keys 

    Katie

  • hello,i'm sorry to disturb you.

    we want to setup the dm6446 development dvsdk2. 0 download from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_2_00/latest/index_FDS.html.

    but there are some thing wrong with me,want your help.

    we did it as follow steps.

    1.setup mvl

    mkdir mv_pro_5.0.0 under /opt

    ./mvl_5_0_0801921_demo_sys_setuplinux.bin

    the Setup directory is /opt/mv_pro_5.0.0/

    cd /opt/mv_pro_5.0.0/

    execution ls to list files:

    **************************

    mvltools5_0_0801921_update.tar.gz uninstall

    tar –zxvf mvltools5_0_0801921_update.tar.gz

    2.setup dvsdk

    ./dvsdk_setuplinux_2_00_00_22.bin

    Setup directory is /opt/dvsdk_2_00_00_22

    3.setup xdctools ./xdctools_setuplinux_3_10_05_61.bin

    Setup directory is /opt/dvsdk_2_00_00_22

    4.setup bios ./bios_setuplinux_5_33_03.bin

    Setup directory is /opt/dvsdk_2_00_00_22

    5.setup TI-C6x-CGT-v6.0.21.1.bin

     mkdir ti_cgt_c6000_6.0.21 under /opt/

    ./TI-C6x-CGT-v6.0.21.1.bin

    6.setup codecs

    ./dm6446_codecs_setuplinux_2_00_00_22.bin

    The setup directory is /opt/dvsdk_2_00_00_22

    Then execution ls to list the files under /opt/ dir as follow:

     **********************

    bin
    bios_5_33_03
    biosutils_1_01_00
    ceutils_1_06
    cg_xml_2_12_00
    clips
    codec_engine_2_23_01
    dm355_2_00_00_22_release_notes.html
    dm355_codecs_1_13_000
    dm6446_2_00_00_22_release_notes.html
    dm6467_2_00_00_22_release_notes.html
    dmai_1_20_00_06
    docs
    dsplink-1_61_03-prebuilt
    dvsdk_demos_2_00_00_07
    dvtb_4_00_08
    edma3_lld_1_05_00
    examples
    framework_components_2_23_01
    kernel_binaries
    licenses
    linuxutils_2_23_01
    Makefile
    mapdmaq
    mapdmaq-hd
    PSP_02_00_00_140
    quilt
    Rules.make
    ti_cgt_c6000_6.0.21
    uninstall
    xdais_6_23
    xdctools_3_10_05_61

    7.backup the Rules.make

    cp Rules.make Rules.make.bak

    8.modify the Rules.make

    9. make

    cd /opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/

    make clean

    make

    error message :

    Making all in subdirectory decode...
    make[1]: Entering directory `/opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode'

    ======== Building decode ========
    Configuring application using decode.cfg

    making package.mak (because of package.bld) ...
    generating interfaces for package decode_config (because package/package.xdc.inc is older than package.xdc) ...
    configuring decode.x470MV from package/cfg/decode_x470MV.cfg ...
    Info: Configuring engine named 'decode' from the info file for DSP server './decodeCombo.x64P',
              located in package 'ti.sdo.servers.decode':
          Target app will look for the DSP server image 'decodeCombo.x64P' in its current directory.
          Adding codec 'h264dec' (ti.sdo.codecs.h264dec.ce.H264DEC), scratch groupId=0
          Adding codec 'mpeg2dec' (ti.sdo.codecs.mpeg2dec.ce.MPEG2DEC), scratch groupId=0
          Adding codec 'mpeg4dec' (ti.sdo.codecs.mpeg4dec.ce.MPEG4DEC), scratch groupId=0
          Adding codec 'aachedec' (ti.sdo.codecs.aachedec.ce.AACHEDEC), scratch groupId=1
          Adding codec 'g711dec' (ti.sdo.codecs.g711dec.ce.G711DEC), scratch groupId=1
    Info: Reading DSP memory map from the info file for DSP server './decodeCombo.x64P',
          located in package 'ti.sdo.servers.decode':
    js: "/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/xdc.tci", line 299: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: /opt/dvsdk_2_00_00_22/dmai_1_20_00_06/packages/ti/sdo/dmai/package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.sdo.dmai' is completely built.
        "/opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode/decode.cfg", line 33
        "./package/cfg/decode_x470MV.cfg", line 479
        "./package/cfg/decode_x470MV.cfg", line 434
    gmake: *** [package/cfg/decode_x470MV.c] Error 1
    js: "/opt/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/tools/Cmdr.xs", line 40: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make[1]: *** [decode_config/compiler.opt] Error 1
    make[1]: Leaving directory `/opt/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode'
    make: *** [decode] Error 2

     


    Please help us check the root cause, thanks!

  • Hi,

    In DVSDK 2.0, in order to build the demos you need first to build the DMAI library. From the dvsdk directory please execute "make dmai_clean" and "make dmai"

    Also, please notice that the codecs included in DVSDK 2.00 implement the XDM 1.x interface whereas the codecs included in DVSDK 1.20 implement the XDM 0.9 interface.

    If you have any applications with codecs that you developped in DVSDK 1.20 you would have to update them in order to use the updated XDM 1.x codecs.

    Thanks

    Cesar

  • thanks for your reply,and i want to konw how do i update XDM .In addition,i want to have an ensure about does DVSDK 2.0 kernel Support static ip when configuration nfs boot

  • Hi,

    1) In DVSDK 2.0 the following applications use the XDM 1.x interface. Please use them as examples to modify your own application

    • DVSDK demos available in dvsdk_demos_2_00_00_07
    • DMAI sample applications available in: dmai_1_20_00_06\packages\ti\sdo\dmai\apps. The *_io1 and *_io2 applications use the XDM 1.x interface

    2)  The kernel supports static ip with nfs boot

    Thanks

    cesar