aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-15 01:47:47 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-16 00:31:03 +0200
commitb6131ac5d3ba2eccfc728278c756fd97c15bf13d (patch)
tree8b294978a16707e893cdff4af09b84587550d48c /doc/filters.texi
parenteb732b2ade32bc542bc96a3818043623a48303e0 (diff)
downloadffmpeg-b6131ac5d3ba2eccfc728278c756fd97c15bf13d.tar.gz
doc/filters: prefer @itemize environment for frei0r examples
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi23
1 files changed, 16 insertions, 7 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 89bc10a6cf..67242af136 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1827,19 +1827,29 @@ The number and kind of parameters depend on the loaded effect. If an
effect parameter is not specified the default value is set.
Some examples follow:
+
+@itemize
+@item
+Apply the distort0r effect, set the first two double parameters:
@example
-# apply the distort0r effect, set the first two double parameters
frei0r=distort0r:0.5:0.01
+@end example
-# apply the colordistance effect, takes a color as first parameter
+@item
+Apply the colordistance effect, takes a color as first parameter:
+@example
frei0r=colordistance:0.2/0.3/0.4
frei0r=colordistance:violet
frei0r=colordistance:0x112233
+@end example
-# apply the perspective effect, specify the top left and top right
-# image positions
+@item
+Apply the perspective effect, specify the top left and top right image
+positions:
+@example
frei0r=perspective:0.2/0.2:0.8/0.2
@end example
+@end itemize
For more information see:
@url{http://frei0r.dyne.org}
@@ -3528,10 +3538,9 @@ the form @var{num}/@var{den} or a frame rate abbreviation.
information regarding frei0r and how to set the parameters read the
section @ref{frei0r} in the description of the video filters.
-Some examples follow:
+For example, to generate a frei0r partik0l source with size 200x200
+and frame rate 10 which is overlayed on the overlay filter main input:
@example
-# generate a frei0r partik0l source with size 200x200 and frame rate 10
-# which is overlayed on the overlay filter main input
frei0r_src=200x200:10:partik0l=1234 [overlay]; [in][overlay] overlay
@end example