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.

Latency measurement with milli second accuracy

Hi,

        I am working on a project which requires measurement of latency between 'capture' of a frame (1080p) to 'encoder out' of that frame. Is there any way to measure it with millisecond accuracy?

  • Are you using dvr rdk ? If so latency measurement is already available at msec accuracy .Refer /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vcap_venc_vdec_vdis_bits_rdwr.c

    Int32 VcapVencVdecVdis_updateStatistics(VCODEC_BITSBUF_S *pBuf)

            latency = Avsync_getWallTime() - (((UInt64)pBuf->upperTimeStamp << 32) |  (UInt64)pBuf->lowerTimeStamp);