Class FilterGraph
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.FilterGraph
Represents ffmpeg filter graph.
Mainly this class exists to make ffmpeg filter graphs more readable for developers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFilterChain(FilterChain chain) Adds filter chain to filter graph.addFilterChains(List<? extends FilterChain> chainsToAdd) Adds multiple filter chains to filter graph.getValue()Prints filter graph description according to ffmpeg filtergraph syntax.static FilterGraphof(FilterChain... filterChains) CreateFilterGraphfrom several filter chains.
-
Constructor Details
-
FilterGraph
public FilterGraph()
-
-
Method Details
-
addFilterChain
Adds filter chain to filter graph.- Parameters:
chain- filter chain- Returns:
- this
-
addFilterChains
Adds multiple filter chains to filter graph.- Parameters:
chainsToAdd- filter chains to add- Returns:
- this
-
getValue
Prints filter graph description according to ffmpeg filtergraph syntax.- Returns:
- filter description
- See Also:
-
of
CreateFilterGraphfrom several filter chains.- Parameters:
filterChains- filter chains- Returns:
- FilterGraph
-