Re: [Live-devel] Determine NAL unit of H264 frame

2013-04-06 Thread Ross Finlayson
> 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://w

[Live-devel] Determine NAL unit of H264 frame

2013-04-06 Thread Kerry Loux
Hello, I'm trying to determine the NAL unit type of incoming H264 data in ::afterGettingFrame(). My goal is to send the data to ffmpeg, and I'm basing my approach on what is described in this thread: http://comments.gmane.org/gmane.comp.multimedia.live555.devel/7743 Can anyone point me in the ri