Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>