[MPlayer-dev-eng] pts and video filters

Ivan Kalvachev ikalvachev at gmail.com
Fri Jan 27 15:25:34 CET 2006


2006/1/26, Michael Niedermayer <michaelni at gmx.at>:
> Hi
>
> attached patch outlines how that could be done, alternatively a pts field
> could be added to mp_image_t
> oppinions?

the mp_image could be allocated once and used in many filters (DR).
This means that it is possible for every filter to modify the pts and
mangle it in the process.


BTW I think that passing pts through the filter system is quite easy.
(actually ) But the things that make it complicated are when we must
change it. e.g. frame increase filter will need the pts of the
previous(or pts of next) frame in order to determine the right amount
of increase. We cannot relay on framerate because previous filter may
have altered it already.
There is also need to pass dropped frames info or they will change the
framerate/delay  too... and all the stuff like this.




More information about the MPlayer-dev-eng mailing list