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.

H264Encoder - Process()

Hi,

Since one year ago I've been enconding videos on DM6446 using:

- IVIDENC (v 1.0.0.97), 

- Mpeg4 Encoder (v 2.03.00)

- Codec engine: 2.00

- XDAIS 6.00

- Code Generation Tools 6.1.5

- DSP/Bios 5.32.01

I've never had any problem.

Now I'd would like to encode videos using H264Enc codec (v 2.00.01). I'm using the same tools (codec engine, xdais, codec generation tools, dsp/Bios...) and the same application test (but loading H264ENC codec instead of MPEG4ENC). The codec is initialized correctly, but the application freezes on VIDENC1_process.

When I compile the DSPCodecServer a warning message appears:

"Warning: incompatible use of package 'ti.sdo.ce.video1': imported ti.sdo.ce.video1 [1,0,0,1193029655625], ti.sdo.codecs.h264enc.ce was built with ti.sdo.ce.video1 [1, 0, 2]; incompatible use of package 'ti.sdo.ce': imported ti.sdo.ce [1,0,5,1193028871674], ti.sdo.codecs.h264enc.ce was built with ti.sdo.ce [1, 0, 6]; incompatible use of package 'xdc.corevers': imported xdc.corevers [16,0,0,1,1193543057776], ti.sdo.codecs.h264enc was built with xdc.corevers [16, 0, 1, 0], ti.sdo.codecs.h264enc.ce was built with xdc.corevers [16, 0, 1, 0]
Adding the following line to your configuration script:
    environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information."

Do I have to change xdc.corevers? Do I have to use a newer version? In this case, which does version I should use? And, Do I also have to use newer versions of CodecEngine, XDAIS, CodecGenerationTools, DSP/Bios... ?

Could the problem be on TCF and CFG files? I attach them.

I also used:

- XDAIS 6.10

- Codec Engine 2.10

- Codec Generation Tools 6.1.5

- BIOS 5.32.04

- IVIDENC1  (v 1. 0. 2.12)

But, then, the application froze on Engine_open().

Thanks,

Santi




  • Hi Santi,

    Please check using the below mentioned tools:

    Framework Component (FC) version 2.20.00.15
    DSP/BIOS version 5.32.02
    Codec Engine version 2.20.00.15
    XDAIS version 6.20.00.07
    XDC version 3.00.06
    Code generation tool version 6.1.2

    Same details can be found in release notes as well.

    Thanks,

    Roopesh

  • I didn't find Code generation tool version 6.1.2. Where can I download it?

  • As I said, I didn't find "Codec Generation Tools 6.1.2", but I checked using the other new tools and I had a few problems:

    - I couldn't dowload DSP/BIOS 5.32.02, so I used 5.32.04 version.

    - "codec_engine_2_21/cetools/packages/ti/sdo/fc/dman3/package.xs" calls findSufix (bios_5_32_04/xdctools/packages/xdc) but, as I read, this function was introduced only in XDCTools 3.10.00 version.So I had to use DSP/BIOS 5.33.06 (the earliest versions which includes XDC Tools 3.15.02)

    - If I use DSP/BIOS 5.33.06 appears this error: "js: "/Quercus/DaVinci/DSP/bios_5_33_06/xdctools/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find platform package ti.platforms.evmDM6446"

    Comparing "bios_5_33_06/packages/ti/platforms/evmDM6446" I saw that the new version (5_33_06) didn't have:

         -> package.xdc

         -> package directory

         -> Platform.xdc

         -> Platform.xs

    What should I have to do?

    - (this is not a problem, only an appointment) I realized the test with botth 2.20 and 2.21 codec engine versions because I don't know how to download Codec Engine with specific version 2.20.00.15. I supose that it wouldn't be a problem.

    Thanks

  • Santipami,

    You can get the TI C6X code generation tools from the following link. You will need to create a my.ti.com account if you don't already have one.

    https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm

    ~  Ramsey

  • Santipami,

    The ti.platforms.evmDM6446 package moved from DSP BIOS to XDCtools. You should be able to find this package if you look in the xdctools_3_15_02/packages folder. Maybe your current package path is still using the older xdc release. Please post the complete error message.

    Thanks
    ~ Ramsey