summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-24 23:14:01 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-24 23:14:01 +0000
commit2bc05d35470d5a18f9c6d2d10be9c1c8ddc2f634 (patch)
treec861f42870be72be249487c5b9f5b6e65bc9f143 /doc/filters.texi
parentd66a546f77391cbac6e0453f4d76791ed94a61a2 (diff)
Change the syntax of the crop filter from x:y:w:h to w:h:x:y.
Slightly more intuitive and required by a pending changes for making the filter parametric. Originally committed as revision 25184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 2309c56ac6..f934082d9a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -26,27 +26,27 @@ Below is a description of the currently available video filters.
@section crop
-Crop the input video to @var{x}:@var{y}:@var{width}:@var{height}.
+Crop the input video to @var{width}:@var{height}:@var{x}:@var{y}.
@example
-./ffmpeg -i in.avi -vf "crop=0:0:0:240" out.avi
+./ffmpeg -i in.avi -vf "crop=0:240:0:0" out.avi
@end example
-@var{x} and @var{y} specify the position of the top-left corner of the
-output (non-cropped) area.
-
-The default value of @var{x} and @var{y} is 0.
-
The @var{width} and @var{height} parameters specify the width and height
of the output (non-cropped) area.
A value of 0 is interpreted as the maximum possible size contained in
the area delimited by the top-left corner at position x:y.
+@var{x} and @var{y} specify the position of the top-left corner of the
+output (non-cropped) area.
+
+The default value of @var{x} and @var{y} is 0.
+
For example the parameters:
@example
-"crop=100:100:0:0"
+"crop=0:0:100:100"
@end example
will delimit the rectangle with the top-left corner placed at position