Hi Badri,
Thanks so much for your quick reply!
You know my object is to construct a media server for video conference. Now the video and audio data flow are alright. But the video time delay is a bit too long. I send the capture video stream to DM8168 board and display it in local host at the same time. And I receive and display the video streams from DM8168 board after process. I compare the videos which I captured and receive from DM8168 board. I find that there is more or less 1 second time delay between them. In order to exclude the rtp transmit time delay, I just send the captured video to another host and display. There is nearly no timedelay. So, I need to measure the data process time delay. How could I mark the video frames to get the exact time delay? I try to mark the seq number of the input frame feed to decoder and wait the encoder to produce the frame with the same number. But the result is not right. The time delay I get varys sharply from hundreds of ms to thousands of ms.
I don't know if I am clear. I want to know how to measure the time delay and I don't know why the time delay is so large. Could you give me some advise?
Thanks a lot!