Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
6599 Discussions

Determine the end of the H.264 frame in the stream

paft
Beginner
128 Views

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.

0 Kudos
0 Replies
Reply