Revision 2bc05d35 doc/filters.texi

View differences:

doc/filters.texi
26 26

  
27 27
@section crop
28 28

  
29
Crop the input video to @var{x}:@var{y}:@var{width}:@var{height}.
29
Crop the input video to @var{width}:@var{height}:@var{x}:@var{y}.
30 30

  
31 31
@example
32
./ffmpeg -i in.avi -vf "crop=0:0:0:240" out.avi
32
./ffmpeg -i in.avi -vf "crop=0:240:0:0" out.avi
33 33
@end example
34 34

  
35
@var{x} and @var{y} specify the position of the top-left corner of the
36
output (non-cropped) area.
37

  
38
The default value of @var{x} and @var{y} is 0.
39

  
40 35
The @var{width} and @var{height} parameters specify the width and height
41 36
of the output (non-cropped) area.
42 37

  
43 38
A value of 0 is interpreted as the maximum possible size contained in
44 39
the area delimited by the top-left corner at position x:y.
45 40

  
41
@var{x} and @var{y} specify the position of the top-left corner of the
42
output (non-cropped) area.
43

  
44
The default value of @var{x} and @var{y} is 0.
45

  
46 46
For example the parameters:
47 47

  
48 48
@example
49
"crop=100:100:0:0"
49
"crop=0:0:100:100"
50 50
@end example
51 51

  
52 52
will delimit the rectangle with the top-left corner placed at position

Also available in: Unified diff