[FFmpeg-devel] [PATCH] doc/filters: add basic crop examples

Stefano Sabatini stefasab at gmail.com
Sat Dec 15 17:09:16 CET 2012


Use it to show difference between shorthand and named parameters.
---
 doc/filters.texi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/filters.texi b/doc/filters.texi
index 3f926c2..12677a5 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.
+ at example
+crop=100:100:12:34
+ at end example
+
+Using named options, the example above becomes:
+ at example
+crop=w=100:h=100:x=12:y=34
+ at end example
+
+ at item
 Crop the central input area with size 100x100:
 @example
 crop=100:100
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list