aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-15 17:08:18 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-12-15 20:48:42 +0100
commit6722f35dd33d8833ea021355aa97abdace3fe856 (patch)
tree5344c2adc5432e7aecd383fa94393a2ab75df740 /doc/filters.texi
parent55b81528a991969f6367e8273c3732f71534fb6f (diff)
downloadffmpeg-6722f35dd33d8833ea021355aa97abdace3fe856.tar.gz
doc/filters: add basic crop examples
Use it to show difference between shorthand and named parameters.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 7e3c7b9aff..794fd47345 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1613,6 +1613,17 @@ for @var{y} may depend on @var{x}.
@subsection Examples
@itemize
@item
+Crop area with size 100x100 at position (12,34).
+@example
+crop=100:100:12:34
+@end example
+
+Using named options, the example above becomes:
+@example
+crop=w=100:h=100:x=12:y=34
+@end example
+
+@item
Crop the central input area with size 100x100:
@example
crop=100:100