[FFmpeg-cvslog] doc/filters: add basic crop examples
Stefano Sabatini
git at videolan.org
Sat Dec 15 20:51:06 CET 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Dec 15 17:08:18 2012 +0100| [6722f35dd33d8833ea021355aa97abdace3fe856] | committer: Stefano Sabatini
doc/filters: add basic crop examples
Use it to show difference between shorthand and named parameters.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6722f35dd33d8833ea021355aa97abdace3fe856
---
doc/filters.texi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index 7e3c7b9..794fd47 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
More information about the ffmpeg-cvslog
mailing list