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

Michael Niedermayer michaelni
Wed Jun 9 03:39:04 CEST 2010


On Wed, Jun 09, 2010 at 12:17:35AM +0200, Stefano Sabatini wrote:
> ---
>  doc/libavfilter.texi     |   46 +++++++++++++++++
>  libavfilter/Makefile     |    1 +
>  libavfilter/allfilters.c |    1 +
>  libavfilter/vf_setpts.c  |  127 ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 175 insertions(+), 0 deletions(-)
>  create mode 100644 libavfilter/vf_setpts.c
> 
> diff --git a/doc/libavfilter.texi b/doc/libavfilter.texi
> index 1de27d9..cf53a93 100644
> --- a/doc/libavfilter.texi
> +++ b/doc/libavfilter.texi
> @@ -237,6 +237,52 @@ ratio of the input image.
>  
>  The default value of @var{width} and @var{height} is 0.
>  
> + at section setpts
> +
> +Change the PTS (presentation timestamp) of the input video frames.
> +
> +Accepts in input an expression evaluated through the eval API, which
> +can contain the following constants:
> +
> + at table
> + at item PTS
> +the presentation timestamp in input
> +
> + at item PI
> +Greek PI
> +
> + at item E
> +Euler number
> +
> + at item AVTB
> +the FFmpeg Time Base
> +
> + at item N
> +the count of the input frame, starting from 0.
> +
> + at item STARTPTS
> +the PTS of the first video frame
> + at end table

missing:
average fps
interlace flag
file position
timebase
guessed real minimal timebase
previous input pts
previous output pts

obviously some of these could be usefull

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

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100609/d6373001/attachment.pgp>



More information about the ffmpeg-devel mailing list