<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>However, we are finding a variable number of P frames. Sometimes you will get an I frame every 10th frame, sometimes every 16th frame, etc.<br>I think what's happening is that sometimes multiple P frames are being combined into a single P frame.<br><br>This variable GOP size is a problem for a lot of decoders.<br><br><br>So far we have tested this on 3 different RTSP sources with the same result.<br></div></blockquote></div><br><div>What type of data is this? MPEG-2 Elementary Stream video? H.264 Elementary Stream video? MPEG Transport Stream (containing MPEG-2 or H.264 video)? </div><div><br></div><div>Do the "3 different RTSP sources" come from servers implemented using our code (e.g., using one of our server demo applications), or using some other RTSP server implementation?</div><div><br></div><div>Are you seeing network packet loss (you can test this by running "openRTSP -Q" on the stream)? If you are seeing significant packet loss, then be sure to read <a href="http://www.live555.com/liveMedia/faq.html#packet-loss">http://www.live555.com/liveMedia/faq.html#packet-loss</a></div><div><br></div><div>It's unlikely that our RTP receiving code is 'combining multiple P frames into a single P frame' if the source data is formatted properly according to the appropriate RTP payload format. But if network packet loss is occurring, then the received stream will (of course!) have missing frames (including probably some missing I-frames, because they are larger and thus more susceptible to packet loss (unless they have been built as multiple 'slices')). These lost frames will (of course!) cause video artifacts when the the video is decoded and rendered.</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>