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.

How to upgrade H.264 encode to support 1080P

Hi ,all

I am using dvsdk_2_00_00_22 and H.264 encode support to 720P.

How to upgrade H.264 encode to support 1080P.

I download H.264 Encoder BP/MP/HP@Level 4.0 Max:1080p@30 frames per second from http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM6467/index_FDS.html

But I still don't know how to upgrade H.264 encode

thanks

zhiqiang

  • You can simple put new codec in directory with old codec.

    If you before it backup old codec this is good.

  • Thanks Kirill,

    I only want to upgrade the H.264 encode , There are some other encode or decode in the codec directory.

    I get the new H.264 encode in the directory  h264fhdvenc  but the old H.264 encode directory is h264enc .

    I mean I don't know how to config to tell the codec to use the h264fhdvenc encode not the h264enc.

    thanks

    zhiqiang

  • I install the  bin, and that create a directory dm6467_h264fhdvenc_01_10_02_05_production . I copy the directory dm6467_h264fhdvenc_01_10_02_05_production/packages/ti/sdo/codecs/h264fhdvenc to my dvsdk corresponding dirctory

    also,I modify the server cfg file

    var H264ENC = xdc.useModule('ti.sdo.codecs.h264fhdvenc.ce.H264FHDVENC');

    But  error occured when make the X64P

    /home/dm6467/dvsdk_2_00_00_22/cg6x_6_0_21/bin/lnk6x -l"/home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/ce/examples/servers/lpr/TH_PlateID_V4.lib" -o lpr.x64P -c main.obj lpr/linker.cmd

    undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _H264FHDVENC_TI_Ipe_Set_SSM      /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _H264EncCalcInitSclQiqCmds_1080  /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_MeInitH264Enc_1080    /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_BsInitH264Enc_1080    /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_EcdInitH264Enc_1080   /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _uiInitialCostI4x4_1080          /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _uiInitialCostI16x16_1080        /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_IpeInitH264Enc_1080   /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_CalcInitH264Enc_1080  /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_McInitH264Enc_1080    /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_LpfInitH264Enc_1080   /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _uiIpeQscaleParams_1080          /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _H264EncECDnonavaildata_1080     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _H264EncHeaderPack_ECD_1080      /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_CalcDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _QP_SCALE_CR_1080                /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_IpeDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _Quant_matrix_4x4_1080           /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _Quant_matrix_8x8_1080           /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_LpfDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _H264EncCalcMbAddressSet_1080    /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_BsDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _qp_mod6_tab_enc_1080            /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_EcdDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_IpeGetOutputH264Enc_1080i
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_McDynamicH264Enc_1080
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_MeDynamicH264Enc720p  /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_MeGetOutputH264Enc720p
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    _hdvicp_TI_MeGetOutputH264Enc1080i
                                     /home/dm6467/dvsdk_2_00_00_22/codec_engine_2_23_01/examples/ti/sdo/codecs/h264fhdvenc/lib/h264fhdvenc_tii.l64P
    >>   error: symbol referencing errors - 'lpr.x64P' not built
    make: *** [lpr.x64P] error 1

     

    I'm sorry ,I am a new user of DM6467

  • Hello, I work with DM36x:

    1. Download latest codec from http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM36x/index_FDS.html
    2. $ ls -lh dm365_h264enc_02_30_00_04_production.bin
    -rw-r--r-- 1 kirill kirill 3.7M Jan 17 09:22 dm365_h264enc_02_30_00_04_production.bin
    3. chmod +x dm365_h264enc_02_30_00_04_production.bin
    4. install codec in target directory
    ./dm365_h264enc_02_30_00_04_production.bin --prefix /tmp/h264enc --mode silent
    5. untar codec
    $ cd /tmp/h264enc && tar xf dm365_h264enc_02_30_00_04_production.tar
    6. copy or move dm365_h264enc_02_30_00_04_production/packages/ti/sdo/codecs/h264enc in DVSDK codec directory

    It is work for DM365 and DM368.

    In you case may be you must rebuild DVSDK components, e.g. codec_engine_2_23_01 with path to new codec.


  • Thanks ,Kirill

    Your method works fine with DM36x,also I do that with DM36x it works fine.

    I slove my problem.

     In DM6467 ,we should modify the server config file and at the same time  download corresponding hdvicp.

    Thank you all the same ,Kirill