<div dir="ltr">You could try using an external timer and parameters from the AVFrame and AVCodecContext such as pts, duration, and framerate to control the presentation of decoded frames.<div><br></div><div>Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 12:50 PM, Blake Senftner <span dir="ltr"><<a href="mailto:bsenftner@earthlink.net" target="_blank">bsenftner@earthlink.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found a GUI bug that was eating my frame rate. Now I have the opposite problem of frames being delivered too fast… A 3 minute 1920x1080 h264 video plays back in 9 seconds…. any timing related suggestions are welcome.<br>
<br>
Sincerely,<br>
-Blake Senftner<br>
Bug Generator<br>
<div class="HOEnZb"><div class="h5"><br>
> On Dec 21, 2016, at 9:31 AM, Blake Senftner <<a href="mailto:bsenftner@earthlink.net">bsenftner@earthlink.net</a>> wrote:<br>
><br>
> I have been able to write a little video player library that handles any type of video file, USB web cam, or IP camera or live stream… but the playback frame rate is never above 15 fps.<br>
><br>
> Even with a 160x40 video file, h264 with nothing but a ticking 29.97 timecode, it plays back at 15 fps while consuming < 2% cpu.<br>
><br>
> I’ve tried AVDictionary settings for framerate, which are not being picked up (left in the AVDictinary.)<br>
><br>
> Lacking any direct frame rate information, what AVDictionary key/values have you found that improve and/or make an improving difference in your efforts to playback video?<br>
><br>
> Sincerely,<br>
> -Blake Senftner<br>
> 疯狂的计算机科学家<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>
______________________________<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>
</div></div></blockquote></div><br></div>