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.

DM3730 and use h264 enc and jpegenc codecs at the same time

Other Parts Discussed in Thread: DM3730

Hello,

I can use h264enc codec or jpegenc codec but not at the same time.

If h264enc is already running, I get the following error when trying to open the jpegenc algorithm:

@0x011b8fa9:[T:0x43b7c490] ti.sdo.dmai - [Ienc1] Can't open imaging encode algorithm

Any idea how to workaround that?

  • Hi Guillaume,

    Could you give more details about the issue? What software release running on the board?
    Could you describe the steps and command necessary to reproduce the issue?

    BR
    Tsvetolin Shulev
  • Hello,

    I use DVSDK 4.03.00.06 for DM3730.

    I used a custom software based on demo code.

    h264 encoding is ok. Jpeg encoding alone is ok. But if I try to start a jpeg encoding while h264 encoding is running, jpeg alg creation fails.

    Guillaume

  • Hello.

    I have same problem.

    Do you find any solution for this?

    Regards,

    Vojslav

  • Hello.

    Solution is in new configuration of codec server.

    Jpeg encoder is group 1 on codec server and h264 is in group 0
    (/ti-dvsdk_dm3730-evm_04_03_00_06/codecs-omap3530_4_02_00_00/packages/ti/sdo/server/cs/codec.cfg).

    You need to change grant access to EDMA channels for group 1 and group 0:
    /ti-dvsdk_dm3730-evm_04_03_00_06/codecs-omap3530_4_02_00_00/packages/ti/sdo/server/cs/server.cfg

    DMAN3.numPaRamGroup[GROUP_0] = 96; // number of PaRAM sets for scratch group 0
    DMAN3.numPaRamGroup[GROUP_1] = 31; // number of PaRAM sets for scratch group 1
    DMAN3.numPaRamGroup[GROUP_2] = 0; // number of PaRAM sets for scratch group 2
    DMAN3.numTccGroup[GROUP_0] = 24; // number of TCCs assigned to scratch group 0
    DMAN3.numTccGroup[GROUP_1] = 8; // number of TCCs assigned to scratch group 1
    DMAN3.numTccGroup[GROUP_2] = 0; // number of TCCs assigned to scratch group 2

    Rebuild Codec server and run!

    Regards,
    Vojislav