[FFmpeg-devel] [PATCH 6/7] Implement settb filter.

Stefano Sabatini stefano.sabatini-lala
Mon Oct 11 12:00:40 CEST 2010


On date Monday 2010-10-11 02:09:48 +0200, Michael Niedermayer encoded:
> On Mon, Oct 11, 2010 at 01:15:47AM +0200, Stefano Sabatini wrote:
[...]
> >  doc/filters.texi         |   22 ++++++++++
> >  libavfilter/Makefile     |    1 +
> >  libavfilter/allfilters.c |    1 +
> >  libavfilter/vf_settb.c   |  105 ++++++++++++++++++++++++++++++++++++++++++++++
> >  4 files changed, 129 insertions(+), 0 deletions(-)
> >  create mode 100644 libavfilter/vf_settb.c
> > 
> > diff --git a/doc/filters.texi b/doc/filters.texi
> > index e4c1851..6f60cc3 100644
> > --- a/doc/filters.texi
> > +++ b/doc/filters.texi
> > @@ -428,6 +428,28 @@ ratio of the input image.
> >  
> >  The default value of @var{width} and @var{height} is 0.
> >  
> > + at section settb
> > +
> > +Set the timebase to use for the output frames timestamps.
> > +
> > +It accepts in input an arithmetic expression representing a rational.
> > +
> > +In the case the input is not specified the filter will use for the
> > +output the same timebase as used for the input.
> > +
> > +Follow some examples.
> > +
> > + at example
> > +# set the timebase to 1/25
> > +settb=1/25
> > +
> > +# set the timebase to 1/10
> > +settb=0.1
> > +
> > +#set the timebase to 1001/1000
> > +settb=1+0.001
> 
> the input timebase should be available in the expression

Updated.
-- 
FFmpeg = Faithless & Formidable Mean Picky Extended Gadget



More information about the ffmpeg-devel mailing list