<div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Sep 22, 2017 11:40 AM, "Sergio Basurco" <<a href="mailto:sergio.b@coherentsynchro.com">sergio.b@coherentsynchro.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Please correct me if I'm wrong: In order to display a decoded
stream, I need either the exact framerate, or the PTS for the
decoded frames.</p>
<p>I'm only using avcodec, and my own RTSP client and H264 parser.
What are the values that need to be set for me to find either
framerate or PTS? <br>
</p>
<p>I think framerate may not be provided, as it's not forced by the
H264 standard. But the PTS should be available. How can I make
sure the decoder sets these?<font color="#888888"><br>
</font></p><font color="#888888">
<div class="m_2823120545010698810moz-signature">-- <br>
<p>Saludos / Best regards, <br>
<br>
<b>Sergio Basurco</b> <br>
Coherent Synchro</p>
</div>
</font></div>
<br>______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/<wbr>listinfo/libav-user</a><br>
<br></blockquote></div>hello, divide the rtp timestamp by 90000.0 as a double to get seconds value stream time. use rtcp sender reports to align stream time to wall clock, or just use the initial timestamp as a zero point.</div></div>