View Single Post
Old 25th August 2011, 07:49   #1124  |  Link
roozhou
Registered User
 
Join Date: Apr 2008
Posts: 1,181
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.
roozhou is offline   Reply With Quote