Hi! I'm using USC codecs to process video extracted from RTP stream. The camera I use splits I-frame to several NAL units (each of those is splitted to RTP packets). This is opposite to what other 95% of IP cameras do. They only split frame to RTP packets, marked with begin and end so I can easily determine where the frame starts and when it is completely received.
My program stores video stream in memory as array of frames so my problem is that I cannot determine where this I-frame ends. If I unpack each NAL unit one by one, then I get NOT ENOUGH DATA error till I get the last packet of the frame, but how can I determine the end of this frame without unpacking it?
Thanks a lot for any help.