[Live-devel] rtsp client -> h264 decoder
Kenneth Forsythe
Kenneth.Forsythe at activu.com
Fri Sep 26 10:15:06 PDT 2014
Hi Ross,
I think I wrote that a little confusingly. I am not feeding the cameras into the liveMeda server. The liveMeda server is there as another test source. I am using it to play files, no changes to code.
With that said, I don't actually have the ability to change much of the camera's server properties. The most relevant setting is max packet size which is at 1400.
Since it works in other players, so I can only assume I am doing something wrong on my end.
Thank You,
Ken
From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, September 26, 2014 12:49 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] rtsp client -> h264 decoder
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/b1d87710/attachment.html>
More information about the live-devel
mailing list