AvfilterSourceThis module provides an API to AVfilter.
type valued_arg = [ | `String of string| `Int of int| `Int64 of int64| `Float of float| `Rational of Avutil.rational ](attached/unattached, audio/video, input/output) pad
type flag = [ | `Dynamic_inputs| `Dynamic_outputs| `Slice_threads| `Support_timeline_generic| `Support_timeline_internal ]val attach :
?args:args list ->
name:string ->
[ `Unattached ] filter ->
config ->
[ `Attached ] filterAttach a filter to a filter graph configuration. Raises Exists if there is already a filter by that name in the graph. Number of inputs or outputs can change from the filter's specifications, in particular if the filter has the `Dynamic_input or `Dynamic_output flag set.
val link :
([ `Attached ], 'a, [ `Output ]) pad ->
([ `Attached ], 'a, [ `Input ]) pad ->
unitLink two filter pads.
Parse a graph described by a string and attach outputs/inputs to it.
type ('a, 'b) parse_av =
(('a, [ `Audio ], 'b) parse_node list, ('a, [ `Video ], 'b) parse_node list)
avCheck validity and configure all the links and formats in the graph and return its outputs and outputs.