public class FilterChain extends Object implements VideoFilter
A filterchain is a comma separated series of filters.
| Constructor and Description |
|---|
FilterChain()
Create an empty filterchain.
|
FilterChain(Filter... filters)
Create a filterchain with the specified filters
|
| Modifier and Type | Method and Description |
|---|---|
FilterChain |
addFilter(Filter filter)
Add one Filter to this filterchain
|
String |
getExpression()
The expression to be used in the video filter argument to ffmpeg
|
FilterChain |
prependFilter(Filter filter) |
FilterChain |
setInputLabel(String label)
Adds an input label to the first filter in this chain.
|
FilterChain |
setOutputLabel(String label)
Adds an output label to the first filter in this chain.
|
public FilterChain()
public FilterChain(Filter... filters)
filters - The ordered list of filters in this chainpublic FilterChain addFilter(Filter filter)
filter - The Filter to add to this chain.public FilterChain prependFilter(Filter filter)
public FilterChain setInputLabel(String label)
label - The label to use for the input label for the first filter in this chainIndexOutOfBoundsException - if there are no filters in this chain.public FilterChain setOutputLabel(String label)
label - The label to use for the output label for the last filter in this chainIndexOutOfBoundsException - if there are no filters in this chain.public String getExpression()
VideoFiltergetExpression in interface VideoFilterCopyright © 2020. All rights reserved.