Revision 47941088 doc/filters.texi

View differences:

doc/filters.texi
81 81

  
82 82
will convert the input video to the format "yuv420p".
83 83

  
84
@section frei0r
85

  
86
Apply a frei0r effect to the input video.
87

  
88
To enable compilation of this filter you need to install the frei0r
89
header and configure FFmpeg with --enable-frei0r.
90

  
91
The filter supports the syntax:
92
@example
93
@var{filter_name}:@var{param1}:@var{param2}:...:@var{paramN}
94
@end example
95

  
96
@var{filter_name} is the name to the frei0r effect to load. If the
97
environment variable @env{FREI0R_PATH} is defined, the frei0r effect
98
is searched in each one of the directories specified by the colon
99
separated list in @env{FREIOR_PATH}, otherwise in the standard frei0r
100
paths, which are in this order: @file{HOME/.frei0r-1/lib/},
101
@file{/usr/local/lib/frei0r-1/}, @file{/usr/lib/frei0r-1/}.
102

  
103
@var{param1}, @var{param2}, ... , @var{paramN} specify the parameters
104
for the frei0r effect.
105

  
106
A frei0r effect parameter can be a boolean (whose values are specified
107
with "y" and "n"), a double, a color (specified by the syntax
108
@var{R}/@var{G}/@var{B}, @var{R}, @var{G}, and @var{B} being float
109
numbers from 0.0 to 1.0) or by an @code{av_parse_color()} color
110
description), a position (specified by the syntax @var{X}/@var{Y},
111
@var{X} and @var{Y} being float numbers) and a string.
112

  
113
The number and kind of parameters depend on the loaded effect. If an
114
effect parameter is not specified the default value is set.
115

  
116
Some examples follow:
117
@example
118
# apply the distort0r effect, set the first two double parameters
119
frei0r=distort0r:0.5:0.01
120

  
121
# apply the colordistance effect, takes a color as first parameter
122
frei0r=colordistance:0.2/0.3/0.4
123
frei0r=colordistance:violet
124
frei0r=colordistance:0x112233
125

  
126
# apply the perspective effect, specify the top left and top right
127
# image positions
128
frei0r=perspective:0.2/0.2:0.8/0.2
129
@end example
130

  
131
For more information see:
132
@url{http://piksel.org/frei0r}
133

  
84 134
@section hflip
85 135

  
86 136
Flip the input video horizontally.

Also available in: Unified diff