public class FilterGraph extends Object implements VideoFilter
A filtergraph can optionally start with sws_flags for scaling of outputs and is then composed of a semi-colon separated series of filterchains.
| Constructor and Description |
|---|
FilterGraph()
Create an empty filtergraph.
|
FilterGraph(FilterChain... chains)
Create a filtergraph with a specified list of filterchains.
|
FilterGraph(String swsFlags,
FilterChain... chains)
Create a filtergraph with a specified list of filterchains and specified sws_flags.
|
| Modifier and Type | Method and Description |
|---|---|
FilterGraph |
addChain(FilterChain chain)
Add a filterchain to this filtergraph.
|
String |
getExpression()
The expression to be used in the video filter argument to ffmpeg
|
FilterGraph |
setSwsFlags(String swsFlags)
set the sws_flags to pass to libavfilter scale filters.
|
public FilterGraph()
public FilterGraph(FilterChain... chains)
chains - The list of filterchains to be used in this filtergraph.public FilterGraph(String swsFlags, FilterChain... chains)
chains - The list of filterchains to be used in this filtergraph.swsFlags - The sws_flags parameter to pass to libavfilter scale filters.public FilterGraph addChain(FilterChain chain)
chain - The filterchain to add to this filtergraph.public FilterGraph setSwsFlags(String swsFlags)
swsFlags - The flags that will; be passed to libavfilter scale filters.public String getExpression()
VideoFiltergetExpression in interface VideoFilterCopyright © 2020. All rights reserved.