mirror of https://git.ffmpeg.org/ffmpeg.git
doc/filters: add basic crop examples
Use it to show difference between shorthand and named parameters.
This commit is contained in:
parent
55b81528a9
commit
6722f35dd3
|
@ -1612,6 +1612,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
|
||||
|
|
Loading…
Reference in New Issue