diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-12 22:40:20 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-12 22:40:20 +0400 |
commit | 94498ec98a9f0807b0d418beb5f6a0c76318d074 (patch) | |
tree | a3128da5452650781d1ee2f2bc50e221703d3392 /doc | |
parent | 387b4ac993528d6e25b3d6fe49d5d360b8e62e98 (diff) |
Extend buffer source to accept the time base for the output PTS.
Originally committed as revision 25451 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index c9a6b21a4b..49f87cff36 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -611,7 +611,7 @@ This source is mainly intended for a programmatic use, in particular through the interface defined in @file{libavfilter/vsrc_buffer.h}. It accepts the following parameters: -@var{width}:@var{height}:@var{pix_fmt_string} +@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den} All the parameters need to be explicitely defined. @@ -628,19 +628,23 @@ A string representing the pixel format of the buffered video frames. It may be a number corresponding to a pixel format, or a pixel format name. +@item timebase_num, timebase_den +Specify numerator and denomitor of the timebase assumed by the +timestamps of the buffered frames. @end table For example: @example -buffer=320:240:yuv410p +buffer=320:240:yuv410p:1:24 @end example will instruct the source to accept video frames with size 320x240 and -with format "yuv410p". Since the pixel format with name "yuv410p" -corresponds to the number 6 (check the enum PixelFormat definition in -@file{libavutil/pixfmt.h}), this example corresponds to: +with format "yuv410p" and assuming 1/24 as the timestamps timebase. +Since the pixel format with name "yuv410p" corresponds to the number 6 +(check the enum PixelFormat definition in @file{libavutil/pixfmt.h}), +this example corresponds to: @example -buffer=320:240:6 +buffer=320:240:6:1:24 @end example @section color |