[FFmpeg-devel] [PATCH 3/4] Add setpts filter by Victor Paesa.

Stefano Sabatini stefano.sabatini-lala
Tue Nov 2 20:45:07 CET 2010


On date Monday 2010-11-01 14:13:02 +0100, Michael Niedermayer encoded:
> On Sun, Oct 31, 2010 at 01:33:07AM +0200, Stefano Sabatini wrote:
[...]
> >  doc/filters.texi         |   66 ++++++++++++++++++
> >  libavfilter/Makefile     |    1 +
> >  libavfilter/allfilters.c |    1 +
> >  libavfilter/vf_setpts.c  |  170 ++++++++++++++++++++++++++++++++++++++++++++++
> >  4 files changed, 238 insertions(+), 0 deletions(-)
> >  create mode 100644 libavfilter/vf_setpts.c
> > 
> > diff --git a/doc/filters.texi b/doc/filters.texi
> > index 157f621..19c4d29 100644
> > --- a/doc/filters.texi
> > +++ b/doc/filters.texi
> > @@ -502,6 +502,72 @@ settb=2*intb
> >  settb=AVTB
> >  @end example
> >  
> > + at section setpts
> > +
> > +Change the PTS (presentation timestamp) of the input video frames.
> > +
> > +Accept in input an expression evaluated through the eval API, which
> > +can contain the following constants:
> > +
> > + at table @option
> > + at item PTS
> > +the presentation timestamp in input
> > +
> > + at item PI
> > +Greek PI
> > +
> > + at item PHI
> > +golden ratio
> > +
> > + at item E
> > +Euler number
> > +
> 
> > + at item TBNUM, TBDEN
> > +input timebase numerator and denomimator
> 
> why seperate ?

No particular reason, since it's not that useful I can simply discard
it.

Patch updated with some more fixes.
-- 
FFmpeg = Frenzy & Fancy Meaningless Puritan Extroverse Gorilla



More information about the ffmpeg-devel mailing list