Filters

class av.filter.filter.Filter

Bases: object

command_support
description
descriptor
dynamic_inputs
dynamic_outputs
flags
inputs
name
options
outputs
slice_threads
timeline_support
class av.filter.graph.Graph

Bases: object

add(filter, args=None, **kwargs)
add_abuffer(template=None, sample_rate=None, format=None, layout=None, channels=None, name=None, time_base=None)

Convenience method for adding abuffer.

add_buffer(template=None, width=None, height=None, format=None, name=None, time_base=None)
configure(bool auto_buffer=True, bool force=False)
configured
pull()
push(frame)
class av.filter.context.FilterContext

Bases: object

filter
graph
init(args=None, **kwargs)
inputs
name
outputs
pull()
push(Frame frame)

Bases: object

graph
input
output
class av.filter.pad.FilterPad

Bases: object

context
filter
index
is_input
is_output
name
type

The media type of this filter pad.

Examples: ‘audio’, ‘video’, ‘subtitle’.

Type:

str

class av.filter.pad.FilterContextPad

Bases: FilterPad

linked