mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-24 17:12:34 +02:00
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
|
@subsection Examples
|
||||||
@itemize
|
@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
|
@item
|
||||||
Crop the central input area with size 100x100:
|
Crop the central input area with size 100x100:
|
||||||
@example
|
@example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user