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.

DM8168 Full HD decode problem

Hi 

we using DM8168 and RDK04.00.00.03. we having a trouble with DM8168 decoder

we got very large latency by decode Full HD. (around 1 second, but for HD or VGA only 200-300ms) 

we make to some test:

1. decode 8xVGA(30) with 9up screen: fine for latency
2. decode 4x1080P30 with 4up screen: we have latency problem for every channel.
3. decode 3x1080P30 + 1x720P30 with 4up screen: we still have latency problem on 1080P30 channel but no       problem on 720P30 channel.
4. decode 1x1080P30 with 1up screen: we still have latency problem on 1080P30.
5. decode 1x720P30 with 1up screen: we have no latency problem on 720P30.

We use same way and same buffer to decode VGA or HD or Full HD. No any
special difference between FHD and HD and VGA.

we not use McFw, avsync link. and only get buffer  put buffer

IpcBitsOutLink_getEmptyVideoBitStreamBufs(SYSTEM_HOST_LINK_ID_IPC_BITS_OUT_0, &ipcBufList, &ipcReqInfo);

for (i=0; i<ptr_num; i++) {
memcpy((ipcBufList.bufs[0]->addr + index), ptr[i].iov_base, ptr[i].iov_len);
index += ptr[i].iov_len;
}
ipcBufList.bufs[0]->fillLength = size;

IpcBitsOutLink_putFullVideoBitStreamBufs(SYSTEM_HOST_LINK_ID_IPC_BITS_OUT_0, &ipcBufList);

Could you please give me some advices or tips on this issue?  Thank you!

  • Pls add timestamp to each bitstream buffer as shown n

    /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vdec_vdis_bits_rd.c

    VdecVdis_setFrameTimeStamp

    pEmptyBuf->timestamp = (UInt32)Avsync_getWallTime();

    After including this change in your application pls share the logs of Vsys_printDetailedStatistics when feeding 1080P30 stream