[Live-devel] A bug of h264 rtp packet's timestamp

Ross Finlayson finlayson at live555.com
Tue Dec 24 02:18:17 PST 2013


No, there's no bug here.  If there's no frame rate specified in the SPS NAL unit (or if no SPS NAL unit is present), then the "H264VideoStreamFramer" code (which reads from a continuous byte stream - e.g., from a file) has no possible way of knowing what frame rate to use.  In this case, it has to just 'guess' a frame rate.

If your stream does not specify a frame rate (in SPS NAL units), then you should not use the "H264VideoStreamFramer" class at all.  (However, if your stream consists of discrete NAL units (i.e., one at a time), then you should use the "H264VideoStreamDiscreteFramer" class instead.  In this case, the frame rate is determined automatically from the rate of arrival of source NAL units.)

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/20131224/1e598ed3/attachment-0001.html>


More information about the live-devel mailing list