Hi,
I have developed the following Encoder system using Link API's. 16 channels @ D1, 60fps
|+----- DEI_H---+
VCAP ----> NSF ----+ MERGE --> ENC --> IPC_RTOS--> IPC_HLOS --> TS_MUX and stream over UDP.
|+----- DEI ----+
I observe a small real time issue with the Capture or the the way DEI drops the frame. My DEI frame rate configuration is below.
deiPrm[i].inputDeiFrameRate = 60;
deiPrm[i].outputDeiFrameRate = 30;
So it must drop every alternative frame. But when I print Capture time in A8 I observe,
Actual Capture time:-
{31689 31721 31753 31785 31817 31833 31865 31897 31929 31961 31993 32025 32041 32073 32105 32137 32169 32201 32217}
Time Diff:-
{ 0 32 32 32 32 16 32 32 32 32 32 32 16 32 32 32 32 32 16}
Ideally the DEI should drop every alternative frame and we should get time difference of 32ms between any two frames. But from the above data we could clearly see, every 4 to 6 frames, the DEI drops the other frame and I get the time difference of 16ms at times.
Any idea what is going wrong? How to solve this issue?. Any particular DEI config make it happen?
while TS streaming, this becomes a serious issue, as the DTS goes ahead of PCR.