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.

TDA2EVM5777: Linux: Does the h.264 input of nullSource support only i-frame?

Part Number: TDA2EVM5777

Hi.

I'm using TDA2EVM5777.

When i using converted h.264 from avi or mp4 format input of nullSrc, the output frame plays back and forth jumping.

(using ffmpeg, $ ffmpeg -i <INPUT_FILE> -c:v libx264 <OUTPUT_FILE>.h264)

And I found that when I played an h.264 file that had only i-frame, that problem didn't occur.

Does the h.264 input of nullSource support only i-frame?

Regards,

Lee.

  • Hi,

    NullSource link is just a file read.

    It will read it as a binary file. So please check decode link params for this.

    Please refer vision_sdk\apps\src\hlos\adas\src\usecases\null_src_decode_display.

    Regards,

    Anuj

  • Hi, Anuj.

    Thanks for reply.

    I checked the decode link params, but i didn't found about I-frame P-frame.

    =================================================================

    UInt32 chId;
    DecLink_ChCreateParams *decPrm;

    for (chId = 0; chId < numCh; chId++)
    {
    UTILS_assert (chId < DEC_LINK_MAX_CH);
    decPrm = &pPrm->chCreateParams[chId];

    decPrm->dpbBufSizeInFrames = DEC_LINK_DPB_SIZE_IN_FRAMES_DEFAULT;
    decPrm->algCreateStatus = DEC_LINK_ALG_CREATE_STATUS_CREATE;
    decPrm->decodeFrameType = DEC_LINK_DECODE_ALL;

    decPrm->processCallLevel = DEC_LINK_FRAMELEVELPROCESSCALL;
    decPrm->targetMaxWidth = maxWidth;
    decPrm->targetMaxHeight = maxHeight;
    decPrm->numBufPerCh = 8;
    decPrm->defaultDynamicParams.targetBitRate = 10*1000*1000;
    decPrm->defaultDynamicParams.targetFrameRate = fps;
    decPrm->fieldMergeDecodeEnable = FALSE;

    /* H.264 */
    decPrm->format = SYSTEM_IVIDEO_H264HP;
    decPrm->profile = 3;
    decPrm->displayDelay = 0;
    }

    =================================================================

    I'd appreciate it if you could give me more detailed information.

    Regards,

    Lee.

  • Hi,

    Can you run null Source decode display usecase with TI provided inputs.

    Regards,

    Anuj

  • Hi, Anuj.

    Does "TI provide input" mean TI CDDS?

    Unfortunately, I don't have TI CDDS account.

    Aren't there any alternatives?

    Regards,

    Lee.

  • Hi,

    Can you try attached file.

    Change input file names as per your usecase.

    Regards,

    Anuj4572.streams_1920x1080.zip

  • Hi, Anuj.

    I tested nullSrcDecDisplay Usecase using your attached video file.

    Decode error occurred, I'm checking and will test more.

    If there is progress, I will update the thread again.

    Regards,

    Lee.

  • Hi,

    What decoder error you got.

    With this input file we have tested our usecases a lot of times.

    So it should work without any issue.

    Regards,

    Anuj

  • Hi,

    Its been long since any update on this thread.

    I hope the issue is resolved.

    If not the please reply below or create a new thread for a different query.

    Regards,

    Anuj