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

Michael Niedermayer michaelni
Mon Oct 11 13:28:31 CEST 2010


On Mon, Oct 11, 2010 at 12:00:40PM +0200, Stefano Sabatini wrote:
> 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

>  doc/filters.texi         |   29 +++++++++
>  libavfilter/Makefile     |    1 
>  libavfilter/allfilters.c |    1 
>  libavfilter/vf_settb.c   |  141 +++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 172 insertions(+)
> e04deae62fb1020e1b2fd95f7038913132344b50  0001-Implement-settb-filter.patch
> From 662b2889de56273dcf4abf057e74341d196e406a Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Mon, 19 Jul 2010 11:47:16 +0200
> Subject: [PATCH 1/7] Implement settb filter.

looks good if tested

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101011/8c8fd296/attachment.pgp>



More information about the ffmpeg-devel mailing list