diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-11-08 23:30:25 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-11-11 22:43:18 +0100 |
commit | 11ed12c256b6158384de8212f55680fd0e749a18 (patch) | |
tree | 5d8013c2f469ce1931eff6fe53538320abed9f21 /doc/filters.texi | |
parent | 75820120588b5da73addf03092194aed38e87e2e (diff) | |
download | ffmpeg-11ed12c256b6158384de8212f55680fd0e749a18.tar.gz |
doc/filters: complete tile documentation.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index eaf0f42a34..00ec9f82f9 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3665,8 +3665,33 @@ ffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png Tile several successive frames together. -It accepts as argument the tile size (i.e. the number of lines and columns) -in the form "@var{w}x@var{h}". +It accepts a list of options in the form of @var{key}=@var{value} pairs +separated by ":". A description of the accepted options follows. + +@table @option + +@item layout +Set the grid size (i.e. the number of lines and columns) in the form +"@var{w}x@var{h}". + +@item margin +Set the outer border margin in pixels. + +@item padding +Set the inner border thickness (i.e. the number of pixels between frames). For +more advanced padding options (such as having different values for the edges), +refer to the pad video filter. + +@item nb_frames +Set the maximum number of frames to render in the given area. It must be less +than or equal to @var{w}x@var{h}. The default value is @code{0}, meaning all +the area will be used. + +@end table + +Alternatively, the options can be specified as a flat string: + +@var{layout}[:@var{nb_frames}[:@var{margin}[:@var{padding}]]] For example, produce 8×8 PNG tiles of all keyframes (@option{-skip_frame nokey}) in a movie: @@ -3677,6 +3702,13 @@ The @option{-vsync 0} is necessary to prevent @command{ffmpeg} from duplicating each output frame to accomodate the originally detected frame rate. +Another example to display @code{5} pictures in an area of @code{3x2} frames, +with @code{7} pixels between them, and @code{2} pixels of initial margin, using +mixed flat and named options: +@example +tile=3x2:nb_frames=5:padding=7:margin=2 +@end example + @section tinterlace Perform various types of temporal field interlacing. |