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.

ipcInM3Link_tsk.c: pFrame != NULL : failed !!!



i want to encode yuv read from file, so i write code in the flow as following

SYSTEM_HOST_LINK_ID_IPC_FRAMES_OUT_0(A8)-SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0(M3VIDEO)-SYSTEM_LINK_ID_VENC_0(M3VIDEO)-SYSTEM_VIDEO_LINK_ID_IPC_BITS_OUT_0(M3VIDEO)-SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0(A8)

when call "IpcFramesOutLink_putFullVideoFrames", program print " [m3video]  20464: Assertion @ Line: 193 in links_common/ipcInM3/ipcInM3Link_tsk.c: pFrame != NULL : failed !!!", and blocking, does anyone encounter this or any suggestion ?

  • For the usecase where you want to encode yuv data read from a file on A8 , the link connection should be as follows:

    SYSTEM_HOST_LINK_ID_IPC_FRAMES_OUT_0(A8)->SYSTEM_VIDEO_LINK_ID_IPC_FRAMES_IN(M3VIDEO)->SYSTEM_LINK_ID_VENC_0(M3VIDEO)->SYSTEM_VIDEO_LINK_ID_IPC_BITS_OUT_0(M3VIDEO)-SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0(A8)

    Basically you should connect IpcFramesOut (A8) to ipcFramesIn (VideoM3) and not IPC_IN_M3.

    IPC_IN_M3 should only be connected to IPC_OUT_M3 .

    IPC_IN_M3 and IPC_OUT_M3 links can exist only on Video M3 and VPSS M3