Hi nevcairiel,
About timestamps mess of ASP, why don't you try using timestamps from upstream(demuxers)? You can store incoming PTS in a fifo and always assign decoded frames with smallest PTS. Using average duration to calculate PTS is not a good idea even for cfr content because some files may have fake fps stored in the container or bitstream.
|