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.

partialFrameSkip cannot work

Dear Experts,

We are using DM8148/DVR_RDK 3.5.

We update codec to REL.500.V.H264AVC.E.IVAHD.02.00.08.01.

But after update codec(REL.500.V.H264AVC.E.IVAHD.02.00.04.01) to latest codec(REL.500.V.H264AVC.E.IVAHD.02.00.08.01), partialFrameSkip cannot work.

We found some different settings:

-------------------------------------

IVAHD.02.00.04.01:

       sliceCodingParams -> sliceCodingPreset  : 1

        sliceCodingParams -> sliceMode          : 9120

        sliceCodingParams -> sliceUnitSize      : 9184

        sliceCodingParams -> sliceStartOffset   : [2 35 66]

        sliceCodingParams -> streamFormat       : 2

-------------------------------------

IVAHD.02.00.08.01

        sliceCodingParams -> sliceCodingPreset  : -96

        sliceCodingParams -> sliceMode          : 9184

        sliceCodingParams -> sliceUnitSize      : 3788870

        sliceCodingParams -> sliceStartOffset   : [0 12 -117]

        sliceCodingParams -> streamFormat       : 57

-------------------------------------

Will these codec parameter settings affect partialFrameSkip scheme?

which set is better setting?

HB

  • Dear HB,

    Both the settings doesn't look to hold proper values for the parameters. Could you please tell how did you get these values ?

    .

    Best Regards,

    Nandu.

  • Dear Nandu,

    We get these parameters by syslink api:

    ----------------------

    EncLink_GetDynParams params = { 0 };    
    params.chId = 1;
    System_linkControl(gVencModuleContext.encId, ENC_LINK_CMD_GET_CODEC_PARAMS,&params, sizeof(params), TRUE);

    This should call

    Int32 EncLinkH264_algGetConfig(EncLink_algObj * algObj)

    -->

    enclink_h264_print_dynamic_params(chId, (IH264ENC_DynamicParams*)&status.videnc2Status.encDynamicParams);
    enclink_h264_print_static_params(&algObj->u.h264AlgIfObj.staticParams);

    ----------------------

    HB

  • Hi HB,

    I'll go through the same. Meanwhile can you please share complete set of static and dynamic parameters from both the versions ?

    .

    Best Regards,

    Nandu.

  • Dear Nandu,

    I provide the comparison table as attached excel sheet.8712.EncoderSettings_Comparison_tie2e.xlsx

    Plz check.

    The only difference is

    partialFrameSkip can work:

    [m3video] sliceCodingParams -> sliceStartOffset   : [0 12 0]                               

    [m3video] sliceCodingParams -> streamFormat       : 0  

     --------------

    partialFrameSkip cannot work:

    [m3video] sliceCodingParams -> sliceStartOffset   : [0 12 -117]                        

    [m3video] sliceCodingParams -> streamFormat       : 57 

     --------------

    Plz provide your opinion ~

    thx ~

    HB

  • Dear HB,

    The slice params has nothing to do with partial frame skip. Did you try with CBR ? 

    Also please check this post where a patch is included in order to print properly the slice params as well.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/365435/1295570.aspx#1295570

    .

    Best regards,

    Nandu.