Filters¶
- class bv.filter.filter.Filter¶
Bases:
object
- command_support¶
- description¶
- descriptor¶
- dynamic_inputs¶
- dynamic_outputs¶
- flags¶
- inputs¶
- name¶
- options¶
- outputs¶
- slice_threads¶
- timeline_support¶
- class bv.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: cython.bint = True, bool force: cython.bint = False)¶
- configured¶
- link_nodes(*nodes)¶
Links nodes together for simple filter graphs.
- pull()¶
- push(frame)¶
- set_audio_frame_size(frame_size)¶
Set the audio frame size for the graphs abuffersink. See av_buffersink_set_frame_size.
- vpull()¶
Like pull, but only for VideoFrames.
- vpush(VideoFrame frame: VideoFrame | None)¶
Like push, but only for VideoFrames.
- class bv.filter.context.FilterContext¶
Bases:
object
- filter¶
- graph¶
- init(args=None, **kwargs)¶
- inputs¶
- link_to(FilterContext input_: FilterContext, int output_idx: cython.int = 0, int input_idx: cython.int = 0)¶
- name¶
- outputs¶
- pull()¶
- push(Frame frame: Frame | None)¶