<HTML><BODY><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;"><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_16726605471556409646_BODY"><div class="cl_761000"><div><div class="gmail_quote_mr_css_attr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote_mr_css_attr"><div><div><div id="m_-7615466201307963749style_16726579780851210439_mr_css_attr"><div id="m_-7615466201307963749style_16726579780851210439_BODY_mr_css_attr"><div><div><div><div><div><div><em>Output #0, rtsp, to 'rtsp://<a href="http://127.0.1.1:555" target="_blank">127.0.1.1:555</a>':</em></div><div><em> Stream #0:0: Video: h264, yuv422p(tv, bt470bg/unknown/unknown), 1280x720, q=2-31, 500 kb/s, 15 tbr, 90k tbn</em></div></div></div><div> </div><div> </div><div>I compared such an approximate calculation of pts/dts in ffprobe for my code and ffmpeg and they match until the real fps becomes different from the calculated one, then I see either delays or frame losses in VLC.</div></div></div></div></div></div></div></div></blockquote><div> </div><div>You can not use 15 from video frame rate to calculate PTS when video is variable frame rate.</div></div></div></div></div></div></div></div></blockquote><div> </div><div>ok, but then how do I calculate the pts/dts of each frame correctly???</div><div>I want my SoC ARM to provide maximum transcoding speed, this is especially important for a resolution of 1920x1080 when fps is 8-11</div></BODY></HTML>