I’m studying this right now: http://stackoverflow.com/search?q=libav+pts+dts
The top result looks promising. Getting timecodes right look like a challenge... Sincerely, -Blake Senftner soft ware > On Dec 22, 2016, at 10:13 AM, Eric Lee <[email protected]> wrote: > > 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. > > Eric > > On Thu, Dec 22, 2016 at 12:50 PM, Blake Senftner <[email protected]> > wrote: > 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. > > Sincerely, > -Blake Senftner > Bug Generator > > > On Dec 21, 2016, at 9:31 AM, Blake Senftner <[email protected]> wrote: > > > > 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. > > > > 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. > > > > I’ve tried AVDictionary settings for framerate, which are not being picked > > up (left in the AVDictinary.) > > > > 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? > > > > Sincerely, > > -Blake Senftner > > 疯狂的计算机科学家 > > _______________________________________________ > > Libav-user mailing list > > [email protected] > > http://ffmpeg.org/mailman/listinfo/libav-user > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
