[Live-devel] rtsp client -> h264 decoder

Ross Finlayson finlayson at live555.com
Fri Sep 26 09:49:27 PDT 2014


> What usually causes this type of behavior?

Truncated video frames, due to your camera's frames (actually, H.264 NAL units) being too large for the outgoing "RTPSink"s buffer.  If this is happening, you should be seeing warning messages on your server's 'stderr', telling you to increase "OutPacketBuffer::maxSize".  You can also check this in your server code by noting whether/when you ever have to set "fNumTruncatedBytes" (due to the NAL unit size being > "fMaxSize").

While increasing "OutPacketBuffer::maxSize" will fix your problem, a better solution is to reconfigure your camera's encoder to not generate such large H.264 NAL units in the first place.


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/20140926/5cc9e226/attachment.html>


More information about the live-devel mailing list