File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -7378,6 +7378,13 @@ ffmpeg -i background.png -i video.mp4 -filter_complex "[1:v]colorkey=0x3BBD1E:0.
7378
7378
@end example
7379
7379
@end itemize
7380
7380
7381
+ @subsection Commands
7382
+ This filter supports same @ref{commands} as options.
7383
+ The command accepts the same syntax of the corresponding option.
7384
+
7385
+ If the specified expression is not valid, it is kept at its current
7386
+ value.
7387
+
7381
7388
@section colorhold
7382
7389
Remove all color information for all RGB colors except for certain one.
7383
7390
@@ -7396,6 +7403,13 @@ Blend percentage. 0.0 makes pixels fully gray.
7396
7403
Higher values result in more preserved color.
7397
7404
@end table
7398
7405
7406
+ @subsection Commands
7407
+ This filter supports same @ref{commands} as options.
7408
+ The command accepts the same syntax of the corresponding option.
7409
+
7410
+ If the specified expression is not valid, it is kept at its current
7411
+ value.
7412
+
7399
7413
@section colorlevels
7400
7414
7401
7415
Adjust video input frames using levels.
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ static const AVFilterPad colorkey_outputs[] = {
199
199
};
200
200
201
201
#define OFFSET (x ) offsetof(ColorkeyContext, x)
202
- #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
202
+ #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
203
203
204
204
#if CONFIG_COLORKEY_FILTER
205
205
@@ -222,6 +222,7 @@ AVFilter ff_vf_colorkey = {
222
222
.inputs = colorkey_inputs ,
223
223
.outputs = colorkey_outputs ,
224
224
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS ,
225
+ .process_command = ff_filter_process_command ,
225
226
};
226
227
227
228
#endif /* CONFIG_COLORKEY_FILTER */
@@ -246,6 +247,7 @@ AVFilter ff_vf_colorhold = {
246
247
.inputs = colorkey_inputs ,
247
248
.outputs = colorkey_outputs ,
248
249
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS ,
250
+ .process_command = ff_filter_process_command ,
249
251
};
250
252
251
253
#endif /* CONFIG_COLORHOLD_FILTER */
You can’t perform that action at this time.
0 commit comments