[Live-devel] Determine NAL unit of H264 frame

Ross Finlayson finlayson at live555.com
Sat Apr 6 21:54:03 PDT 2013


> I'm trying to determine the NAL unit type of incoming H264 data in ::afterGettingFrame().

It's easy.  According to the H.264 specification, the "nal_unit_type" is the last 5 bits of the first byte of the NAL unit (i.e., of each 'frame' delivered).

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130406/7c852a57/attachment.html>


More information about the live-devel mailing list