<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think you may be confused about the purpose of the initial setting of "fFrameRate" in "H264VideoStreamFramer.cpp".  This setting is just a 'guess' - a default setting, to be used if - for some reason - the stream's frame rate cannot be inferred from reading SPS ("Sequence Parameter Set") NAL units.  But if really shouldn't be used.  Ideally, SPS NAL units will tell you what the stream's frame rate is.  But if this can't be done - e.g., because your stream doesn't have any SPS NAL units - then we have to guess the frame rate.  In the code, we 'guess' 25 fps, but that may, or may not be correct.  The best solution is to have SPS NAL units in your stream that tell you what the frame rate really is.<div><br></div><div>But in your email, you said that the guess of 25 fps gave you 'reliable video', but when you changed the guess to 10 fps, you got bad video.  This suggests to me that you were trying to 'change' the video's frame rate - which is not the purpose of this code.  If you really want to change a video stream from 25 fps to 10 fps, then you should be dropping frames from the input; not just trying to change the timing information.</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>