From 2fd880449a181b67e905b48fcbf08963312d2f0c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 21 Jul 2012 10:38:04 +0200 Subject: doc/outdevs: extend documentation for caca -list* options --- doc/outdevs.texi | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'doc/outdevs.texi') diff --git a/doc/outdevs.texi b/doc/outdevs.texi index 4c7a8d1cb6..9499c0f182 100644 --- a/doc/outdevs.texi +++ b/doc/outdevs.texi @@ -57,32 +57,53 @@ Set display driver. Set dithering algorithm. Dithering is necessary because the picture being rendered has usually far more colours than the available palette. +The accepted values are listed with @code{-list_dither algorithms}. @item antialias Set antialias method. Antialiasing smoothens the rendered image and avoids the commonly seen staircase effect. +The accepted values are listed with @code{-list_dither antialiases}. @item charset Set which characters are going to be used when rendering text. +The accepted values are listed with @code{-list_dither charsets}. @item colors Set colors to be used when rendering text. +The accepted values are listed with @code{-list_dither colors}. @item list_drivers -List available drivers. +If set to @option{true}, print a list of available drivers and exit. @item list_dither -List available dither options. +List available dither options related to the argument. +The argument must be one of @code{algorithms}, @code{antialiases}, +@code{charsets}, @code{colors}. @end table @subsection Examples +@itemize +@item The following command shows the @command{ffmpeg} output is an CACA window, forcing its size to 80x25: @example ffmpeg -i INPUT -vcodec rawvideo -pix_fmt rgb24 -window_size 80x25 -f caca - @end example +@item +Show the list of available drivers and exit: +@example +ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_drivers true - +@end example + +@item +Show the list of available dither colors and exit: +@example +ffmpeg -i INPUT -pix_fmt rgb24 -f caca -list_dither colors - +@end example +@end itemize + @section oss OSS (Open Sound System) output device. -- cgit v1.2.3