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.

Codec Engine issue on DM365

Hi all

     Could some one help on these Codec Engine issue on DM365?

      1.  I had tryed to RUN MPEG4+H264, MPEG4+JPEG, or H264+JPEG on DM365, but failed to run MPEG4+H264+JPEG at the same time, could some help me how to solve this? or point out the the spec that the DM365 don't support this?

      2. Could some one tell me the maximum channel streaming that can be encoded on DM365 at the same time? for example, encode 2 channel H264 + 2 channel mpeg4 at the same time, I had tryed this, but failed at :

                       CMEM Error: getPool: Failed to get a pool fitting a size 56
                       Failed to open video encode algorithm: mpeg4enc (0x0)

       Here is my CMEM parameters:

                   insmod cmemk.ko phys_start=0x85000000 phys_end=0x88000000 pools=6x4096,2x8192,1x11908,2x13184,1x2697152,6x4096,1x30720,3x81920,1x3185664,64x56,1x320,1x640,1x81920,2x5650880,2x608,1x296,1x28,2x24,13x1548288,1x8650880 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

     Thanks.

  • Tracy,

    Can you reveal what version of the DVSDK you are currently using?

  • Hi David:

         I'm using dvsdk_2_10_01_18, codec engine is codec_engine_2_24.

  • Not sure if this will directly address your issue, but if you can, you should update to the DVSDK 3.10 beta release:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html

     

     

  • Hi Tracy,

    Regarding your CMEM error, you can resolve it by allocating more CMEM buffers of size 56.  For example, if you want 70 buffers of size 56, you simply need to change the CMEM parameters to

                       insmod cmemk.ko phys_start=0x85000000 phys_end=0x88000000 pools=6x4096,2x8192,1x11908,2x13184,1x2697152,6x4096,1x30720,3x81920,1x3185664,70x56,1x320,1x640,1x81920,2x5650880,2x608,1x296,1x28,2x24,13x1548288,1x8650880 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

    You may also need to adjust the overall amount of memory allocated for CMEM by tweaking phys_start and phys_end to ensure there is enough space to accommodate for all the buffer pools.

    Best regards,

    Vincent


  • Hi David:

        Does DVSDK_3_10 support encode MPEG4+JPEG+h264 at the same time?

  • Hi Tracy,

    DVSDK 3.10 does support these codecs.

    You would need to adjust the CMEM pool configuration provided in the DVSDK for the combinations that you are trying out.

    Also, please note that the same CMEM configurations that you would find out on the combination with a particular resolution, may not work for different resolutions set for the codecs in that combination . So, you would need to find out the one CMEM pool configuration which fits OK for all the resolutions of your interest.

    -Thanks,

    Aravind