Revision 7a11c82f doc/filters.texi

View differences:

doc/filters.texi
1190 1190
through the interface defined in @file{libavfilter/vsrc_buffer.h}.
1191 1191

  
1192 1192
It accepts the following parameters:
1193
@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den}
1193
@var{width}:@var{height}:@var{pix_fmt_string}:@var{timebase_num}:@var{timebase_den}:@var{sample_aspect_ratio_num}:@var{sample_aspect_ratio.den}
1194 1194

  
1195 1195
All the parameters need to be explicitely defined.
1196 1196

  
......
1209 1209
@item timebase_num, timebase_den
1210 1210
Specify numerator and denomitor of the timebase assumed by the
1211 1211
timestamps of the buffered frames.
1212

  
1213
@item sample_aspect_ratio.num, sample_aspect_ratio.den
1214
Specify numerator and denominator of the sample aspect ratio assumed
1215
by the video frames.
1212 1216
@end table
1213 1217

  
1214 1218
For example:
1215 1219
@example
1216
buffer=320:240:yuv410p:1:24
1220
buffer=320:240:yuv410p:1:24:1:1
1217 1221
@end example
1218 1222

  
1219 1223
will instruct the source to accept video frames with size 320x240 and
1220
with format "yuv410p" and assuming 1/24 as the timestamps timebase.
1224
with format "yuv410p", assuming 1/24 as the timestamps timebase and
1225
square pixels (1:1 sample aspect ratio).
1221 1226
Since the pixel format with name "yuv410p" corresponds to the number 6
1222 1227
(check the enum PixelFormat definition in @file{libavutil/pixfmt.h}),
1223 1228
this example corresponds to:

Also available in: Unified diff