]> git.sesse.net Git - ffmpeg/blobdiff - doc/libavfilter.texi
APIchanges update for av_d2str()
[ffmpeg] / doc / libavfilter.texi
index 9efeba2f68ca063b7b4d705e85f19fa3fa9f77b1..0e473fdfee676b02dafce827c157e677f73a56bd 100644 (file)
@@ -149,6 +149,46 @@ input to the vflip filter.
 
 Pass the source unchanged to the output.
 
+@section scale
+
+Scale the input video to width:height and/or convert the image format.
+
+For example the command:
+
+@example
+./ffmpeg -i in.avi -vfilters "scale=200:100" out.avi
+@end example
+
+will scale the input video to a size of 200x100.
+
+If the input image format is different from the format requested by
+the next filter, the scale filter will convert the input to the
+requested format.
+
+If the value for ``width'' or ``height'' is 0, the respective input
+size is used for the output.
+
+If the value for ``width'' or ``height'' is -1, the scale filter will
+use, for the respective output size, a value that maintains the aspect
+ratio of the input image.
+
+The default value of ``width'' and ``height'' is 0.
+
+@section slicify
+
+Pass the images of input video on to next video filter as multiple
+slices.
+
+@example
+./ffmpeg -i in.avi -vfilters "slicify=32" out.avi
+@end example
+
+The filter accepts the slice height as parameter. If the parameter is
+not specified it will use the default value of 16.
+
+Adding this in the beginning of filter chains should make filtering
+faster due to better use of the memory cache.
+
 @section vflip
 
 Flip the input video vertically.