diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-10 23:15:06 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 11:51:47 +0200 |
commit | 64a103138c04c1155adb5868a0ae176be3550723 (patch) | |
tree | aa5a6ef2602f63029c9b5537d3a093d094468da2 /doc/filters.texi | |
parent | 35a27402ade928d78f8b7a89c8b4e8bf8b473215 (diff) | |
download | ffmpeg-64a103138c04c1155adb5868a0ae176be3550723.tar.gz |
lavfi/tile: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 63ca00f435..a0616bf2db 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -5414,8 +5414,7 @@ ffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png Tile several successive frames together. -It accepts a list of options in the form of @var{key}=@var{value} pairs -separated by ":". A description of the accepted options follows. +The filter accepts the following options: @table @option @@ -5423,6 +5422,11 @@ separated by ":". A description of the accepted options follows. Set the grid size (i.e. the number of lines and columns) in the form "@var{w}x@var{h}". +@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. + @item margin Set the outer border margin in pixels. @@ -5431,19 +5435,13 @@ 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}]]] +@subsection Examples -For example, produce 8x8 PNG tiles of all keyframes (@option{-skip_frame -nokey}) in a movie: +@itemize +@item +Produce 8x8 PNG tiles of all keyframes (@option{-skip_frame nokey}) in a movie: @example ffmpeg -skip_frame nokey -i file.avi -vf 'scale=128:72,tile=8x8' -an -vsync 0 keyframes%03d.png @end example @@ -5451,12 +5449,14 @@ 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, +@item +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 +@end itemize @section tinterlace |