Why not have a set of codecs for which this feature is supported, and only implement this feature for those codecs? Isn't it possible to implement this feature for those codecs which support accurate time-reporting capabilities so you'd know how many frames have passed since the previous I-frame? Ca...