Liquidsoap scripting language reference

The Source / … categories contain all functions that return sources. The Input functions are those which build elementary sources (playing files, synthesizing sound, etc.). The Output functions are those which take a source and register it for being streamed to the outside (file, soundcard, audio server, etc.). The Visualization functions are experimental ones that let you visualize in real-time some aspects of the audio stream. The Sound Processing functions are those which basically work on the source as a continuous audio stream. They would typically be mixers of streams, audio effects or analysis. Finally, Track Processing functions are basically all others, often having a behaviour that depends on or affects the extra information that liquidsoap puts in streams: track limits and metadata.

Bool

Control

File

Filter

ffmpeg.filter.abench

Ffmpeg filter: Benchmark part of a filtergraph.

Type:

(?action : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • action (of type int?, which defaults to null): set action. (default: 0, possible values: 0 (start), 1 (stop))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.abench.create

Ffmpeg filter: Benchmark part of a filtergraph.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?action : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • action (of type int?, which defaults to null): set action. (default: 0, possible values: 0 (start), 1 (stop))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.abitscope

Ffmpeg filter: Convert input audio to audio bit scope video output.

Type:

(?rate : string?, ?r : string?, ?size : string?,
 ?s : string?, ?colors : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.video

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 1024x256)
  • s (of type string?, which defaults to null): set video size. (default: 1024x256)
  • colors (of type string?, which defaults to null): set channels colors. (default: red|green|blue|yellow|orange|lime|pink|magenta|brown)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.abitscope.create

Ffmpeg filter: Convert input audio to audio bit scope video output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : string?, ?r : string?, ?size : string?,
 ?s : string?, ?colors : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 1024x256)
  • s (of type string?, which defaults to null): set video size. (default: 1024x256)
  • colors (of type string?, which defaults to null): set channels colors. (default: red|green|blue|yellow|orange|lime|pink|magenta|brown)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acompressor

Ffmpeg filter: Audio compressor.

Type:

(?level_in : float?, ?mode : int?, ?threshold : float?,
 ?ratio : float?, ?attack : float?, ?release : float?,
 ?makeup : float?, ?knee : float?, ?link : int?,
 ?detection : int?, ?level_sc : float?, ?mix : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (downward), 1 (upward))
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.125)
  • ratio (of type float?, which defaults to null): set ratio. (default: 2.)
  • attack (of type float?, which defaults to null): set attack. (default: 20.)
  • release (of type float?, which defaults to null): set release. (default: 250.)
  • makeup (of type float?, which defaults to null): set make up gain. (default: 1.)
  • knee (of type float?, which defaults to null): set knee. (default: 2.82843)
  • link (of type int?, which defaults to null): set link type. (default: 0, possible values: 0 (average), 1 (maximum))
  • detection (of type int?, which defaults to null): set detection. (default: 1, possible values: 0 (peak), 1 (rms))
  • level_sc (of type float?, which defaults to null): set sidechain gain. (default: 1.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acompressor.create

Ffmpeg filter: Audio compressor.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?mode : int?, ?threshold : float?,
 ?ratio : float?, ?attack : float?, ?release : float?,
 ?makeup : float?, ?knee : float?, ?link : int?,
 ?detection : int?, ?level_sc : float?, ?mix : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (downward), 1 (upward))
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.125)
  • ratio (of type float?, which defaults to null): set ratio. (default: 2.)
  • attack (of type float?, which defaults to null): set attack. (default: 20.)
  • release (of type float?, which defaults to null): set release. (default: 250.)
  • makeup (of type float?, which defaults to null): set make up gain. (default: 1.)
  • knee (of type float?, which defaults to null): set knee. (default: 2.82843)
  • link (of type int?, which defaults to null): set link type. (default: 0, possible values: 0 (average), 1 (maximum))
  • detection (of type int?, which defaults to null): set detection. (default: 1, possible values: 0 (peak), 1 (rms))
  • level_sc (of type float?, which defaults to null): set sidechain gain. (default: 1.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acontrast

Ffmpeg filter: Simple audio dynamic range compression/expansion filter.

Type:

(?contrast : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • contrast (of type float?, which defaults to null): set contrast. (default: 33.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acontrast.create

Ffmpeg filter: Simple audio dynamic range compression/expansion filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?contrast : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • contrast (of type float?, which defaults to null): set contrast. (default: 33.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acopy

Ffmpeg filter: Copy the input audio unchanged to the output.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acopy.create

Ffmpeg filter: Copy the input audio unchanged to the output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acrossfade

Ffmpeg filter: Cross fade two input audio streams.

Type:

(?nb_samples : int?, ?ns : int?, ?duration : int?,
 ?d : int?, ?overlap : bool?, ?o : bool?, ?curve1 : int?,
 ?c1 : int?, ?curve2 : int?, ?c2 : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • nb_samples (of type int?, which defaults to null): set number of samples for cross fade duration. (default: 44100)
  • ns (of type int?, which defaults to null): set number of samples for cross fade duration. (default: 44100)
  • duration (of type int?, which defaults to null): set cross fade duration. (default: 0)
  • d (of type int?, which defaults to null): set cross fade duration. (default: 0)
  • overlap (of type bool?, which defaults to null): overlap 1st stream end with 2nd stream start. (default: true)
  • o (of type bool?, which defaults to null): overlap 1st stream end with 2nd stream start. (default: true)
  • curve1 (of type int?, which defaults to null): set fade curve type for 1st stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c1 (of type int?, which defaults to null): set fade curve type for 1st stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • curve2 (of type int?, which defaults to null): set fade curve type for 2nd stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c2 (of type int?, which defaults to null): set fade curve type for 2nd stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acrossfade.create

Ffmpeg filter: Cross fade two input audio streams.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?nb_samples : int?, ?ns : int?, ?duration : int?,
 ?d : int?, ?overlap : bool?, ?o : bool?, ?curve1 : int?,
 ?c1 : int?, ?curve2 : int?, ?c2 : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • nb_samples (of type int?, which defaults to null): set number of samples for cross fade duration. (default: 44100)
  • ns (of type int?, which defaults to null): set number of samples for cross fade duration. (default: 44100)
  • duration (of type int?, which defaults to null): set cross fade duration. (default: 0)
  • d (of type int?, which defaults to null): set cross fade duration. (default: 0)
  • overlap (of type bool?, which defaults to null): overlap 1st stream end with 2nd stream start. (default: true)
  • o (of type bool?, which defaults to null): overlap 1st stream end with 2nd stream start. (default: true)
  • curve1 (of type int?, which defaults to null): set fade curve type for 1st stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c1 (of type int?, which defaults to null): set fade curve type for 1st stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • curve2 (of type int?, which defaults to null): set fade curve type for 2nd stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c2 (of type int?, which defaults to null): set fade curve type for 2nd stream. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio, ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acrossover

Ffmpeg filter: Split audio into per-bands streams. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?split : string?, ?order : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • split (of type string?, which defaults to null): set split frequencies. (default: 500)
  • order (of type int?, which defaults to null): set order. (default: 1, possible values: 0 (2nd), 1 (4th), 2 (8th))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acrossover.create

Ffmpeg filter: Split audio into per-bands streams. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?split : string?, ?order : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • split (of type string?, which defaults to null): set split frequencies. (default: 500)
  • order (of type int?, which defaults to null): set order. (default: 1, possible values: 0 (2nd), 1 (4th), 2 (8th))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acrusher

Ffmpeg filter: Reduce audio bit resolution.

Type:

(?level_in : float?, ?level_out : float?, ?bits : float?,
 ?mix : float?, ?mode : int?, ?dc : float?, ?aa : float?,
 ?samples : float?, ?lfo : bool?, ?lforange : float?,
 ?lforate : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set level in. (default: 1.)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • bits (of type float?, which defaults to null): set bit reduction. (default: 8.)
  • mix (of type float?, which defaults to null): set mix. (default: 0.5)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lin), 1 (log))
  • dc (of type float?, which defaults to null): set DC. (default: 1.)
  • aa (of type float?, which defaults to null): set anti-aliasing. (default: 0.5)
  • samples (of type float?, which defaults to null): set sample reduction. (default: 1.)
  • lfo (of type bool?, which defaults to null): enable LFO. (default: false)
  • lforange (of type float?, which defaults to null): set LFO depth. (default: 20.)
  • lforate (of type float?, which defaults to null): set LFO rate. (default: 0.3)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acrusher.create

Ffmpeg filter: Reduce audio bit resolution.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?level_out : float?, ?bits : float?,
 ?mix : float?, ?mode : int?, ?dc : float?, ?aa : float?,
 ?samples : float?, ?lfo : bool?, ?lforange : float?,
 ?lforate : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set level in. (default: 1.)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • bits (of type float?, which defaults to null): set bit reduction. (default: 8.)
  • mix (of type float?, which defaults to null): set mix. (default: 0.5)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lin), 1 (log))
  • dc (of type float?, which defaults to null): set DC. (default: 1.)
  • aa (of type float?, which defaults to null): set anti-aliasing. (default: 0.5)
  • samples (of type float?, which defaults to null): set sample reduction. (default: 1.)
  • lfo (of type bool?, which defaults to null): enable LFO. (default: false)
  • lforange (of type float?, which defaults to null): set LFO depth. (default: 20.)
  • lforate (of type float?, which defaults to null): set LFO rate. (default: 0.3)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.acue

Ffmpeg filter: Delay filtering to match a cue.

Type:

(?cue : int?, ?preroll : int?, ?buffer : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • cue (of type int?, which defaults to null): cue unix timestamp in microseconds. (default: 0)
  • preroll (of type int?, which defaults to null): preroll duration in seconds. (default: 0)
  • buffer (of type int?, which defaults to null): buffer duration in seconds. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.acue.create

Ffmpeg filter: Delay filtering to match a cue.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cue : int?, ?preroll : int?, ?buffer : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • cue (of type int?, which defaults to null): cue unix timestamp in microseconds. (default: 0)
  • preroll (of type int?, which defaults to null): preroll duration in seconds. (default: 0)
  • buffer (of type int?, which defaults to null): buffer duration in seconds. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.addroi

Ffmpeg filter: Add region of interest to frame.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?qoffset : string?, ?clear : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): Region distance from left edge of frame.. (default: 0)
  • y (of type string?, which defaults to null): Region distance from top edge of frame.. (default: 0)
  • w (of type string?, which defaults to null): Region width.. (default: 0)
  • h (of type string?, which defaults to null): Region height.. (default: 0)
  • qoffset (of type string?, which defaults to null): Quantisation offset to apply in the region.. (default: -1/10)
  • clear (of type bool?, which defaults to null): Remove any existing regions of interest before adding the new one.. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.addroi.create

Ffmpeg filter: Add region of interest to frame.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?qoffset : string?, ?clear : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • x (of type string?, which defaults to null): Region distance from left edge of frame.. (default: 0)
  • y (of type string?, which defaults to null): Region distance from top edge of frame.. (default: 0)
  • w (of type string?, which defaults to null): Region width.. (default: 0)
  • h (of type string?, which defaults to null): Region height.. (default: 0)
  • qoffset (of type string?, which defaults to null): Quantisation offset to apply in the region.. (default: -1/10)
  • clear (of type bool?, which defaults to null): Remove any existing regions of interest before adding the new one.. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.adeclick

Ffmpeg filter: Remove impulsive noise from input audio.

Type:

(?w : float?, ?o : float?, ?a : float?, ?t : float?,
 ?b : float?, ?m : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • w (of type float?, which defaults to null): set window size. (default: 55.)
  • o (of type float?, which defaults to null): set window overlap. (default: 75.)
  • a (of type float?, which defaults to null): set autoregression order. (default: 2.)
  • t (of type float?, which defaults to null): set threshold. (default: 2.)
  • b (of type float?, which defaults to null): set burst fusion. (default: 2.)
  • m (of type int?, which defaults to null): set overlap method. (default: 0, possible values: 0 (a), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.adeclick.create

Ffmpeg filter: Remove impulsive noise from input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?w : float?, ?o : float?, ?a : float?, ?t : float?,
 ?b : float?, ?m : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • w (of type float?, which defaults to null): set window size. (default: 55.)
  • o (of type float?, which defaults to null): set window overlap. (default: 75.)
  • a (of type float?, which defaults to null): set autoregression order. (default: 2.)
  • t (of type float?, which defaults to null): set threshold. (default: 2.)
  • b (of type float?, which defaults to null): set burst fusion. (default: 2.)
  • m (of type int?, which defaults to null): set overlap method. (default: 0, possible values: 0 (a), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.adeclip

Ffmpeg filter: Remove clipping from input audio.

Type:

(?w : float?, ?o : float?, ?a : float?, ?t : float?,
 ?n : int?, ?m : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • w (of type float?, which defaults to null): set window size. (default: 55.)
  • o (of type float?, which defaults to null): set window overlap. (default: 75.)
  • a (of type float?, which defaults to null): set autoregression order. (default: 8.)
  • t (of type float?, which defaults to null): set threshold. (default: 10.)
  • n (of type int?, which defaults to null): set histogram size. (default: 1000)
  • m (of type int?, which defaults to null): set overlap method. (default: 0, possible values: 0 (a), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.adeclip.create

Ffmpeg filter: Remove clipping from input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?w : float?, ?o : float?, ?a : float?, ?t : float?,
 ?n : int?, ?m : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • w (of type float?, which defaults to null): set window size. (default: 55.)
  • o (of type float?, which defaults to null): set window overlap. (default: 75.)
  • a (of type float?, which defaults to null): set autoregression order. (default: 8.)
  • t (of type float?, which defaults to null): set threshold. (default: 10.)
  • n (of type int?, which defaults to null): set histogram size. (default: 1000)
  • m (of type int?, which defaults to null): set overlap method. (default: 0, possible values: 0 (a), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.adelay

Ffmpeg filter: Delay one or more audio channels.

Type:

(?delays : string?, ?all : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • delays (of type string?, which defaults to null): set list of delays for each channel
  • all (of type bool?, which defaults to null): use last available delay for remained channels. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.adelay.create

Ffmpeg filter: Delay one or more audio channels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?delays : string?, ?all : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • delays (of type string?, which defaults to null): set list of delays for each channel
  • all (of type bool?, which defaults to null): use last available delay for remained channels. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aderivative

Ffmpeg filter: Compute derivative of input audio.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aderivative.create

Ffmpeg filter: Compute derivative of input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.adrawgraph

Ffmpeg filter: Draw a graph using input audio metadata.

Type:

(?m1 : string?, ?fg1 : string?, ?m2 : string?,
 ?fg2 : string?, ?m3 : string?, ?fg3 : string?,
 ?m4 : string?, ?fg4 : string?, ?bg : string?,
 ?min : float?, ?max : float?, ?mode : int?,
 ?slide : int?, ?size : string?, ?s : string?,
 ?rate : string?, ?r : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.video

Arguments:

  • m1 (of type string?, which defaults to null): set 1st metadata key. (default: )
  • fg1 (of type string?, which defaults to null): set 1st foreground color expression. (default: 0xffff0000)
  • m2 (of type string?, which defaults to null): set 2nd metadata key. (default: )
  • fg2 (of type string?, which defaults to null): set 2nd foreground color expression. (default: 0xff00ff00)
  • m3 (of type string?, which defaults to null): set 3rd metadata key. (default: )
  • fg3 (of type string?, which defaults to null): set 3rd foreground color expression. (default: 0xffff00ff)
  • m4 (of type string?, which defaults to null): set 4th metadata key. (default: )
  • fg4 (of type string?, which defaults to null): set 4th foreground color expression. (default: 0xffffff00)
  • bg (of type string?, which defaults to null): set background color. (default: white)
  • min (of type float?, which defaults to null): set minimal value. (default: -1.)
  • max (of type float?, which defaults to null): set maximal value. (default: 1.)
  • mode (of type int?, which defaults to null): set graph mode. (default: 2, possible values: 0 (bar), 1 (dot), 2 (line))
  • slide (of type int?, which defaults to null): set slide mode. (default: 0, possible values: 0 (frame), 1 (replace), 2 (scroll), 3 (rscroll), 4 (picture))
  • size (of type string?, which defaults to null): set graph size. (default: 900x256)
  • s (of type string?, which defaults to null): set graph size. (default: 900x256)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.adrawgraph.create

Ffmpeg filter: Draw a graph using input audio metadata.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?m1 : string?, ?fg1 : string?, ?m2 : string?,
 ?fg2 : string?, ?m3 : string?, ?fg3 : string?,
 ?m4 : string?, ?fg4 : string?, ?bg : string?,
 ?min : float?, ?max : float?, ?mode : int?,
 ?slide : int?, ?size : string?, ?s : string?,
 ?rate : string?, ?r : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • m1 (of type string?, which defaults to null): set 1st metadata key. (default: )
  • fg1 (of type string?, which defaults to null): set 1st foreground color expression. (default: 0xffff0000)
  • m2 (of type string?, which defaults to null): set 2nd metadata key. (default: )
  • fg2 (of type string?, which defaults to null): set 2nd foreground color expression. (default: 0xff00ff00)
  • m3 (of type string?, which defaults to null): set 3rd metadata key. (default: )
  • fg3 (of type string?, which defaults to null): set 3rd foreground color expression. (default: 0xffff00ff)
  • m4 (of type string?, which defaults to null): set 4th metadata key. (default: )
  • fg4 (of type string?, which defaults to null): set 4th foreground color expression. (default: 0xffffff00)
  • bg (of type string?, which defaults to null): set background color. (default: white)
  • min (of type float?, which defaults to null): set minimal value. (default: -1.)
  • max (of type float?, which defaults to null): set maximal value. (default: 1.)
  • mode (of type int?, which defaults to null): set graph mode. (default: 2, possible values: 0 (bar), 1 (dot), 2 (line))
  • slide (of type int?, which defaults to null): set slide mode. (default: 0, possible values: 0 (frame), 1 (replace), 2 (scroll), 3 (rscroll), 4 (picture))
  • size (of type string?, which defaults to null): set graph size. (default: 900x256)
  • s (of type string?, which defaults to null): set graph size. (default: 900x256)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aecho

Ffmpeg filter: Add echoing to the audio.

Type:

(?in_gain : float?, ?out_gain : float?,
 ?delays : string?, ?decays : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • in_gain (of type float?, which defaults to null): set signal input gain. (default: 0.6)
  • out_gain (of type float?, which defaults to null): set signal output gain. (default: 0.3)
  • delays (of type string?, which defaults to null): set list of signal delays. (default: 1000)
  • decays (of type string?, which defaults to null): set list of signal decays. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aecho.create

Ffmpeg filter: Add echoing to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?in_gain : float?, ?out_gain : float?,
 ?delays : string?, ?decays : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • in_gain (of type float?, which defaults to null): set signal input gain. (default: 0.6)
  • out_gain (of type float?, which defaults to null): set signal output gain. (default: 0.3)
  • delays (of type string?, which defaults to null): set list of signal delays. (default: 1000)
  • decays (of type string?, which defaults to null): set list of signal decays. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aemphasis

Ffmpeg filter: Audio emphasis.

Type:

(?level_in : float?, ?level_out : float?, ?mode : int?,
 ?type : int?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • level_out (of type float?, which defaults to null): set output gain. (default: 1.)
  • mode (of type int?, which defaults to null): set filter mode. (default: 0, possible values: 0 (reproduction), 1 (production))
  • type (of type int?, which defaults to null): set filter type. (default: 4, possible values: 0 (col), 1 (emi), 2 (bsi), 3 (riaa), 4 (cd), 5 (50fm), 6 (75fm), 7 (50kf), 8 (75kf))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aemphasis.create

Ffmpeg filter: Audio emphasis.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?level_out : float?, ?mode : int?,
 ?type : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • level_out (of type float?, which defaults to null): set output gain. (default: 1.)
  • mode (of type int?, which defaults to null): set filter mode. (default: 0, possible values: 0 (reproduction), 1 (production))
  • type (of type int?, which defaults to null): set filter type. (default: 4, possible values: 0 (col), 1 (emi), 2 (bsi), 3 (riaa), 4 (cd), 5 (50fm), 6 (75fm), 7 (50kf), 8 (75kf))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aeval

Ffmpeg filter: Filter audio signal according to a specified expression.

Type:

(?exprs : string?, ?channel_layout : string?,
 ?c : string?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • exprs (of type string?, which defaults to null): set the ‘|’-separated list of channels expressions
  • channel_layout (of type string?, which defaults to null): set channel layout
  • c (of type string?, which defaults to null): set channel layout
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aeval.create

Ffmpeg filter: Filter audio signal according to a specified expression.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?exprs : string?, ?channel_layout : string?,
 ?c : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • exprs (of type string?, which defaults to null): set the ‘|’-separated list of channels expressions
  • channel_layout (of type string?, which defaults to null): set channel layout
  • c (of type string?, which defaults to null): set channel layout
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aevalsrc

Ffmpeg filter: Generate an audio signal generated by an expression.

Type:

(?exprs : string?, ?nb_samples : int?, ?n : int?,
 ?sample_rate : string?, ?s : string?, ?duration : int?,
 ?d : int?, ?channel_layout : string?, ?c : string?,
 ffmpeg.filter.graph) -> ffmpeg.filter.audio

Arguments:

  • exprs (of type string?, which defaults to null): set the ‘|’-separated list of channels expressions
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • sample_rate (of type string?, which defaults to null): set the sample rate. (default: 44100)
  • s (of type string?, which defaults to null): set the sample rate. (default: 44100)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • channel_layout (of type string?, which defaults to null): set channel layout
  • c (of type string?, which defaults to null): set channel layout
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.aevalsrc.create

Ffmpeg filter: Generate an audio signal generated by an expression.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?exprs : string?, ?nb_samples : int?, ?n : int?,
 ?sample_rate : string?, ?s : string?, ?duration : int?,
 ?d : int?, ?channel_layout : string?, ?c : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • exprs (of type string?, which defaults to null): set the ‘|’-separated list of channels expressions
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • sample_rate (of type string?, which defaults to null): set the sample rate. (default: 44100)
  • s (of type string?, which defaults to null): set the sample rate. (default: 44100)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • channel_layout (of type string?, which defaults to null): set channel layout
  • c (of type string?, which defaults to null): set channel layout
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.afade

Ffmpeg filter: Fade in/out input audio.

Type:

(?type : int?, ?t : int?, ?start_sample : int?,
 ?ss : int?, ?nb_samples : int?, ?ns : int?,
 ?start_time : int?, ?st : int?, ?duration : int?,
 ?d : int?, ?curve : int?, ?c : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • type (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • t (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • start_sample (of type int?, which defaults to null): set number of first sample to start fading. (default: 0)
  • ss (of type int?, which defaults to null): set number of first sample to start fading. (default: 0)
  • nb_samples (of type int?, which defaults to null): set number of samples for fade duration. (default: 44100)
  • ns (of type int?, which defaults to null): set number of samples for fade duration. (default: 44100)
  • start_time (of type int?, which defaults to null): set time to start fading. (default: 0)
  • st (of type int?, which defaults to null): set time to start fading. (default: 0)
  • duration (of type int?, which defaults to null): set fade duration. (default: 0)
  • d (of type int?, which defaults to null): set fade duration. (default: 0)
  • curve (of type int?, which defaults to null): set fade curve type. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c (of type int?, which defaults to null): set fade curve type. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.afade.create

Ffmpeg filter: Fade in/out input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?type : int?, ?t : int?, ?start_sample : int?,
 ?ss : int?, ?nb_samples : int?, ?ns : int?,
 ?start_time : int?, ?st : int?, ?duration : int?,
 ?d : int?, ?curve : int?, ?c : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • type (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • t (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • start_sample (of type int?, which defaults to null): set number of first sample to start fading. (default: 0)
  • ss (of type int?, which defaults to null): set number of first sample to start fading. (default: 0)
  • nb_samples (of type int?, which defaults to null): set number of samples for fade duration. (default: 44100)
  • ns (of type int?, which defaults to null): set number of samples for fade duration. (default: 44100)
  • start_time (of type int?, which defaults to null): set time to start fading. (default: 0)
  • st (of type int?, which defaults to null): set time to start fading. (default: 0)
  • duration (of type int?, which defaults to null): set fade duration. (default: 0)
  • d (of type int?, which defaults to null): set fade duration. (default: 0)
  • curve (of type int?, which defaults to null): set fade curve type. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • c (of type int?, which defaults to null): set fade curve type. (default: 0, possible values: 0 (tri), 1 (qsin), 2 (esin), 3 (hsin), 4 (log), 5 (ipar), 6 (qua), 7 (cub), 8 (squ), 9 (cbr), 10 (par), 11 (exp), 12 (iqsin), 13 (ihsin), 14 (dese), 15 (desi), 16 (losi), 17 (nofade))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.afftdn

Ffmpeg filter: Denoise audio samples using FFT.

Type:

(?nr : float?, ?nf : float?, ?nt : int?, ?bn : string?,
 ?rf : float?, ?tn : bool?, ?tr : bool?, ?om : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • nr (of type float?, which defaults to null): set the noise reduction. (default: 12.)
  • nf (of type float?, which defaults to null): set the noise floor. (default: -50.)
  • nt (of type int?, which defaults to null): set the noise type. (default: 0, possible values: 0 (w), 1 (v), 2 (s), 3 (c))
  • bn (of type string?, which defaults to null): set the custom bands noise
  • rf (of type float?, which defaults to null): set the residual floor. (default: -38.)
  • tn (of type bool?, which defaults to null): track noise. (default: false)
  • tr (of type bool?, which defaults to null): track residual. (default: false)
  • om (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (n))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.afftdn.create

Ffmpeg filter: Denoise audio samples using FFT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?nr : float?, ?nf : float?, ?nt : int?, ?bn : string?,
 ?rf : float?, ?tn : bool?, ?tr : bool?, ?om : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • nr (of type float?, which defaults to null): set the noise reduction. (default: 12.)
  • nf (of type float?, which defaults to null): set the noise floor. (default: -50.)
  • nt (of type int?, which defaults to null): set the noise type. (default: 0, possible values: 0 (w), 1 (v), 2 (s), 3 (c))
  • bn (of type string?, which defaults to null): set the custom bands noise
  • rf (of type float?, which defaults to null): set the residual floor. (default: -38.)
  • tn (of type bool?, which defaults to null): track noise. (default: false)
  • tr (of type bool?, which defaults to null): track residual. (default: false)
  • om (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (n))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.afftfilt

Ffmpeg filter: Apply arbitrary expressions to samples in frequency domain.

Type:

(?real : string?, ?imag : string?, ?win_size : int?,
 ?win_func : int?, ?overlap : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • real (of type string?, which defaults to null): set channels real expressions. (default: re)
  • imag (of type string?, which defaults to null): set channels imaginary expressions. (default: im)
  • win_size (of type int?, which defaults to null): set window size. (default: 4096)
  • win_func (of type int?, which defaults to null): set window function. (default: 1, possible values: 0 (rect), 4 (bartlett), 1 (hann), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • overlap (of type float?, which defaults to null): set window overlap. (default: 0.75)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.afftfilt.create

Ffmpeg filter: Apply arbitrary expressions to samples in frequency domain.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?real : string?, ?imag : string?, ?win_size : int?,
 ?win_func : int?, ?overlap : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • real (of type string?, which defaults to null): set channels real expressions. (default: re)
  • imag (of type string?, which defaults to null): set channels imaginary expressions. (default: im)
  • win_size (of type int?, which defaults to null): set window size. (default: 4096)
  • win_func (of type int?, which defaults to null): set window function. (default: 1, possible values: 0 (rect), 4 (bartlett), 1 (hann), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • overlap (of type float?, which defaults to null): set window overlap. (default: 0.75)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.afifo

Ffmpeg filter: Buffer input frames and send them when they are requested.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.afifo.create

Ffmpeg filter: Buffer input frames and send them when they are requested.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.afir

Ffmpeg filter: Apply Finite Impulse Response filter with supplied coefficients in additional stream(s). This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?dry : float?, ?wet : float?, ?length : float?,
 ?gtype : int?, ?irgain : float?, ?irfmt : int?,
 ?maxir : float?, ?response : bool?, ?channel : int?,
 ?size : string?, ?rate : string?, ?minp : int?,
 ?maxp : int?, ?nbirs : int?, ?ir : int?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • dry (of type float?, which defaults to null): set dry gain. (default: 1.)
  • wet (of type float?, which defaults to null): set wet gain. (default: 1.)
  • length (of type float?, which defaults to null): set IR length. (default: 1.)
  • gtype (of type int?, which defaults to null): set IR auto gain type. (default: 0, possible values: -1 (none), 0 (peak), 1 (dc), 2 (gn))
  • irgain (of type float?, which defaults to null): set IR gain. (default: 1.)
  • irfmt (of type int?, which defaults to null): set IR format. (default: 1, possible values: 0 (mono), 1 (input))
  • maxir (of type float?, which defaults to null): set max IR length. (default: 30.)
  • response (of type bool?, which defaults to null): show IR frequency response. (default: false)
  • channel (of type int?, which defaults to null): set IR channel to display frequency response. (default: 0)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • minp (of type int?, which defaults to null): set min partition size. (default: 8192)
  • maxp (of type int?, which defaults to null): set max partition size. (default: 8192)
  • nbirs (of type int?, which defaults to null): set number of input IRs. (default: 1)
  • ir (of type int?, which defaults to null): select IR. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.afir.create

Ffmpeg filter: Apply Finite Impulse Response filter with supplied coefficients in additional stream(s). This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dry : float?, ?wet : float?, ?length : float?,
 ?gtype : int?, ?irgain : float?, ?irfmt : int?,
 ?maxir : float?, ?response : bool?, ?channel : int?,
 ?size : string?, ?rate : string?, ?minp : int?,
 ?maxp : int?, ?nbirs : int?, ?ir : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • dry (of type float?, which defaults to null): set dry gain. (default: 1.)
  • wet (of type float?, which defaults to null): set wet gain. (default: 1.)
  • length (of type float?, which defaults to null): set IR length. (default: 1.)
  • gtype (of type int?, which defaults to null): set IR auto gain type. (default: 0, possible values: -1 (none), 0 (peak), 1 (dc), 2 (gn))
  • irgain (of type float?, which defaults to null): set IR gain. (default: 1.)
  • irfmt (of type int?, which defaults to null): set IR format. (default: 1, possible values: 0 (mono), 1 (input))
  • maxir (of type float?, which defaults to null): set max IR length. (default: 30.)
  • response (of type bool?, which defaults to null): show IR frequency response. (default: false)
  • channel (of type int?, which defaults to null): set IR channel to display frequency response. (default: 0)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • minp (of type int?, which defaults to null): set min partition size. (default: 8192)
  • maxp (of type int?, which defaults to null): set max partition size. (default: 8192)
  • nbirs (of type int?, which defaults to null): set number of input IRs. (default: 1)
  • ir (of type int?, which defaults to null): select IR. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.afirsrc

Ffmpeg filter: Generate a FIR coefficients audio stream.

Type:

(?taps : int?, ?t : int?, ?frequency : string?,
 ?f : string?, ?magnitude : string?, ?m : string?,
 ?phase : string?, ?p : string?, ?sample_rate : int?,
 ?r : int?, ?nb_samples : int?, ?n : int?,
 ?win_func : int?, ?w : int?, ffmpeg.filter.graph) ->
ffmpeg.filter.audio

Arguments:

  • taps (of type int?, which defaults to null): set number of taps. (default: 1025)
  • t (of type int?, which defaults to null): set number of taps. (default: 1025)
  • frequency (of type string?, which defaults to null): set frequency points. (default: 0 1)
  • f (of type string?, which defaults to null): set frequency points. (default: 0 1)
  • magnitude (of type string?, which defaults to null): set magnitude values. (default: 1 1)
  • m (of type string?, which defaults to null): set magnitude values. (default: 1 1)
  • phase (of type string?, which defaults to null): set phase values. (default: 0 0)
  • p (of type string?, which defaults to null): set phase values. (default: 0 0)
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • win_func (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • w (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.afirsrc.create

Ffmpeg filter: Generate a FIR coefficients audio stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?taps : int?, ?t : int?, ?frequency : string?,
 ?f : string?, ?magnitude : string?, ?m : string?,
 ?phase : string?, ?p : string?, ?sample_rate : int?,
 ?r : int?, ?nb_samples : int?, ?n : int?,
 ?win_func : int?, ?w : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • taps (of type int?, which defaults to null): set number of taps. (default: 1025)
  • t (of type int?, which defaults to null): set number of taps. (default: 1025)
  • frequency (of type string?, which defaults to null): set frequency points. (default: 0 1)
  • f (of type string?, which defaults to null): set frequency points. (default: 0 1)
  • magnitude (of type string?, which defaults to null): set magnitude values. (default: 1 1)
  • m (of type string?, which defaults to null): set magnitude values. (default: 1 1)
  • phase (of type string?, which defaults to null): set phase values. (default: 0 0)
  • p (of type string?, which defaults to null): set phase values. (default: 0 0)
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • win_func (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • w (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.aformat

Ffmpeg filter: Convert the input audio to one of the specified formats.

Type:

(?sample_fmts : string?, ?f : string?,
 ?sample_rates : string?, ?r : string?,
 ?channel_layouts : string?, ?cl : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • sample_fmts (of type string?, which defaults to null): A ‘|’-separated list of sample formats.
  • f (of type string?, which defaults to null): A ‘|’-separated list of sample formats.
  • sample_rates (of type string?, which defaults to null): A ‘|’-separated list of sample rates.
  • r (of type string?, which defaults to null): A ‘|’-separated list of sample rates.
  • channel_layouts (of type string?, which defaults to null): A ‘|’-separated list of channel layouts.
  • cl (of type string?, which defaults to null): A ‘|’-separated list of channel layouts.
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aformat.create

Ffmpeg filter: Convert the input audio to one of the specified formats.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sample_fmts : string?, ?f : string?,
 ?sample_rates : string?, ?r : string?,
 ?channel_layouts : string?, ?cl : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • sample_fmts (of type string?, which defaults to null): A ‘|’-separated list of sample formats.
  • f (of type string?, which defaults to null): A ‘|’-separated list of sample formats.
  • sample_rates (of type string?, which defaults to null): A ‘|’-separated list of sample rates.
  • r (of type string?, which defaults to null): A ‘|’-separated list of sample rates.
  • channel_layouts (of type string?, which defaults to null): A ‘|’-separated list of channel layouts.
  • cl (of type string?, which defaults to null): A ‘|’-separated list of channel layouts.
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.agate

Ffmpeg filter: Audio gate.

Type:

(?level_in : float?, ?mode : int?, ?range : float?,
 ?threshold : float?, ?ratio : float?, ?attack : float?,
 ?release : float?, ?makeup : float?, ?knee : float?,
 ?detection : int?, ?link : int?, ?level_sc : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set input level. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (downward), 1 (upward))
  • range (of type float?, which defaults to null): set max gain reduction. (default: 0.06125)
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.125)
  • ratio (of type float?, which defaults to null): set ratio. (default: 2.)
  • attack (of type float?, which defaults to null): set attack. (default: 20.)
  • release (of type float?, which defaults to null): set release. (default: 250.)
  • makeup (of type float?, which defaults to null): set makeup gain. (default: 1.)
  • knee (of type float?, which defaults to null): set knee. (default: 2.828427125)
  • detection (of type int?, which defaults to null): set detection. (default: 1, possible values: 0 (peak), 1 (rms))
  • link (of type int?, which defaults to null): set link. (default: 0, possible values: 0 (average), 1 (maximum))
  • level_sc (of type float?, which defaults to null): set sidechain gain. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.agate.create

Ffmpeg filter: Audio gate.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?mode : int?, ?range : float?,
 ?threshold : float?, ?ratio : float?, ?attack : float?,
 ?release : float?, ?makeup : float?, ?knee : float?,
 ?detection : int?, ?link : int?, ?level_sc : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set input level. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (downward), 1 (upward))
  • range (of type float?, which defaults to null): set max gain reduction. (default: 0.06125)
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.125)
  • ratio (of type float?, which defaults to null): set ratio. (default: 2.)
  • attack (of type float?, which defaults to null): set attack. (default: 20.)
  • release (of type float?, which defaults to null): set release. (default: 250.)
  • makeup (of type float?, which defaults to null): set makeup gain. (default: 1.)
  • knee (of type float?, which defaults to null): set knee. (default: 2.828427125)
  • detection (of type int?, which defaults to null): set detection. (default: 1, possible values: 0 (peak), 1 (rms))
  • link (of type int?, which defaults to null): set link. (default: 0, possible values: 0 (average), 1 (maximum))
  • level_sc (of type float?, which defaults to null): set sidechain gain. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.agraphmonitor

Ffmpeg filter: Show various filtergraph stats.

Type:

(?size : string?, ?s : string?, ?opacity : float?,
 ?o : float?, ?mode : int?, ?m : int?, ?flags : int?,
 ?f : int?, ?rate : string?, ?r : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set monitor size. (default: hd720)
  • s (of type string?, which defaults to null): set monitor size. (default: hd720)
  • opacity (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • o (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • f (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.agraphmonitor.create

Ffmpeg filter: Show various filtergraph stats.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?opacity : float?,
 ?o : float?, ?mode : int?, ?m : int?, ?flags : int?,
 ?f : int?, ?rate : string?, ?r : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set monitor size. (default: hd720)
  • s (of type string?, which defaults to null): set monitor size. (default: hd720)
  • opacity (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • o (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • f (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.ahistogram

Ffmpeg filter: Convert input audio to histogram video output.

Type:

(?dmode : int?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?scale : int?,
 ?ascale : int?, ?acount : int?, ?rheight : float?,
 ?slide : int?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.video

Arguments:

  • dmode (of type int?, which defaults to null): set method to display channels. (default: 0, possible values: 0 (single), 1 (separate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • s (of type string?, which defaults to null): set video size. (default: hd720)
  • scale (of type int?, which defaults to null): set display scale. (default: 3, possible values: 3 (log), 1 (sqrt), 2 (cbrt), 0 (lin), 4 (rlog))
  • ascale (of type int?, which defaults to null): set amplitude scale. (default: 1, possible values: 1 (log), 0 (lin))
  • acount (of type int?, which defaults to null): how much frames to accumulate. (default: 1)
  • rheight (of type float?, which defaults to null): set histogram ratio of window height. (default: 0.1)
  • slide (of type int?, which defaults to null): set sonogram sliding. (default: 0, possible values: 0 (replace), 1 (scroll))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.ahistogram.create

Ffmpeg filter: Convert input audio to histogram video output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dmode : int?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?scale : int?,
 ?ascale : int?, ?acount : int?, ?rheight : float?,
 ?slide : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • dmode (of type int?, which defaults to null): set method to display channels. (default: 0, possible values: 0 (single), 1 (separate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • s (of type string?, which defaults to null): set video size. (default: hd720)
  • scale (of type int?, which defaults to null): set display scale. (default: 3, possible values: 3 (log), 1 (sqrt), 2 (cbrt), 0 (lin), 4 (rlog))
  • ascale (of type int?, which defaults to null): set amplitude scale. (default: 1, possible values: 1 (log), 0 (lin))
  • acount (of type int?, which defaults to null): how much frames to accumulate. (default: 1)
  • rheight (of type float?, which defaults to null): set histogram ratio of window height. (default: 0.1)
  • slide (of type int?, which defaults to null): set sonogram sliding. (default: 0, possible values: 0 (replace), 1 (scroll))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aiir

Ffmpeg filter: Apply Infinite Impulse Response filter with supplied coefficients. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?zeros : string?, ?z : string?, ?poles : string?,
 ?p : string?, ?gains : string?, ?k : string?,
 ?dry : float?, ?wet : float?, ?format : int?, ?f : int?,
 ?process : int?, ?r : int?, ?precision : int?,
 ?e : int?, ?normalize : bool?, ?n : bool?,
 ?mix : float?, ?response : bool?, ?channel : int?,
 ?size : string?, ?rate : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • zeros (of type string?, which defaults to null): set B/numerator/zeros coefficients. (default: 1+0i 1-0i)
  • z (of type string?, which defaults to null): set B/numerator/zeros coefficients. (default: 1+0i 1-0i)
  • poles (of type string?, which defaults to null): set A/denominator/poles coefficients. (default: 1+0i 1-0i)
  • p (of type string?, which defaults to null): set A/denominator/poles coefficients. (default: 1+0i 1-0i)
  • gains (of type string?, which defaults to null): set channels gains. (default: 1|1)
  • k (of type string?, which defaults to null): set channels gains. (default: 1|1)
  • dry (of type float?, which defaults to null): set dry gain. (default: 1.)
  • wet (of type float?, which defaults to null): set wet gain. (default: 1.)
  • format (of type int?, which defaults to null): set coefficients format. (default: 1, possible values: 0 (tf), 1 (zp), 2 (pr), 3 (pd), 4 (sp))
  • f (of type int?, which defaults to null): set coefficients format. (default: 1, possible values: 0 (tf), 1 (zp), 2 (pr), 3 (pd), 4 (sp))
  • process (of type int?, which defaults to null): set kind of processing. (default: 1, possible values: 0 (d), 1 (s))
  • r (of type int?, which defaults to null): set kind of processing. (default: 1, possible values: 0 (d), 1 (s))
  • precision (of type int?, which defaults to null): set filtering precision. (default: 0, possible values: 0 (dbl), 1 (flt), 2 (i32), 3 (i16))
  • e (of type int?, which defaults to null): set precision. (default: 0, possible values: 0 (dbl), 1 (flt), 2 (i32), 3 (i16))
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: true)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: true)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • response (of type bool?, which defaults to null): show IR frequency response. (default: false)
  • channel (of type int?, which defaults to null): set IR channel to display frequency response. (default: 0)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aiir.create

Ffmpeg filter: Apply Infinite Impulse Response filter with supplied coefficients. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?zeros : string?, ?z : string?, ?poles : string?,
 ?p : string?, ?gains : string?, ?k : string?,
 ?dry : float?, ?wet : float?, ?format : int?, ?f : int?,
 ?process : int?, ?r : int?, ?precision : int?,
 ?e : int?, ?normalize : bool?, ?n : bool?,
 ?mix : float?, ?response : bool?, ?channel : int?,
 ?size : string?, ?rate : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • zeros (of type string?, which defaults to null): set B/numerator/zeros coefficients. (default: 1+0i 1-0i)
  • z (of type string?, which defaults to null): set B/numerator/zeros coefficients. (default: 1+0i 1-0i)
  • poles (of type string?, which defaults to null): set A/denominator/poles coefficients. (default: 1+0i 1-0i)
  • p (of type string?, which defaults to null): set A/denominator/poles coefficients. (default: 1+0i 1-0i)
  • gains (of type string?, which defaults to null): set channels gains. (default: 1|1)
  • k (of type string?, which defaults to null): set channels gains. (default: 1|1)
  • dry (of type float?, which defaults to null): set dry gain. (default: 1.)
  • wet (of type float?, which defaults to null): set wet gain. (default: 1.)
  • format (of type int?, which defaults to null): set coefficients format. (default: 1, possible values: 0 (tf), 1 (zp), 2 (pr), 3 (pd), 4 (sp))
  • f (of type int?, which defaults to null): set coefficients format. (default: 1, possible values: 0 (tf), 1 (zp), 2 (pr), 3 (pd), 4 (sp))
  • process (of type int?, which defaults to null): set kind of processing. (default: 1, possible values: 0 (d), 1 (s))
  • r (of type int?, which defaults to null): set kind of processing. (default: 1, possible values: 0 (d), 1 (s))
  • precision (of type int?, which defaults to null): set filtering precision. (default: 0, possible values: 0 (dbl), 1 (flt), 2 (i32), 3 (i16))
  • e (of type int?, which defaults to null): set precision. (default: 0, possible values: 0 (dbl), 1 (flt), 2 (i32), 3 (i16))
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: true)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: true)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • response (of type bool?, which defaults to null): show IR frequency response. (default: false)
  • channel (of type int?, which defaults to null): set IR channel to display frequency response. (default: 0)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aintegral

Ffmpeg filter: Compute integral of input audio.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aintegral.create

Ffmpeg filter: Compute integral of input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.ainterleave

Ffmpeg filter: Temporally interleave audio inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?nb_inputs : int?, ?n : int?, ?duration : int?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.audio

Arguments:

  • nb_inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • n (of type int?, which defaults to null): set number of inputs. (default: 2)
  • duration (of type int?, which defaults to null): how to determine the end-of-stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.ainterleave.create

Ffmpeg filter: Temporally interleave audio inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?nb_inputs : int?, ?n : int?, ?duration : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • nb_inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • n (of type int?, which defaults to null): set number of inputs. (default: 2)
  • duration (of type int?, which defaults to null): how to determine the end-of-stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.alimiter

Ffmpeg filter: Audio lookahead limiter.

Type:

(?level_in : float?, ?level_out : float?,
 ?limit : float?, ?attack : float?, ?release : float?,
 ?asc : bool?, ?asc_level : float?, ?level : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set input level. (default: 1.)
  • level_out (of type float?, which defaults to null): set output level. (default: 1.)
  • limit (of type float?, which defaults to null): set limit. (default: 1.)
  • attack (of type float?, which defaults to null): set attack. (default: 5.)
  • release (of type float?, which defaults to null): set release. (default: 50.)
  • asc (of type bool?, which defaults to null): enable asc. (default: false)
  • asc_level (of type float?, which defaults to null): set asc level. (default: 0.5)
  • level (of type bool?, which defaults to null): auto level. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.alimiter.create

Ffmpeg filter: Audio lookahead limiter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?level_out : float?,
 ?limit : float?, ?attack : float?, ?release : float?,
 ?asc : bool?, ?asc_level : float?, ?level : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set input level. (default: 1.)
  • level_out (of type float?, which defaults to null): set output level. (default: 1.)
  • limit (of type float?, which defaults to null): set limit. (default: 1.)
  • attack (of type float?, which defaults to null): set attack. (default: 5.)
  • release (of type float?, which defaults to null): set release. (default: 50.)
  • asc (of type bool?, which defaults to null): enable asc. (default: false)
  • asc_level (of type float?, which defaults to null): set asc level. (default: 0.5)
  • level (of type bool?, which defaults to null): auto level. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.allpass

Ffmpeg filter: Apply a two-pole all-pass filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?mix : float?,
 ?m : float?, ?channels : string?, ?c : string?,
 ?normalize : bool?, ?n : bool?, ?order : int?,
 ?o : int?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 1, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 1, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set filter-width. (default: 707.1)
  • w (of type float?, which defaults to null): set filter-width. (default: 707.1)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • order (of type int?, which defaults to null): set filter order. (default: 2)
  • o (of type int?, which defaults to null): set filter order. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.allpass.create

Ffmpeg filter: Apply a two-pole all-pass filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?mix : float?,
 ?m : float?, ?channels : string?, ?c : string?,
 ?normalize : bool?, ?n : bool?, ?order : int?,
 ?o : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 1, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 1, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set filter-width. (default: 707.1)
  • w (of type float?, which defaults to null): set filter-width. (default: 707.1)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • order (of type int?, which defaults to null): set filter order. (default: 2)
  • o (of type int?, which defaults to null): set filter order. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.allrgb

Ffmpeg filter: Generate all RGB colors.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?sar : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.allrgb.create

Ffmpeg filter: Generate all RGB colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?sar : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.allyuv

Ffmpeg filter: Generate all yuv colors.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?sar : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.allyuv.create

Ffmpeg filter: Generate all yuv colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?sar : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.aloop

Ffmpeg filter: Loop audio samples.

Type:

(?loop : int?, ?size : int?, ?start : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • loop (of type int?, which defaults to null): number of loops. (default: 0)
  • size (of type int?, which defaults to null): max number of samples to loop. (default: 0)
  • start (of type int?, which defaults to null): set the loop start sample. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aloop.create

Ffmpeg filter: Loop audio samples.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?loop : int?, ?size : int?, ?start : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • loop (of type int?, which defaults to null): number of loops. (default: 0)
  • size (of type int?, which defaults to null): max number of samples to loop. (default: 0)
  • start (of type int?, which defaults to null): set the loop start sample. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.alphaextract

Ffmpeg filter: Extract an alpha channel as a grayscale image component. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.alphaextract.create

Ffmpeg filter: Extract an alpha channel as a grayscale image component. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.alphamerge

Ffmpeg filter: Copy the luma value of the second input into the alpha channel of the first input.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.alphamerge.create

Ffmpeg filter: Copy the luma value of the second input into the alpha channel of the first input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.amerge

Ffmpeg filter: Merge two or more audio streams into a single multi-channel stream. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?inputs : int?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.audio

Arguments:

  • inputs (of type int?, which defaults to null): specify the number of inputs. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.amerge.create

Ffmpeg filter: Merge two or more audio streams into a single multi-channel stream. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • inputs (of type int?, which defaults to null): specify the number of inputs. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.ametadata

Ffmpeg filter: Manipulate audio frame metadata.

Type:

(?mode : int?, ?key : string?, ?value : string?,
 ?function : int?, ?expr : string?, ?file : string?,
 ?direct : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (add), 2 (modify), 3 (delete), 4 (print))
  • key (of type string?, which defaults to null): set metadata key
  • value (of type string?, which defaults to null): set metadata value
  • function (of type int?, which defaults to null): function for comparing values. (default: 0, possible values: 0 (same_str), 1 (starts_with), 2 (less), 3 (equal), 4 (greater), 5 (expr), 6 (ends_with))
  • expr (of type string?, which defaults to null): set expression for expr function
  • file (of type string?, which defaults to null): set file where to print metadata information
  • direct (of type bool?, which defaults to null): reduce buffering when printing to user-set file or pipe. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.ametadata.create

Ffmpeg filter: Manipulate audio frame metadata.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?key : string?, ?value : string?,
 ?function : int?, ?expr : string?, ?file : string?,
 ?direct : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (add), 2 (modify), 3 (delete), 4 (print))
  • key (of type string?, which defaults to null): set metadata key
  • value (of type string?, which defaults to null): set metadata value
  • function (of type int?, which defaults to null): function for comparing values. (default: 0, possible values: 0 (same_str), 1 (starts_with), 2 (less), 3 (equal), 4 (greater), 5 (expr), 6 (ends_with))
  • expr (of type string?, which defaults to null): set expression for expr function
  • file (of type string?, which defaults to null): set file where to print metadata information
  • direct (of type bool?, which defaults to null): reduce buffering when printing to user-set file or pipe. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.amix

Ffmpeg filter: Audio mixing. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?inputs : int?, ?duration : int?,
 ?dropout_transition : float?, ?weights : string?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.audio

Arguments:

  • inputs (of type int?, which defaults to null): Number of inputs.. (default: 2)
  • duration (of type int?, which defaults to null): How to determine the end-of-stream.. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • dropout_transition (of type float?, which defaults to null): Transition time, in seconds, for volume renormalization when an input stream ends.. (default: 2.)
  • weights (of type string?, which defaults to null): Set weight for each input.. (default: 1 1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.amix.create

Ffmpeg filter: Audio mixing. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ?duration : int?,
 ?dropout_transition : float?, ?weights : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • inputs (of type int?, which defaults to null): Number of inputs.. (default: 2)
  • duration (of type int?, which defaults to null): How to determine the end-of-stream.. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • dropout_transition (of type float?, which defaults to null): Transition time, in seconds, for volume renormalization when an input stream ends.. (default: 2.)
  • weights (of type string?, which defaults to null): Set weight for each input.. (default: 1 1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.amovie

Ffmpeg filter: Read audio from a movie source. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?filename : string?, ?format_name : string?,
 ?f : string?, ?stream_index : int?, ?si : int?,
 ?seek_point : float?, ?sp : float?, ?streams : string?,
 ?s : string?, ?loop : int?, ?discontinuity : int?,
 ffmpeg.filter.graph) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • filename (of type string?, which defaults to null)
  • format_name (of type string?, which defaults to null): set format name
  • f (of type string?, which defaults to null): set format name
  • stream_index (of type int?, which defaults to null): set stream index. (default: -1)
  • si (of type int?, which defaults to null): set stream index. (default: -1)
  • seek_point (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • sp (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • streams (of type string?, which defaults to null): set streams
  • s (of type string?, which defaults to null): set streams
  • loop (of type int?, which defaults to null): set loop count. (default: 1)
  • discontinuity (of type int?, which defaults to null): set discontinuity threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.amovie.create

Ffmpeg filter: Read audio from a movie source. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filename : string?, ?format_name : string?,
 ?f : string?, ?stream_index : int?, ?si : int?,
 ?seek_point : float?, ?sp : float?, ?streams : string?,
 ?s : string?, ?loop : int?, ?discontinuity : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • filename (of type string?, which defaults to null)
  • format_name (of type string?, which defaults to null): set format name
  • f (of type string?, which defaults to null): set format name
  • stream_index (of type int?, which defaults to null): set stream index. (default: -1)
  • si (of type int?, which defaults to null): set stream index. (default: -1)
  • seek_point (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • sp (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • streams (of type string?, which defaults to null): set streams
  • s (of type string?, which defaults to null): set streams
  • loop (of type int?, which defaults to null): set loop count. (default: 1)
  • discontinuity (of type int?, which defaults to null): set discontinuity threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.amplify

Ffmpeg filter: Amplify changes between successive video frames.

Type:

(?radius : int?, ?factor : float?, ?threshold : float?,
 ?tolerance : float?, ?low : int?, ?high : int?,
 ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • radius (of type int?, which defaults to null): set radius. (default: 2)
  • factor (of type float?, which defaults to null): set factor. (default: 2.)
  • threshold (of type float?, which defaults to null): set threshold. (default: 10.)
  • tolerance (of type float?, which defaults to null): set tolerance. (default: 0.)
  • low (of type int?, which defaults to null): set low limit for amplification. (default: 65535)
  • high (of type int?, which defaults to null): set high limit for amplification. (default: 65535)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.amplify.create

Ffmpeg filter: Amplify changes between successive video frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?radius : int?, ?factor : float?, ?threshold : float?,
 ?tolerance : float?, ?low : int?, ?high : int?,
 ?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • radius (of type int?, which defaults to null): set radius. (default: 2)
  • factor (of type float?, which defaults to null): set factor. (default: 2.)
  • threshold (of type float?, which defaults to null): set threshold. (default: 10.)
  • tolerance (of type float?, which defaults to null): set tolerance. (default: 0.)
  • low (of type int?, which defaults to null): set low limit for amplification. (default: 65535)
  • high (of type int?, which defaults to null): set high limit for amplification. (default: 65535)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.amultiply

Ffmpeg filter: Multiply two audio streams.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.amultiply.create

Ffmpeg filter: Multiply two audio streams.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio, ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anequalizer

Ffmpeg filter: Apply high-order audio parametric multi band equalizer. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?params : string?, ?curves : bool?, ?size : string?,
 ?mgain : float?, ?fscale : int?, ?colors : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • params (of type string?, which defaults to null): Default:
  • curves (of type bool?, which defaults to null): draw frequency response curves. (default: false)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • mgain (of type float?, which defaults to null): set max gain. (default: 60.)
  • fscale (of type int?, which defaults to null): set frequency scale. (default: 1, possible values: 0 (lin), 1 (log))
  • colors (of type string?, which defaults to null): set channels curves colors. (default: red|green|blue|yellow|orange|lime|pink|magenta|brown)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.anequalizer.create

Ffmpeg filter: Apply high-order audio parametric multi band equalizer. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?params : string?, ?curves : bool?, ?size : string?,
 ?mgain : float?, ?fscale : int?, ?colors : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • params (of type string?, which defaults to null): Default:
  • curves (of type bool?, which defaults to null): draw frequency response curves. (default: false)
  • size (of type string?, which defaults to null): set video size. (default: hd720)
  • mgain (of type float?, which defaults to null): set max gain. (default: 60.)
  • fscale (of type int?, which defaults to null): set frequency scale. (default: 1, possible values: 0 (lin), 1 (log))
  • colors (of type string?, which defaults to null): set channels curves colors. (default: red|green|blue|yellow|orange|lime|pink|magenta|brown)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anlmdn

Ffmpeg filter: Reduce broadband noise from stream using Non-Local Means.

Type:

(?s : float?, ?p : int?, ?r : int?, ?o : int?,
 ?m : float?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • s (of type float?, which defaults to null): set denoising strength. (default: 1e-05)
  • p (of type int?, which defaults to null): set patch duration. (default: 2000)
  • r (of type int?, which defaults to null): set research duration. (default: 6000)
  • o (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (n))
  • m (of type float?, which defaults to null): set smooth factor. (default: 11.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.anlmdn.create

Ffmpeg filter: Reduce broadband noise from stream using Non-Local Means.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?s : float?, ?p : int?, ?r : int?, ?o : int?,
 ?m : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • s (of type float?, which defaults to null): set denoising strength. (default: 1e-05)
  • p (of type int?, which defaults to null): set patch duration. (default: 2000)
  • r (of type int?, which defaults to null): set research duration. (default: 6000)
  • o (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (n))
  • m (of type float?, which defaults to null): set smooth factor. (default: 11.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anlms

Ffmpeg filter: Apply Normalized Least-Mean-Squares algorithm to first audio stream.

Type:

(?order : int?, ?mu : float?, ?eps : float?,
 ?leakage : float?, ?out_mode : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • order (of type int?, which defaults to null): set the filter order. (default: 256)
  • mu (of type float?, which defaults to null): set the filter mu. (default: 0.75)
  • eps (of type float?, which defaults to null): set the filter eps. (default: 1.)
  • leakage (of type float?, which defaults to null): set the filter leakage. (default: 0.)
  • out_mode (of type int?, which defaults to null): set output mode. (default: 2, possible values: 0 (i), 1 (d), 2 (o), 3 (n))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.anlms.create

Ffmpeg filter: Apply Normalized Least-Mean-Squares algorithm to first audio stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?order : int?, ?mu : float?, ?eps : float?,
 ?leakage : float?, ?out_mode : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • order (of type int?, which defaults to null): set the filter order. (default: 256)
  • mu (of type float?, which defaults to null): set the filter mu. (default: 0.75)
  • eps (of type float?, which defaults to null): set the filter eps. (default: 1.)
  • leakage (of type float?, which defaults to null): set the filter leakage. (default: 0.)
  • out_mode (of type int?, which defaults to null): set output mode. (default: 2, possible values: 0 (i), 1 (d), 2 (o), 3 (n))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio, ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anoisesrc

Ffmpeg filter: Generate a noise audio signal.

Type:

(?sample_rate : int?, ?r : int?, ?amplitude : float?,
 ?a : float?, ?duration : int?, ?d : int?, ?color : int?,
 ?colour : int?, ?c : int?, ?seed : int?, ?s : int?,
 ?nb_samples : int?, ?n : int?, ffmpeg.filter.graph) ->
ffmpeg.filter.audio

Arguments:

  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 48000)
  • r (of type int?, which defaults to null): set sample rate. (default: 48000)
  • amplitude (of type float?, which defaults to null): set amplitude. (default: 1.)
  • a (of type float?, which defaults to null): set amplitude. (default: 1.)
  • duration (of type int?, which defaults to null): set duration. (default: 0)
  • d (of type int?, which defaults to null): set duration. (default: 0)
  • color (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • colour (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • c (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • seed (of type int?, which defaults to null): set random seed. (default: -1)
  • s (of type int?, which defaults to null): set random seed. (default: -1)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.anoisesrc.create

Ffmpeg filter: Generate a noise audio signal.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sample_rate : int?, ?r : int?, ?amplitude : float?,
 ?a : float?, ?duration : int?, ?d : int?, ?color : int?,
 ?colour : int?, ?c : int?, ?seed : int?, ?s : int?,
 ?nb_samples : int?, ?n : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 48000)
  • r (of type int?, which defaults to null): set sample rate. (default: 48000)
  • amplitude (of type float?, which defaults to null): set amplitude. (default: 1.)
  • a (of type float?, which defaults to null): set amplitude. (default: 1.)
  • duration (of type int?, which defaults to null): set duration. (default: 0)
  • d (of type int?, which defaults to null): set duration. (default: 0)
  • color (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • colour (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • c (of type int?, which defaults to null): set noise color. (default: 0, possible values: 0 (white), 1 (pink), 2 (brown), 3 (blue), 4 (violet), 5 (velvet))
  • seed (of type int?, which defaults to null): set random seed. (default: -1)
  • s (of type int?, which defaults to null): set random seed. (default: -1)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.anull

Ffmpeg filter: Pass the source unchanged to the output.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.anull.create

Ffmpeg filter: Pass the source unchanged to the output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anullsink

Ffmpeg filter: Do absolutely nothing with the input audio.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.anullsink.create

Ffmpeg filter: Do absolutely nothing with the input audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type unit): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.anullsrc

Ffmpeg filter: Null audio source, return empty audio frames.

Type:

(?channel_layout : string?, ?cl : string?,
 ?sample_rate : string?, ?r : string?,
 ?nb_samples : int?, ?n : int?, ffmpeg.filter.graph) ->
ffmpeg.filter.audio

Arguments:

  • channel_layout (of type string?, which defaults to null): set channel_layout. (default: stereo)
  • cl (of type string?, which defaults to null): set channel_layout. (default: stereo)
  • sample_rate (of type string?, which defaults to null): set sample rate. (default: 44100)
  • r (of type string?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.anullsrc.create

Ffmpeg filter: Null audio source, return empty audio frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?channel_layout : string?, ?cl : string?,
 ?sample_rate : string?, ?r : string?,
 ?nb_samples : int?, ?n : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • channel_layout (of type string?, which defaults to null): set channel_layout. (default: stereo)
  • cl (of type string?, which defaults to null): set channel_layout. (default: stereo)
  • sample_rate (of type string?, which defaults to null): set sample rate. (default: 44100)
  • r (of type string?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.apad

Ffmpeg filter: Pad audio with silence.

Type:

(?packet_size : int?, ?pad_len : int?, ?whole_len : int?,
 ?pad_dur : int?, ?whole_dur : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • packet_size (of type int?, which defaults to null): set silence packet size. (default: 4096)
  • pad_len (of type int?, which defaults to null): set number of samples of silence to add. (default: -1)
  • whole_len (of type int?, which defaults to null): set minimum target number of samples in the audio stream. (default: -1)
  • pad_dur (of type int?, which defaults to null): set duration of silence to add. (default: 0)
  • whole_dur (of type int?, which defaults to null): set minimum target duration in the audio stream. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.apad.create

Ffmpeg filter: Pad audio with silence.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?packet_size : int?, ?pad_len : int?, ?whole_len : int?,
 ?pad_dur : int?, ?whole_dur : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • packet_size (of type int?, which defaults to null): set silence packet size. (default: 4096)
  • pad_len (of type int?, which defaults to null): set number of samples of silence to add. (default: -1)
  • whole_len (of type int?, which defaults to null): set minimum target number of samples in the audio stream. (default: -1)
  • pad_dur (of type int?, which defaults to null): set duration of silence to add. (default: 0)
  • whole_dur (of type int?, which defaults to null): set minimum target duration in the audio stream. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aperms

Ffmpeg filter: Set permissions for the output audio frame.

Type:

(?mode : int?, ?seed : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • mode (of type int?, which defaults to null): select permissions mode. (default: 0, possible values: 0 (none), 1 (ro), 2 (rw), 3 (toggle), 4 (random))
  • seed (of type int?, which defaults to null): set the seed for the random mode. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aperms.create

Ffmpeg filter: Set permissions for the output audio frame.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?seed : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): select permissions mode. (default: 0, possible values: 0 (none), 1 (ro), 2 (rw), 3 (toggle), 4 (random))
  • seed (of type int?, which defaults to null): set the seed for the random mode. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aphasemeter

Ffmpeg filter: Convert input audio to phase meter video output. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?rate : string?, ?r : string?, ?size : string?,
 ?s : string?, ?rc : int?, ?gc : int?, ?bc : int?,
 ?mpc : string?, ?video : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 800x400)
  • s (of type string?, which defaults to null): set video size. (default: 800x400)
  • rc (of type int?, which defaults to null): set red contrast. (default: 2)
  • gc (of type int?, which defaults to null): set green contrast. (default: 7)
  • bc (of type int?, which defaults to null): set blue contrast. (default: 1)
  • mpc (of type string?, which defaults to null): set median phase color. (default: none)
  • video (of type bool?, which defaults to null): set video output. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aphasemeter.create

Ffmpeg filter: Convert input audio to phase meter video output. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : string?, ?r : string?, ?size : string?,
 ?s : string?, ?rc : int?, ?gc : int?, ?bc : int?,
 ?mpc : string?, ?video : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 800x400)
  • s (of type string?, which defaults to null): set video size. (default: 800x400)
  • rc (of type int?, which defaults to null): set red contrast. (default: 2)
  • gc (of type int?, which defaults to null): set green contrast. (default: 7)
  • bc (of type int?, which defaults to null): set blue contrast. (default: 1)
  • mpc (of type string?, which defaults to null): set median phase color. (default: none)
  • video (of type bool?, which defaults to null): set video output. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aphaser

Ffmpeg filter: Add a phasing effect to the audio.

Type:

(?in_gain : float?, ?out_gain : float?, ?delay : float?,
 ?decay : float?, ?speed : float?, ?type : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • in_gain (of type float?, which defaults to null): set input gain. (default: 0.4)
  • out_gain (of type float?, which defaults to null): set output gain. (default: 0.74)
  • delay (of type float?, which defaults to null): set delay in milliseconds. (default: 3.)
  • decay (of type float?, which defaults to null): set decay. (default: 0.4)
  • speed (of type float?, which defaults to null): set modulation speed. (default: 0.5)
  • type (of type int?, which defaults to null): set modulation type. (default: 1, possible values: 1 (triangular), 1 (t), 0 (sinusoidal), 0 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aphaser.create

Ffmpeg filter: Add a phasing effect to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?in_gain : float?, ?out_gain : float?, ?delay : float?,
 ?decay : float?, ?speed : float?, ?type : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • in_gain (of type float?, which defaults to null): set input gain. (default: 0.4)
  • out_gain (of type float?, which defaults to null): set output gain. (default: 0.74)
  • delay (of type float?, which defaults to null): set delay in milliseconds. (default: 3.)
  • decay (of type float?, which defaults to null): set decay. (default: 0.4)
  • speed (of type float?, which defaults to null): set modulation speed. (default: 0.5)
  • type (of type int?, which defaults to null): set modulation type. (default: 1, possible values: 1 (triangular), 1 (t), 0 (sinusoidal), 0 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.apulsator

Ffmpeg filter: Audio pulsator.

Type:

(?level_in : float?, ?level_out : float?, ?mode : int?,
 ?amount : float?, ?offset_l : float?,
 ?offset_r : float?, ?width : float?, ?timing : int?,
 ?bpm : float?, ?ms : int?, ?hz : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • level_out (of type float?, which defaults to null): set output gain. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (sine), 1 (triangle), 2 (square), 3 (sawup), 4 (sawdown))
  • amount (of type float?, which defaults to null): set modulation. (default: 1.)
  • offset_l (of type float?, which defaults to null): set offset L. (default: 0.)
  • offset_r (of type float?, which defaults to null): set offset R. (default: 0.5)
  • width (of type float?, which defaults to null): set pulse width. (default: 1.)
  • timing (of type int?, which defaults to null): set timing. (default: 2, possible values: 0 (bpm), 1 (ms), 2 (hz))
  • bpm (of type float?, which defaults to null): set BPM. (default: 120.)
  • ms (of type int?, which defaults to null): set ms. (default: 500)
  • hz (of type float?, which defaults to null): set frequency. (default: 2.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.apulsator.create

Ffmpeg filter: Audio pulsator.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?level_out : float?, ?mode : int?,
 ?amount : float?, ?offset_l : float?,
 ?offset_r : float?, ?width : float?, ?timing : int?,
 ?bpm : float?, ?ms : int?, ?hz : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set input gain. (default: 1.)
  • level_out (of type float?, which defaults to null): set output gain. (default: 1.)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (sine), 1 (triangle), 2 (square), 3 (sawup), 4 (sawdown))
  • amount (of type float?, which defaults to null): set modulation. (default: 1.)
  • offset_l (of type float?, which defaults to null): set offset L. (default: 0.)
  • offset_r (of type float?, which defaults to null): set offset R. (default: 0.5)
  • width (of type float?, which defaults to null): set pulse width. (default: 1.)
  • timing (of type int?, which defaults to null): set timing. (default: 2, possible values: 0 (bpm), 1 (ms), 2 (hz))
  • bpm (of type float?, which defaults to null): set BPM. (default: 120.)
  • ms (of type int?, which defaults to null): set ms. (default: 500)
  • hz (of type float?, which defaults to null): set frequency. (default: 2.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.arealtime

Ffmpeg filter: Slow down filtering to match realtime.

Type:

(?limit : int?, ?speed : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • limit (of type int?, which defaults to null): sleep time limit. (default: 2000000)
  • speed (of type float?, which defaults to null): speed factor. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.arealtime.create

Ffmpeg filter: Slow down filtering to match realtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?limit : int?, ?speed : float?, ffmpeg.filter.graph) ->
unit

Arguments:

  • limit (of type int?, which defaults to null): sleep time limit. (default: 2000000)
  • speed (of type float?, which defaults to null): speed factor. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aresample

Ffmpeg filter: Resample audio data.

Type:

(?sample_rate : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • sample_rate (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aresample.create

Ffmpeg filter: Resample audio data.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sample_rate : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • sample_rate (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.areverse

Ffmpeg filter: Reverse an audio clip.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.areverse.create

Ffmpeg filter: Reverse an audio clip.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.arnndn

Ffmpeg filter: Reduce noise from speech using Recurrent Neural Networks.

Type:

(?model : string?, ?m : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • model (of type string?, which defaults to null): set model name
  • m (of type string?, which defaults to null): set model name
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.arnndn.create

Ffmpeg filter: Reduce noise from speech using Recurrent Neural Networks.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?model : string?, ?m : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • model (of type string?, which defaults to null): set model name
  • m (of type string?, which defaults to null): set model name
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.aselect

Ffmpeg filter: Select audio frames to pass in output. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?expr : string?, ?e : string?, ?outputs : int?,
 ?n : int?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • expr (of type string?, which defaults to null): set an expression to use for selecting frames. (default: 1)
  • e (of type string?, which defaults to null): set an expression to use for selecting frames. (default: 1)
  • outputs (of type int?, which defaults to null): set the number of outputs. (default: 1)
  • n (of type int?, which defaults to null): set the number of outputs. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.aselect.create

Ffmpeg filter: Select audio frames to pass in output. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?expr : string?, ?e : string?, ?outputs : int?,
 ?n : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • expr (of type string?, which defaults to null): set an expression to use for selecting frames. (default: 1)
  • e (of type string?, which defaults to null): set an expression to use for selecting frames. (default: 1)
  • outputs (of type int?, which defaults to null): set the number of outputs. (default: 1)
  • n (of type int?, which defaults to null): set the number of outputs. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asendcmd

Ffmpeg filter: Send commands to filters.

Type:

(?commands : string?, ?c : string?, ?filename : string?,
 ?f : string?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • commands (of type string?, which defaults to null): set commands
  • c (of type string?, which defaults to null): set commands
  • filename (of type string?, which defaults to null): set commands file
  • f (of type string?, which defaults to null): set commands file
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asendcmd.create

Ffmpeg filter: Send commands to filters.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?commands : string?, ?c : string?, ?filename : string?,
 ?f : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • commands (of type string?, which defaults to null): set commands
  • c (of type string?, which defaults to null): set commands
  • filename (of type string?, which defaults to null): set commands file
  • f (of type string?, which defaults to null): set commands file
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asetnsamples

Ffmpeg filter: Set the number of samples for each output audio frames.

Type:

(?nb_out_samples : int?, ?n : int?, ?pad : bool?,
 ?p : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • nb_out_samples (of type int?, which defaults to null): set the number of per-frame output samples. (default: 1024)
  • n (of type int?, which defaults to null): set the number of per-frame output samples. (default: 1024)
  • pad (of type bool?, which defaults to null): pad last frame with zeros. (default: true)
  • p (of type bool?, which defaults to null): pad last frame with zeros. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asetnsamples.create

Ffmpeg filter: Set the number of samples for each output audio frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?nb_out_samples : int?, ?n : int?, ?pad : bool?,
 ?p : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • nb_out_samples (of type int?, which defaults to null): set the number of per-frame output samples. (default: 1024)
  • n (of type int?, which defaults to null): set the number of per-frame output samples. (default: 1024)
  • pad (of type bool?, which defaults to null): pad last frame with zeros. (default: true)
  • p (of type bool?, which defaults to null): pad last frame with zeros. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asetpts

Ffmpeg filter: Set PTS for the output audio frame.

Type:

(?expr : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • expr (of type string?, which defaults to null): Expression determining the frame timestamp. (default: PTS)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asetpts.create

Ffmpeg filter: Set PTS for the output audio frame.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?expr : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • expr (of type string?, which defaults to null): Expression determining the frame timestamp. (default: PTS)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asetrate

Ffmpeg filter: Change the sample rate without altering the data.

Type:

(?sample_rate : int?, ?r : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • sample_rate (of type int?, which defaults to null): set the sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set the sample rate. (default: 44100)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asetrate.create

Ffmpeg filter: Change the sample rate without altering the data.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sample_rate : int?, ?r : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • sample_rate (of type int?, which defaults to null): set the sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set the sample rate. (default: 44100)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asettb

Ffmpeg filter: Set timebase for the audio output link.

Type:

(?expr : string?, ?tb : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • expr (of type string?, which defaults to null): set expression determining the output timebase. (default: intb)
  • tb (of type string?, which defaults to null): set expression determining the output timebase. (default: intb)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asettb.create

Ffmpeg filter: Set timebase for the audio output link.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?expr : string?, ?tb : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • expr (of type string?, which defaults to null): set expression determining the output timebase. (default: intb)
  • tb (of type string?, which defaults to null): set expression determining the output timebase. (default: intb)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.ashowinfo

Ffmpeg filter: Show textual information for each audio frame.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.ashowinfo.create

Ffmpeg filter: Show textual information for each audio frame.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asidedata

Ffmpeg filter: Manipulate audio frame side data.

Type:

(?mode : int?, ?type : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (delete))
  • type (of type int?, which defaults to null): set side data type. (default: -1, possible values: 0 (PANSCAN), 1 (A53_CC), 2 (STEREO3D), 3 (MATRIXENCODING), 4 (DOWNMIX_INFO), 5 (REPLAYGAIN), 6 (DISPLAYMATRIX), 7 (AFD), 8 (MOTION_VECTORS), 9 (SKIP_SAMPLES), 10 (AUDIO_SERVICE_TYPE), 11 (MASTERING_DISPLAY_METADATA), 12 (GOP_TIMECODE), 13 (SPHERICAL), 14 (CONTENT_LIGHT_LEVEL), 15 (ICC_PROFILE), 16 (QP_TABLE_PROPERTIES), 17 (QP_TABLE_DATA), 18 (S12M_TIMECOD), 19 (DYNAMIC_HDR_PLUS), 20 (REGIONS_OF_INTEREST))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asidedata.create

Ffmpeg filter: Manipulate audio frame side data.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?type : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (delete))
  • type (of type int?, which defaults to null): set side data type. (default: -1, possible values: 0 (PANSCAN), 1 (A53_CC), 2 (STEREO3D), 3 (MATRIXENCODING), 4 (DOWNMIX_INFO), 5 (REPLAYGAIN), 6 (DISPLAYMATRIX), 7 (AFD), 8 (MOTION_VECTORS), 9 (SKIP_SAMPLES), 10 (AUDIO_SERVICE_TYPE), 11 (MASTERING_DISPLAY_METADATA), 12 (GOP_TIMECODE), 13 (SPHERICAL), 14 (CONTENT_LIGHT_LEVEL), 15 (ICC_PROFILE), 16 (QP_TABLE_PROPERTIES), 17 (QP_TABLE_DATA), 18 (S12M_TIMECOD), 19 (DYNAMIC_HDR_PLUS), 20 (REGIONS_OF_INTEREST))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asoftclip

Ffmpeg filter: Audio Soft Clipper.

Type:

(?type : int?, ?param : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • type (of type int?, which defaults to null): set softclip type. (default: 0, possible values: 0 (tanh), 1 (atan), 2 (cubic), 3 (exp), 4 (alg), 5 (quintic), 6 (sin))
  • param (of type float?, which defaults to null): set softclip parameter. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asoftclip.create

Ffmpeg filter: Audio Soft Clipper.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?type : int?, ?param : float?, ffmpeg.filter.graph) ->
unit

Arguments:

  • type (of type int?, which defaults to null): set softclip type. (default: 0, possible values: 0 (tanh), 1 (atan), 2 (cubic), 3 (exp), 4 (alg), 5 (quintic), 6 (sin))
  • param (of type float?, which defaults to null): set softclip parameter. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asplit

Ffmpeg filter: Pass on the audio input to N audio outputs. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?outputs : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • outputs (of type int?, which defaults to null): set number of outputs. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asplit.create

Ffmpeg filter: Pass on the audio input to N audio outputs. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?outputs : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • outputs (of type int?, which defaults to null): set number of outputs. (default: 2)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.asr

Ffmpeg filter: Automatic Speech Recognition.

Type:

(?rate : int?, ?hmm : string?, ?dict : string?,
 ?lm : string?, ?lmctl : string?, ?lmname : string?,
 ?logfn : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • rate (of type int?, which defaults to null): set sampling rate. (default: 16000)
  • hmm (of type string?, which defaults to null): set directory containing acoustic model files
  • dict (of type string?, which defaults to null): set pronunciation dictionary
  • lm (of type string?, which defaults to null): set language model file
  • lmctl (of type string?, which defaults to null): set language model set
  • lmname (of type string?, which defaults to null): set which language model to use
  • logfn (of type string?, which defaults to null): set output for log messages. (default: /dev/null)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asr.create

Ffmpeg filter: Automatic Speech Recognition.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : int?, ?hmm : string?, ?dict : string?,
 ?lm : string?, ?lmctl : string?, ?lmname : string?,
 ?logfn : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • rate (of type int?, which defaults to null): set sampling rate. (default: 16000)
  • hmm (of type string?, which defaults to null): set directory containing acoustic model files
  • dict (of type string?, which defaults to null): set pronunciation dictionary
  • lm (of type string?, which defaults to null): set language model file
  • lmctl (of type string?, which defaults to null): set language model set
  • lmname (of type string?, which defaults to null): set which language model to use
  • logfn (of type string?, which defaults to null): set output for log messages. (default: /dev/null)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.ass

Ffmpeg filter: Render ASS subtitles onto input video using the libass library.

Type:

(?filename : string?, ?f : string?,
 ?original_size : string?, ?fontsdir : string?,
 ?alpha : bool?, ?shaping : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • filename (of type string?, which defaults to null): set the filename of file to read
  • f (of type string?, which defaults to null): set the filename of file to read
  • original_size (of type string?, which defaults to null): set the size of the original video (used to scale fonts)
  • fontsdir (of type string?, which defaults to null): set the directory containing the fonts to read
  • alpha (of type bool?, which defaults to null): enable processing of alpha channel. (default: false)
  • shaping (of type int?, which defaults to null): set shaping engine. (default: -1, possible values: -1 (auto), 0 (simple), 1 (complex))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.ass.create

Ffmpeg filter: Render ASS subtitles onto input video using the libass library.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filename : string?, ?f : string?,
 ?original_size : string?, ?fontsdir : string?,
 ?alpha : bool?, ?shaping : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • filename (of type string?, which defaults to null): set the filename of file to read
  • f (of type string?, which defaults to null): set the filename of file to read
  • original_size (of type string?, which defaults to null): set the size of the original video (used to scale fonts)
  • fontsdir (of type string?, which defaults to null): set the directory containing the fonts to read
  • alpha (of type bool?, which defaults to null): enable processing of alpha channel. (default: false)
  • shaping (of type int?, which defaults to null): set shaping engine. (default: -1, possible values: -1 (auto), 0 (simple), 1 (complex))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.astats

Ffmpeg filter: Show time domain statistics about audio frames.

Type:

(?length : float?, ?metadata : bool?, ?reset : int?,
 ?measure_perchannel : int?, ?measure_overall : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • length (of type float?, which defaults to null): set the window length. (default: 0.05)
  • metadata (of type bool?, which defaults to null): inject metadata in the filtergraph. (default: false)
  • reset (of type int?, which defaults to null): recalculate stats after this many frames. (default: 0)
  • measure_perchannel (of type int?, which defaults to null): only measure_perchannel these per-channel statistics. (default: 4294967295, possible values: 0 (none), 4294967295 (all), 1 (DC_offset), 2 (Min_level), 4 (Max_level), 8 (Min_difference), 16 (Max_difference), 32 (Mean_difference), 64 (RMS_difference), 128 (Peak_level), 256 (RMS_level), 512 (RMS_peak), 1024 (RMS_trough), 2048 (Crest_factor), 4096 (Flat_factor), 8192 (Peak_count), 16384 (Bit_depth), 32768 (Dynamic_range), 65536 (Zero_crossings), 131072 (Zero_crossings_rate), 4194304 (Noise_floor), 8388608 (Noise_floor_count), 262144 (Number_of_samples), 524288 (Number_of_NaNs), 1048576 (Number_of_Infs), 2097152 (Number_of_denormals))
  • measure_overall (of type int?, which defaults to null): only measure_perchannel these overall statistics. (default: 4294967295, possible values: 0 (none), 4294967295 (all), 1 (DC_offset), 2 (Min_level), 4 (Max_level), 8 (Min_difference), 16 (Max_difference), 32 (Mean_difference), 64 (RMS_difference), 128 (Peak_level), 256 (RMS_level), 512 (RMS_peak), 1024 (RMS_trough), 2048 (Crest_factor), 4096 (Flat_factor), 8192 (Peak_count), 16384 (Bit_depth), 32768 (Dynamic_range), 65536 (Zero_crossings), 131072 (Zero_crossings_rate), 4194304 (Noise_floor), 8388608 (Noise_floor_count), 262144 (Number_of_samples), 524288 (Number_of_NaNs), 1048576 (Number_of_Infs), 2097152 (Number_of_denormals))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.astats.create

Ffmpeg filter: Show time domain statistics about audio frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?length : float?, ?metadata : bool?, ?reset : int?,
 ?measure_perchannel : int?, ?measure_overall : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • length (of type float?, which defaults to null): set the window length. (default: 0.05)
  • metadata (of type bool?, which defaults to null): inject metadata in the filtergraph. (default: false)
  • reset (of type int?, which defaults to null): recalculate stats after this many frames. (default: 0)
  • measure_perchannel (of type int?, which defaults to null): only measure_perchannel these per-channel statistics. (default: 4294967295, possible values: 0 (none), 4294967295 (all), 1 (DC_offset), 2 (Min_level), 4 (Max_level), 8 (Min_difference), 16 (Max_difference), 32 (Mean_difference), 64 (RMS_difference), 128 (Peak_level), 256 (RMS_level), 512 (RMS_peak), 1024 (RMS_trough), 2048 (Crest_factor), 4096 (Flat_factor), 8192 (Peak_count), 16384 (Bit_depth), 32768 (Dynamic_range), 65536 (Zero_crossings), 131072 (Zero_crossings_rate), 4194304 (Noise_floor), 8388608 (Noise_floor_count), 262144 (Number_of_samples), 524288 (Number_of_NaNs), 1048576 (Number_of_Infs), 2097152 (Number_of_denormals))
  • measure_overall (of type int?, which defaults to null): only measure_perchannel these overall statistics. (default: 4294967295, possible values: 0 (none), 4294967295 (all), 1 (DC_offset), 2 (Min_level), 4 (Max_level), 8 (Min_difference), 16 (Max_difference), 32 (Mean_difference), 64 (RMS_difference), 128 (Peak_level), 256 (RMS_level), 512 (RMS_peak), 1024 (RMS_trough), 2048 (Crest_factor), 4096 (Flat_factor), 8192 (Peak_count), 16384 (Bit_depth), 32768 (Dynamic_range), 65536 (Zero_crossings), 131072 (Zero_crossings_rate), 4194304 (Noise_floor), 8388608 (Noise_floor_count), 262144 (Number_of_samples), 524288 (Number_of_NaNs), 1048576 (Number_of_Infs), 2097152 (Number_of_denormals))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.astreamselect

Ffmpeg filter: Select audio streams This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?inputs : int?, ?map : string?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • inputs (of type int?, which defaults to null): number of input streams. (default: 2)
  • map (of type string?, which defaults to null): input indexes to remap to outputs
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.astreamselect.create

Ffmpeg filter: Select audio streams This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ?map : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • inputs (of type int?, which defaults to null): number of input streams. (default: 2)
  • map (of type string?, which defaults to null): input indexes to remap to outputs
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.asubboost

Ffmpeg filter: Boost subwoofer frequencies.

Type:

(?dry : float?, ?wet : float?, ?decay : float?,
 ?feedback : float?, ?cutoff : float?, ?slope : float?,
 ?delay : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • dry (of type float?, which defaults to null): set dry gain. (default: 0.5)
  • wet (of type float?, which defaults to null): set wet gain. (default: 0.8)
  • decay (of type float?, which defaults to null): set decay. (default: 0.7)
  • feedback (of type float?, which defaults to null): set feedback. (default: 0.5)
  • cutoff (of type float?, which defaults to null): set cutoff. (default: 100.)
  • slope (of type float?, which defaults to null): set slope. (default: 0.5)
  • delay (of type float?, which defaults to null): set delay. (default: 20.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.asubboost.create

Ffmpeg filter: Boost subwoofer frequencies.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dry : float?, ?wet : float?, ?decay : float?,
 ?feedback : float?, ?cutoff : float?, ?slope : float?,
 ?delay : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • dry (of type float?, which defaults to null): set dry gain. (default: 0.5)
  • wet (of type float?, which defaults to null): set wet gain. (default: 0.8)
  • decay (of type float?, which defaults to null): set decay. (default: 0.7)
  • feedback (of type float?, which defaults to null): set feedback. (default: 0.5)
  • cutoff (of type float?, which defaults to null): set cutoff. (default: 100.)
  • slope (of type float?, which defaults to null): set slope. (default: 0.5)
  • delay (of type float?, which defaults to null): set delay. (default: 20.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.atadenoise

Ffmpeg filter: Apply an Adaptive Temporal Averaging Denoiser.

Type:

(?0a : float?, ?0b : float?, ?1a : float?, ?1b : float?,
 ?2a : float?, ?2b : float?, ?s : int?, ?p : int?,
 ?a : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • 0a (of type float?, which defaults to null): set threshold A for 1st plane. (default: 0.02)
  • 0b (of type float?, which defaults to null): set threshold B for 1st plane. (default: 0.04)
  • 1a (of type float?, which defaults to null): set threshold A for 2nd plane. (default: 0.02)
  • 1b (of type float?, which defaults to null): set threshold B for 2nd plane. (default: 0.04)
  • 2a (of type float?, which defaults to null): set threshold A for 3rd plane. (default: 0.02)
  • 2b (of type float?, which defaults to null): set threshold B for 3rd plane. (default: 0.04)
  • s (of type int?, which defaults to null): set how many frames to use. (default: 9)
  • p (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • a (of type int?, which defaults to null): set variant of algorithm. (default: 0, possible values: 0 (p), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.atadenoise.create

Ffmpeg filter: Apply an Adaptive Temporal Averaging Denoiser.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?0a : float?, ?0b : float?, ?1a : float?, ?1b : float?,
 ?2a : float?, ?2b : float?, ?s : int?, ?p : int?,
 ?a : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • 0a (of type float?, which defaults to null): set threshold A for 1st plane. (default: 0.02)
  • 0b (of type float?, which defaults to null): set threshold B for 1st plane. (default: 0.04)
  • 1a (of type float?, which defaults to null): set threshold A for 2nd plane. (default: 0.02)
  • 1b (of type float?, which defaults to null): set threshold B for 2nd plane. (default: 0.04)
  • 2a (of type float?, which defaults to null): set threshold A for 3rd plane. (default: 0.02)
  • 2b (of type float?, which defaults to null): set threshold B for 3rd plane. (default: 0.04)
  • s (of type int?, which defaults to null): set how many frames to use. (default: 9)
  • p (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • a (of type int?, which defaults to null): set variant of algorithm. (default: 0, possible values: 0 (p), 1 (s))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.atempo

Ffmpeg filter: Adjust audio tempo.

Type:

(?tempo : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • tempo (of type float?, which defaults to null): set tempo scale factor. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.atempo.create

Ffmpeg filter: Adjust audio tempo.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?tempo : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • tempo (of type float?, which defaults to null): set tempo scale factor. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.atrim

Ffmpeg filter: Pick one continuous section from the input, drop the rest.

Type:

(?start : int?, ?starti : int?, ?end : int?,
 ?endi : int?, ?start_pts : int?, ?end_pts : int?,
 ?duration : int?, ?durationi : int?,
 ?start_sample : int?, ?end_sample : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • start (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: 9223372036854775807)
  • starti (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: 9223372036854775807)
  • end (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: 9223372036854775807)
  • endi (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: 9223372036854775807)
  • start_pts (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: -9223372036854775808)
  • end_pts (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: -9223372036854775808)
  • duration (of type int?, which defaults to null): Maximum duration of the output. (default: 0)
  • durationi (of type int?, which defaults to null): Maximum duration of the output. (default: 0)
  • start_sample (of type int?, which defaults to null): Number of the first audio sample that should be passed to the output. (default: -1)
  • end_sample (of type int?, which defaults to null): Number of the first audio sample that should be dropped again. (default: 9223372036854775807)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.atrim.create

Ffmpeg filter: Pick one continuous section from the input, drop the rest.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?start : int?, ?starti : int?, ?end : int?,
 ?endi : int?, ?start_pts : int?, ?end_pts : int?,
 ?duration : int?, ?durationi : int?,
 ?start_sample : int?, ?end_sample : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • start (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: 9223372036854775807)
  • starti (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: 9223372036854775807)
  • end (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: 9223372036854775807)
  • endi (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: 9223372036854775807)
  • start_pts (of type int?, which defaults to null): Timestamp of the first frame that should be passed. (default: -9223372036854775808)
  • end_pts (of type int?, which defaults to null): Timestamp of the first frame that should be dropped again. (default: -9223372036854775808)
  • duration (of type int?, which defaults to null): Maximum duration of the output. (default: 0)
  • durationi (of type int?, which defaults to null): Maximum duration of the output. (default: 0)
  • start_sample (of type int?, which defaults to null): Number of the first audio sample that should be passed to the output. (default: -1)
  • end_sample (of type int?, which defaults to null): Number of the first audio sample that should be dropped again. (default: 9223372036854775807)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.avectorscope

Ffmpeg filter: Convert input audio to vectorscope video output.

Type:

(?mode : int?, ?m : int?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?rc : int?, ?gc : int?,
 ?bc : int?, ?ac : int?, ?rf : int?, ?gf : int?,
 ?bf : int?, ?af : int?, ?zoom : float?, ?draw : int?,
 ?scale : int?, ?swap : bool?, ?mirror : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lissajous), 1 (lissajous_xy), 2 (polar))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lissajous), 1 (lissajous_xy), 2 (polar))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 400x400)
  • s (of type string?, which defaults to null): set video size. (default: 400x400)
  • rc (of type int?, which defaults to null): set red contrast. (default: 40)
  • gc (of type int?, which defaults to null): set green contrast. (default: 160)
  • bc (of type int?, which defaults to null): set blue contrast. (default: 80)
  • ac (of type int?, which defaults to null): set alpha contrast. (default: 255)
  • rf (of type int?, which defaults to null): set red fade. (default: 15)
  • gf (of type int?, which defaults to null): set green fade. (default: 10)
  • bf (of type int?, which defaults to null): set blue fade. (default: 5)
  • af (of type int?, which defaults to null): set alpha fade. (default: 5)
  • zoom (of type float?, which defaults to null): set zoom factor. (default: 1.)
  • draw (of type int?, which defaults to null): set draw mode. (default: 0, possible values: 0 (dot), 1 (line))
  • scale (of type int?, which defaults to null): set amplitude scale mode. (default: 0, possible values: 0 (lin), 1 (sqrt), 2 (cbrt), 3 (log))
  • swap (of type bool?, which defaults to null): swap x axis with y axis. (default: true)
  • mirror (of type int?, which defaults to null): mirror axis. (default: 0, possible values: 0 (none), 1 (x), 2 (y), 3 (xy))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.avectorscope.create

Ffmpeg filter: Convert input audio to vectorscope video output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?m : int?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?rc : int?, ?gc : int?,
 ?bc : int?, ?ac : int?, ?rf : int?, ?gf : int?,
 ?bf : int?, ?af : int?, ?zoom : float?, ?draw : int?,
 ?scale : int?, ?swap : bool?, ?mirror : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lissajous), 1 (lissajous_xy), 2 (polar))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (lissajous), 1 (lissajous_xy), 2 (polar))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size. (default: 400x400)
  • s (of type string?, which defaults to null): set video size. (default: 400x400)
  • rc (of type int?, which defaults to null): set red contrast. (default: 40)
  • gc (of type int?, which defaults to null): set green contrast. (default: 160)
  • bc (of type int?, which defaults to null): set blue contrast. (default: 80)
  • ac (of type int?, which defaults to null): set alpha contrast. (default: 255)
  • rf (of type int?, which defaults to null): set red fade. (default: 15)
  • gf (of type int?, which defaults to null): set green fade. (default: 10)
  • bf (of type int?, which defaults to null): set blue fade. (default: 5)
  • af (of type int?, which defaults to null): set alpha fade. (default: 5)
  • zoom (of type float?, which defaults to null): set zoom factor. (default: 1.)
  • draw (of type int?, which defaults to null): set draw mode. (default: 0, possible values: 0 (dot), 1 (line))
  • scale (of type int?, which defaults to null): set amplitude scale mode. (default: 0, possible values: 0 (lin), 1 (sqrt), 2 (cbrt), 3 (log))
  • swap (of type bool?, which defaults to null): swap x axis with y axis. (default: true)
  • mirror (of type int?, which defaults to null): mirror axis. (default: 0, possible values: 0 (none), 1 (x), 2 (y), 3 (xy))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.avgblur

Ffmpeg filter: Apply Average Blur filter.

Type:

(?sizeX : int?, ?planes : int?, ?sizeY : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • sizeX (of type int?, which defaults to null): set horizontal size. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sizeY (of type int?, which defaults to null): set vertical size. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.avgblur.create

Ffmpeg filter: Apply Average Blur filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sizeX : int?, ?planes : int?, ?sizeY : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • sizeX (of type int?, which defaults to null): set horizontal size. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sizeY (of type int?, which defaults to null): set vertical size. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.avgblur_opencl

Ffmpeg filter: Apply average blur filter

Type:

(?sizeX : int?, ?planes : int?, ?sizeY : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • sizeX (of type int?, which defaults to null): set horizontal size. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sizeY (of type int?, which defaults to null): set vertical size. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.avgblur_opencl.create

Ffmpeg filter: Apply average blur filter. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sizeX : int?, ?planes : int?, ?sizeY : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • sizeX (of type int?, which defaults to null): set horizontal size. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sizeY (of type int?, which defaults to null): set vertical size. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.axcorrelate

Ffmpeg filter: Cross-correlate two audio streams.

Type:

(?size : int?, ?algo : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • size (of type int?, which defaults to null): set segment size. (default: 256)
  • algo (of type int?, which defaults to null): set alghorithm. (default: 0, possible values: 0 (slow), 1 (fast))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.axcorrelate.create

Ffmpeg filter: Cross-correlate two audio streams.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : int?, ?algo : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type int?, which defaults to null): set segment size. (default: 256)
  • algo (of type int?, which defaults to null): set alghorithm. (default: 0, possible values: 0 (slow), 1 (fast))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio, ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.azmq

Ffmpeg filter: Receive commands through ZMQ and broker them to filters.

Type:

(?bind_address : string?, ?b : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • bind_address (of type string?, which defaults to null): set bind address. (default: tcp://*:5555)
  • b (of type string?, which defaults to null): set bind address. (default: tcp://*:5555)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.azmq.create

Ffmpeg filter: Receive commands through ZMQ and broker them to filters.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?bind_address : string?, ?b : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • bind_address (of type string?, which defaults to null): set bind address. (default: tcp://*:5555)
  • b (of type string?, which defaults to null): set bind address. (default: tcp://*:5555)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bandpass

Ffmpeg filter: Apply a two-pole Butterworth band-pass filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?csg : bool?,
 ?mix : float?, ?m : float?, ?channels : string?,
 ?c : string?, ?normalize : bool?, ?n : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 0.5)
  • w (of type float?, which defaults to null): set band-width. (default: 0.5)
  • csg (of type bool?, which defaults to null): use constant skirt gain. (default: false)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.bandpass.create

Ffmpeg filter: Apply a two-pole Butterworth band-pass filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?csg : bool?,
 ?mix : float?, ?m : float?, ?channels : string?,
 ?c : string?, ?normalize : bool?, ?n : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 0.5)
  • w (of type float?, which defaults to null): set band-width. (default: 0.5)
  • csg (of type bool?, which defaults to null): use constant skirt gain. (default: false)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bandreject

Ffmpeg filter: Apply a two-pole Butterworth band-reject filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?mix : float?,
 ?m : float?, ?channels : string?, ?c : string?,
 ?normalize : bool?, ?n : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 0.5)
  • w (of type float?, which defaults to null): set band-width. (default: 0.5)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.bandreject.create

Ffmpeg filter: Apply a two-pole Butterworth band-reject filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?mix : float?,
 ?m : float?, ?channels : string?, ?c : string?,
 ?normalize : bool?, ?n : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 0.5)
  • w (of type float?, which defaults to null): set band-width. (default: 0.5)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bass

Ffmpeg filter: Boost or cut lower frequencies.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 100.)
  • f (of type float?, which defaults to null): set central frequency. (default: 100.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.bass.create

Ffmpeg filter: Boost or cut lower frequencies.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 100.)
  • f (of type float?, which defaults to null): set central frequency. (default: 100.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bbox

Ffmpeg filter: Compute bounding box for each frame.

Type:

(?min_val : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • min_val (of type int?, which defaults to null): set minimum luminance value for bounding box. (default: 16)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.bbox.create

Ffmpeg filter: Compute bounding box for each frame.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?min_val : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • min_val (of type int?, which defaults to null): set minimum luminance value for bounding box. (default: 16)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.bench

Ffmpeg filter: Benchmark part of a filtergraph.

Type:

(?action : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • action (of type int?, which defaults to null): set action. (default: 0, possible values: 0 (start), 1 (stop))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.bench.create

Ffmpeg filter: Benchmark part of a filtergraph.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?action : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • action (of type int?, which defaults to null): set action. (default: 0, possible values: 0 (start), 1 (stop))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.bilateral

Ffmpeg filter: Apply Bilateral filter.

Type:

(?sigmaS : float?, ?sigmaR : float?, ?planes : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • sigmaS (of type float?, which defaults to null): set spatial sigma. (default: 0.1)
  • sigmaR (of type float?, which defaults to null): set range sigma. (default: 0.1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.bilateral.create

Ffmpeg filter: Apply Bilateral filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sigmaS : float?, ?sigmaR : float?, ?planes : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • sigmaS (of type float?, which defaults to null): set spatial sigma. (default: 0.1)
  • sigmaR (of type float?, which defaults to null): set range sigma. (default: 0.1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.biquad

Ffmpeg filter: Apply a biquad IIR filter with the given coefficients.

Type:

(?a0 : float?, ?a1 : float?, ?a2 : float?, ?b0 : float?,
 ?b1 : float?, ?b2 : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • a0 (of type float?, which defaults to null): Default: 1.
  • a1 (of type float?, which defaults to null): Default: 0.
  • a2 (of type float?, which defaults to null): Default: 0.
  • b0 (of type float?, which defaults to null): Default: 0.
  • b1 (of type float?, which defaults to null): Default: 0.
  • b2 (of type float?, which defaults to null): Default: 0.
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.biquad.create

Ffmpeg filter: Apply a biquad IIR filter with the given coefficients.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?a0 : float?, ?a1 : float?, ?a2 : float?, ?b0 : float?,
 ?b1 : float?, ?b2 : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • a0 (of type float?, which defaults to null): Default: 1.
  • a1 (of type float?, which defaults to null): Default: 0.
  • a2 (of type float?, which defaults to null): Default: 0.
  • b0 (of type float?, which defaults to null): Default: 0.
  • b1 (of type float?, which defaults to null): Default: 0.
  • b2 (of type float?, which defaults to null): Default: 0.
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bitplanenoise

Ffmpeg filter: Measure bit plane noise.

Type:

(?bitplane : int?, ?filter : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • bitplane (of type int?, which defaults to null): set bit plane to use for measuring noise. (default: 1)
  • filter (of type bool?, which defaults to null): show noisy pixels. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.bitplanenoise.create

Ffmpeg filter: Measure bit plane noise.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?bitplane : int?, ?filter : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • bitplane (of type int?, which defaults to null): set bit plane to use for measuring noise. (default: 1)
  • filter (of type bool?, which defaults to null): show noisy pixels. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.blackdetect

Ffmpeg filter: Detect video intervals that are (almost) black.

Type:

(?d : float?, ?black_min_duration : float?,
 ?picture_black_ratio_th : float?, ?pic_th : float?,
 ?pixel_black_th : float?, ?pix_th : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • d (of type float?, which defaults to null): set minimum detected black duration in seconds. (default: 2.)
  • black_min_duration (of type float?, which defaults to null): set minimum detected black duration in seconds. (default: 2.)
  • picture_black_ratio_th (of type float?, which defaults to null): set the picture black ratio threshold. (default: 0.98)
  • pic_th (of type float?, which defaults to null): set the picture black ratio threshold. (default: 0.98)
  • pixel_black_th (of type float?, which defaults to null): set the pixel black threshold. (default: 0.1)
  • pix_th (of type float?, which defaults to null): set the pixel black threshold. (default: 0.1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.blackdetect.create

Ffmpeg filter: Detect video intervals that are (almost) black.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?d : float?, ?black_min_duration : float?,
 ?picture_black_ratio_th : float?, ?pic_th : float?,
 ?pixel_black_th : float?, ?pix_th : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • d (of type float?, which defaults to null): set minimum detected black duration in seconds. (default: 2.)
  • black_min_duration (of type float?, which defaults to null): set minimum detected black duration in seconds. (default: 2.)
  • picture_black_ratio_th (of type float?, which defaults to null): set the picture black ratio threshold. (default: 0.98)
  • pic_th (of type float?, which defaults to null): set the picture black ratio threshold. (default: 0.98)
  • pixel_black_th (of type float?, which defaults to null): set the pixel black threshold. (default: 0.1)
  • pix_th (of type float?, which defaults to null): set the pixel black threshold. (default: 0.1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.blackframe

Ffmpeg filter: Detect frames that are (almost) black.

Type:

(?amount : int?, ?threshold : int?, ?thresh : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • amount (of type int?, which defaults to null): percentage of the pixels that have to be below the threshold for the frame to be considered black. (default: 98)
  • threshold (of type int?, which defaults to null): threshold below which a pixel value is considered black. (default: 32)
  • thresh (of type int?, which defaults to null): threshold below which a pixel value is considered black. (default: 32)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.blackframe.create

Ffmpeg filter: Detect frames that are (almost) black.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?amount : int?, ?threshold : int?, ?thresh : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • amount (of type int?, which defaults to null): percentage of the pixels that have to be below the threshold for the frame to be considered black. (default: 98)
  • threshold (of type int?, which defaults to null): threshold below which a pixel value is considered black. (default: 32)
  • thresh (of type int?, which defaults to null): threshold below which a pixel value is considered black. (default: 32)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.blend

Ffmpeg filter: Blend two video frames into each other.

Type:

(?c0_mode : int?, ?c1_mode : int?, ?c2_mode : int?,
 ?c3_mode : int?, ?all_mode : int?, ?c0_expr : string?,
 ?c1_expr : string?, ?c2_expr : string?,
 ?c3_expr : string?, ?all_expr : string?,
 ?c0_opacity : float?, ?c1_opacity : float?,
 ?c2_opacity : float?, ?c3_opacity : float?,
 ?all_opacity : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • c0_mode (of type int?, which defaults to null): set component #0 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c1_mode (of type int?, which defaults to null): set component #1 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c2_mode (of type int?, which defaults to null): set component #2 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c3_mode (of type int?, which defaults to null): set component #3 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • all_mode (of type int?, which defaults to null): set blend mode for all components. (default: -1, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c0_expr (of type string?, which defaults to null): set color component #0 expression
  • c1_expr (of type string?, which defaults to null): set color component #1 expression
  • c2_expr (of type string?, which defaults to null): set color component #2 expression
  • c3_expr (of type string?, which defaults to null): set color component #3 expression
  • all_expr (of type string?, which defaults to null): set expression for all color components
  • c0_opacity (of type float?, which defaults to null): set color component #0 opacity. (default: 1.)
  • c1_opacity (of type float?, which defaults to null): set color component #1 opacity. (default: 1.)
  • c2_opacity (of type float?, which defaults to null): set color component #2 opacity. (default: 1.)
  • c3_opacity (of type float?, which defaults to null): set color component #3 opacity. (default: 1.)
  • all_opacity (of type float?, which defaults to null): set opacity for all color components. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.blend.create

Ffmpeg filter: Blend two video frames into each other.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?c0_mode : int?, ?c1_mode : int?, ?c2_mode : int?,
 ?c3_mode : int?, ?all_mode : int?, ?c0_expr : string?,
 ?c1_expr : string?, ?c2_expr : string?,
 ?c3_expr : string?, ?all_expr : string?,
 ?c0_opacity : float?, ?c1_opacity : float?,
 ?c2_opacity : float?, ?c3_opacity : float?,
 ?all_opacity : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • c0_mode (of type int?, which defaults to null): set component #0 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c1_mode (of type int?, which defaults to null): set component #1 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c2_mode (of type int?, which defaults to null): set component #2 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c3_mode (of type int?, which defaults to null): set component #3 blend mode. (default: 0, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • all_mode (of type int?, which defaults to null): set blend mode for all components. (default: -1, possible values: 1 (addition), 28 (addition128), 28 (grainmerge), 2 (and), 3 (average), 4 (burn), 5 (darken), 6 (difference), 7 (difference128), 7 (grainextract), 8 (divide), 9 (dodge), 10 (exclusion), 32 (extremity), 31 (freeze), 27 (glow), 11 (hardlight), 25 (hardmix), 30 (heat), 12 (lighten), 26 (linearlight), 13 (multiply), 29 (multiply128), 14 (negation), 0 (normal), 15 (or), 16 (overlay), 17 (phoenix), 18 (pinlight), 19 (reflect), 20 (screen), 21 (softlight), 22 (subtract), 23 (vividlight), 24 (xor))
  • c0_expr (of type string?, which defaults to null): set color component #0 expression
  • c1_expr (of type string?, which defaults to null): set color component #1 expression
  • c2_expr (of type string?, which defaults to null): set color component #2 expression
  • c3_expr (of type string?, which defaults to null): set color component #3 expression
  • all_expr (of type string?, which defaults to null): set expression for all color components
  • c0_opacity (of type float?, which defaults to null): set color component #0 opacity. (default: 1.)
  • c1_opacity (of type float?, which defaults to null): set color component #1 opacity. (default: 1.)
  • c2_opacity (of type float?, which defaults to null): set color component #2 opacity. (default: 1.)
  • c3_opacity (of type float?, which defaults to null): set color component #3 opacity. (default: 1.)
  • all_opacity (of type float?, which defaults to null): set opacity for all color components. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.bm3d

Ffmpeg filter: Block-Matching 3D denoiser. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?sigma : float?, ?block : int?, ?bstep : int?,
 ?group : int?, ?range : int?, ?mstep : int?,
 ?thmse : float?, ?hdthr : float?, ?estim : int?,
 ?ref : bool?, ?planes : int?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • sigma (of type float?, which defaults to null): set denoising strength. (default: 1.)
  • block (of type int?, which defaults to null): set log2(size) of local patch. (default: 4)
  • bstep (of type int?, which defaults to null): set sliding step for processing blocks. (default: 4)
  • group (of type int?, which defaults to null): set maximal number of similar blocks. (default: 1)
  • range (of type int?, which defaults to null): set block matching range. (default: 9)
  • mstep (of type int?, which defaults to null): set step for block matching. (default: 1)
  • thmse (of type float?, which defaults to null): set threshold of mean square error for block matching. (default: 0.)
  • hdthr (of type float?, which defaults to null): set hard threshold for 3D transfer domain. (default: 2.7)
  • estim (of type int?, which defaults to null): set filtering estimation mode. (default: 0, possible values: 0 (basic), 1 (final))
  • ref (of type bool?, which defaults to null): have reference stream. (default: false)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.bm3d.create

Ffmpeg filter: Block-Matching 3D denoiser. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sigma : float?, ?block : int?, ?bstep : int?,
 ?group : int?, ?range : int?, ?mstep : int?,
 ?thmse : float?, ?hdthr : float?, ?estim : int?,
 ?ref : bool?, ?planes : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • sigma (of type float?, which defaults to null): set denoising strength. (default: 1.)
  • block (of type int?, which defaults to null): set log2(size) of local patch. (default: 4)
  • bstep (of type int?, which defaults to null): set sliding step for processing blocks. (default: 4)
  • group (of type int?, which defaults to null): set maximal number of similar blocks. (default: 1)
  • range (of type int?, which defaults to null): set block matching range. (default: 9)
  • mstep (of type int?, which defaults to null): set step for block matching. (default: 1)
  • thmse (of type float?, which defaults to null): set threshold of mean square error for block matching. (default: 0.)
  • hdthr (of type float?, which defaults to null): set hard threshold for 3D transfer domain. (default: 2.7)
  • estim (of type int?, which defaults to null): set filtering estimation mode. (default: 0, possible values: 0 (basic), 1 (final))
  • ref (of type bool?, which defaults to null): have reference stream. (default: false)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.boxblur

Ffmpeg filter: Blur the input.

Type:

(?luma_radius : string?, ?lr : string?,
 ?luma_power : int?, ?lp : int?,
 ?chroma_radius : string?, ?cr : string?,
 ?chroma_power : int?, ?cp : int?,
 ?alpha_radius : string?, ?ar : string?,
 ?alpha_power : int?, ?ap : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • luma_radius (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • lr (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • luma_power (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • lp (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • chroma_radius (of type string?, which defaults to null): Radius of the chroma blurring box
  • cr (of type string?, which defaults to null): Radius of the chroma blurring box
  • chroma_power (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • cp (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • alpha_radius (of type string?, which defaults to null): Radius of the alpha blurring box
  • ar (of type string?, which defaults to null): Radius of the alpha blurring box
  • alpha_power (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • ap (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.boxblur.create

Ffmpeg filter: Blur the input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?luma_radius : string?, ?lr : string?,
 ?luma_power : int?, ?lp : int?,
 ?chroma_radius : string?, ?cr : string?,
 ?chroma_power : int?, ?cp : int?,
 ?alpha_radius : string?, ?ar : string?,
 ?alpha_power : int?, ?ap : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • luma_radius (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • lr (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • luma_power (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • lp (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • chroma_radius (of type string?, which defaults to null): Radius of the chroma blurring box
  • cr (of type string?, which defaults to null): Radius of the chroma blurring box
  • chroma_power (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • cp (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • alpha_radius (of type string?, which defaults to null): Radius of the alpha blurring box
  • ar (of type string?, which defaults to null): Radius of the alpha blurring box
  • alpha_power (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • ap (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.boxblur_opencl

Ffmpeg filter: Apply boxblur filter to input video

Type:

(?luma_radius : string?, ?lr : string?,
 ?luma_power : int?, ?lp : int?,
 ?chroma_radius : string?, ?cr : string?,
 ?chroma_power : int?, ?cp : int?,
 ?alpha_radius : string?, ?ar : string?,
 ?alpha_power : int?, ?ap : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • luma_radius (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • lr (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • luma_power (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • lp (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • chroma_radius (of type string?, which defaults to null): Radius of the chroma blurring box
  • cr (of type string?, which defaults to null): Radius of the chroma blurring box
  • chroma_power (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • cp (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • alpha_radius (of type string?, which defaults to null): Radius of the alpha blurring box
  • ar (of type string?, which defaults to null): Radius of the alpha blurring box
  • alpha_power (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • ap (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.boxblur_opencl.create

Ffmpeg filter: Apply boxblur filter to input video. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?luma_radius : string?, ?lr : string?,
 ?luma_power : int?, ?lp : int?,
 ?chroma_radius : string?, ?cr : string?,
 ?chroma_power : int?, ?cp : int?,
 ?alpha_radius : string?, ?ar : string?,
 ?alpha_power : int?, ?ap : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • luma_radius (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • lr (of type string?, which defaults to null): Radius of the luma blurring box. (default: 2)
  • luma_power (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • lp (of type int?, which defaults to null): How many times should the boxblur be applied to luma. (default: 2)
  • chroma_radius (of type string?, which defaults to null): Radius of the chroma blurring box
  • cr (of type string?, which defaults to null): Radius of the chroma blurring box
  • chroma_power (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • cp (of type int?, which defaults to null): How many times should the boxblur be applied to chroma. (default: -1)
  • alpha_radius (of type string?, which defaults to null): Radius of the alpha blurring box
  • ar (of type string?, which defaults to null): Radius of the alpha blurring box
  • alpha_power (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • ap (of type int?, which defaults to null): How many times should the boxblur be applied to alpha. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.bs2b

Ffmpeg filter: Bauer stereo-to-binaural filter.

Type:

(?profile : int?, ?fcut : int?, ?feed : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • profile (of type int?, which defaults to null): Apply a pre-defined crossfeed level. (default: 2949820, possible values: 2949820 (default), 3932860 (cmoy), 6226570 (jmeier))
  • fcut (of type int?, which defaults to null): Set cut frequency (in Hz). (default: 0)
  • feed (of type int?, which defaults to null): Set feed level (in Hz). (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.bs2b.create

Ffmpeg filter: Bauer stereo-to-binaural filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?profile : int?, ?fcut : int?, ?feed : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • profile (of type int?, which defaults to null): Apply a pre-defined crossfeed level. (default: 2949820, possible values: 2949820 (default), 3932860 (cmoy), 6226570 (jmeier))
  • fcut (of type int?, which defaults to null): Set cut frequency (in Hz). (default: 0)
  • feed (of type int?, which defaults to null): Set feed level (in Hz). (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.bwdif

Ffmpeg filter: Deinterlace the input image.

Type:

(?mode : int?, ?parity : int?, ?deint : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): specify the interlacing mode. (default: 1, possible values: 0 (send_frame), 1 (send_field))
  • parity (of type int?, which defaults to null): specify the assumed picture field parity. (default: -1, possible values: 0 (tff), 1 (bff), -1 (auto))
  • deint (of type int?, which defaults to null): specify which frames to deinterlace. (default: 0, possible values: 0 (all), 1 (interlaced))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.bwdif.create

Ffmpeg filter: Deinterlace the input image.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?parity : int?, ?deint : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): specify the interlacing mode. (default: 1, possible values: 0 (send_frame), 1 (send_field))
  • parity (of type int?, which defaults to null): specify the assumed picture field parity. (default: -1, possible values: 0 (tff), 1 (bff), -1 (auto))
  • deint (of type int?, which defaults to null): specify which frames to deinterlace. (default: 0, possible values: 0 (all), 1 (interlaced))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.cas

Ffmpeg filter: Contrast Adaptive Sharpen.

Type:

(?strength : float?, ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • strength (of type float?, which defaults to null): set the sharpening strength. (default: 0.)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.cas.create

Ffmpeg filter: Contrast Adaptive Sharpen.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?strength : float?, ?planes : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • strength (of type float?, which defaults to null): set the sharpening strength. (default: 0.)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.cellauto

Ffmpeg filter: Create pattern generated by an elementary cellular automaton.

Type:

(?filename : string?, ?f : string?, ?pattern : string?,
 ?p : string?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?rule : int?,
 ?random_fill_ratio : float?, ?ratio : float?,
 ?random_seed : int?, ?seed : int?, ?scroll : bool?,
 ?start_full : bool?, ?full : bool?, ?stitch : bool?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • filename (of type string?, which defaults to null): read initial pattern from file
  • f (of type string?, which defaults to null): read initial pattern from file
  • pattern (of type string?, which defaults to null): set initial pattern
  • p (of type string?, which defaults to null): set initial pattern
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size
  • s (of type string?, which defaults to null): set video size
  • rule (of type int?, which defaults to null): set rule. (default: 110)
  • random_fill_ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • random_seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • scroll (of type bool?, which defaults to null): scroll pattern downward. (default: true)
  • start_full (of type bool?, which defaults to null): start filling the whole video. (default: false)
  • full (of type bool?, which defaults to null): start filling the whole video. (default: true)
  • stitch (of type bool?, which defaults to null): stitch boundaries. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.cellauto.create

Ffmpeg filter: Create pattern generated by an elementary cellular automaton.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filename : string?, ?f : string?, ?pattern : string?,
 ?p : string?, ?rate : string?, ?r : string?,
 ?size : string?, ?s : string?, ?rule : int?,
 ?random_fill_ratio : float?, ?ratio : float?,
 ?random_seed : int?, ?seed : int?, ?scroll : bool?,
 ?start_full : bool?, ?full : bool?, ?stitch : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • filename (of type string?, which defaults to null): read initial pattern from file
  • f (of type string?, which defaults to null): read initial pattern from file
  • pattern (of type string?, which defaults to null): set initial pattern
  • p (of type string?, which defaults to null): set initial pattern
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • size (of type string?, which defaults to null): set video size
  • s (of type string?, which defaults to null): set video size
  • rule (of type int?, which defaults to null): set rule. (default: 110)
  • random_fill_ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • random_seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • scroll (of type bool?, which defaults to null): scroll pattern downward. (default: true)
  • start_full (of type bool?, which defaults to null): start filling the whole video. (default: false)
  • full (of type bool?, which defaults to null): start filling the whole video. (default: true)
  • stitch (of type bool?, which defaults to null): stitch boundaries. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.channelmap

Ffmpeg filter: Remap audio channels.

Type:

(?map : string?, ?channel_layout : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • map (of type string?, which defaults to null): A comma-separated list of input channel numbers in output order.
  • channel_layout (of type string?, which defaults to null): Output channel layout.
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.channelmap.create

Ffmpeg filter: Remap audio channels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?map : string?, ?channel_layout : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • map (of type string?, which defaults to null): A comma-separated list of input channel numbers in output order.
  • channel_layout (of type string?, which defaults to null): Output channel layout.
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.channelsplit

Ffmpeg filter: Split audio into per-channel streams. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?channel_layout : string?, ?channels : string?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • channel_layout (of type string?, which defaults to null): Input channel layout.. (default: stereo)
  • channels (of type string?, which defaults to null): Channels to extract.. (default: all)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.channelsplit.create

Ffmpeg filter: Split audio into per-channel streams. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?channel_layout : string?, ?channels : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • channel_layout (of type string?, which defaults to null): Input channel layout.. (default: stereo)
  • channels (of type string?, which defaults to null): Channels to extract.. (default: all)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.chorus

Ffmpeg filter: Add a chorus effect to the audio.

Type:

(?in_gain : float?, ?out_gain : float?,
 ?delays : string?, ?decays : string?, ?speeds : string?,
 ?depths : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • in_gain (of type float?, which defaults to null): set input gain. (default: 0.4)
  • out_gain (of type float?, which defaults to null): set output gain. (default: 0.4)
  • delays (of type string?, which defaults to null): set delays
  • decays (of type string?, which defaults to null): set decays
  • speeds (of type string?, which defaults to null): set speeds
  • depths (of type string?, which defaults to null): set depths
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.chorus.create

Ffmpeg filter: Add a chorus effect to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?in_gain : float?, ?out_gain : float?,
 ?delays : string?, ?decays : string?, ?speeds : string?,
 ?depths : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • in_gain (of type float?, which defaults to null): set input gain. (default: 0.4)
  • out_gain (of type float?, which defaults to null): set output gain. (default: 0.4)
  • delays (of type string?, which defaults to null): set delays
  • decays (of type string?, which defaults to null): set decays
  • speeds (of type string?, which defaults to null): set speeds
  • depths (of type string?, which defaults to null): set depths
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.chromahold

Ffmpeg filter: Turns a certain color range into gray.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ?yuv : bool?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set the chromahold key color. (default: black)
  • similarity (of type float?, which defaults to null): set the chromahold similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the chromahold blend value. (default: 0.)
  • yuv (of type bool?, which defaults to null): color parameter is in yuv instead of rgb. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.chromahold.create

Ffmpeg filter: Turns a certain color range into gray.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ?yuv : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set the chromahold key color. (default: black)
  • similarity (of type float?, which defaults to null): set the chromahold similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the chromahold blend value. (default: 0.)
  • yuv (of type bool?, which defaults to null): color parameter is in yuv instead of rgb. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.chromakey

Ffmpeg filter: Turns a certain color into transparency. Operates on YUV colors.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ?yuv : bool?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set the chromakey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the chromakey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the chromakey key blend value. (default: 0.)
  • yuv (of type bool?, which defaults to null): color parameter is in yuv instead of rgb. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.chromakey.create

Ffmpeg filter: Turns a certain color into transparency. Operates on YUV colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ?yuv : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set the chromakey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the chromakey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the chromakey key blend value. (default: 0.)
  • yuv (of type bool?, which defaults to null): color parameter is in yuv instead of rgb. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.chromashift

Ffmpeg filter: Shift chroma.

Type:

(?cbh : int?, ?cbv : int?, ?crh : int?, ?crv : int?,
 ?edge : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • cbh (of type int?, which defaults to null): shift chroma-blue horizontally. (default: 0)
  • cbv (of type int?, which defaults to null): shift chroma-blue vertically. (default: 0)
  • crh (of type int?, which defaults to null): shift chroma-red horizontally. (default: 0)
  • crv (of type int?, which defaults to null): shift chroma-red vertically. (default: 0)
  • edge (of type int?, which defaults to null): set edge operation. (default: 0, possible values: 0 (smear), 1 (wrap))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.chromashift.create

Ffmpeg filter: Shift chroma.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cbh : int?, ?cbv : int?, ?crh : int?, ?crv : int?,
 ?edge : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • cbh (of type int?, which defaults to null): shift chroma-blue horizontally. (default: 0)
  • cbv (of type int?, which defaults to null): shift chroma-blue vertically. (default: 0)
  • crh (of type int?, which defaults to null): shift chroma-red horizontally. (default: 0)
  • crv (of type int?, which defaults to null): shift chroma-red vertically. (default: 0)
  • edge (of type int?, which defaults to null): set edge operation. (default: 0, possible values: 0 (smear), 1 (wrap))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.ciescope

Ffmpeg filter: Video CIE scope.

Type:

(?system : int?, ?cie : int?, ?gamuts : int?,
 ?size : int?, ?s : int?, ?intensity : float?,
 ?i : float?, ?contrast : float?, ?corrgamma : bool?,
 ?showwhite : bool?, ?gamma : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • system (of type int?, which defaults to null): set color system. (default: 7, possible values: 0 (ntsc), 0 (470m), 1 (ebu), 1 (470bg), 2 (smpte), 3 (240m), 4 (apple), 5 (widergb), 6 (cie1931), 7 (hdtv), 7 (rec709), 8 (uhdtv), 8 (rec2020), 9 (dcip3))
  • cie (of type int?, which defaults to null): set cie system. (default: 0, possible values: 0 (xyy), 1 (ucs), 2 (luv))
  • gamuts (of type int?, which defaults to null): set what gamuts to draw. (default: 0, possible values: 1 (ntsc), 1 (470m), 2 (ebu), 2 (470bg), 4 (smpte), 8 (240m), 16 (apple), 32 (widergb), 64 (cie1931), 128 (hdtv), 128 (rec709), 256 (uhdtv), 256 (rec2020), 512 (dcip3))
  • size (of type int?, which defaults to null): set ciescope size. (default: 512)
  • s (of type int?, which defaults to null): set ciescope size. (default: 512)
  • intensity (of type float?, which defaults to null): set ciescope intensity. (default: 0.001)
  • i (of type float?, which defaults to null): set ciescope intensity. (default: 0.001)
  • contrast (of type float?, which defaults to null): Default: 0.75
  • corrgamma (of type bool?, which defaults to null): Default: true
  • showwhite (of type bool?, which defaults to null): Default: false
  • gamma (of type float?, which defaults to null): Default: 2.6
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.ciescope.create

Ffmpeg filter: Video CIE scope.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?system : int?, ?cie : int?, ?gamuts : int?,
 ?size : int?, ?s : int?, ?intensity : float?,
 ?i : float?, ?contrast : float?, ?corrgamma : bool?,
 ?showwhite : bool?, ?gamma : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • system (of type int?, which defaults to null): set color system. (default: 7, possible values: 0 (ntsc), 0 (470m), 1 (ebu), 1 (470bg), 2 (smpte), 3 (240m), 4 (apple), 5 (widergb), 6 (cie1931), 7 (hdtv), 7 (rec709), 8 (uhdtv), 8 (rec2020), 9 (dcip3))
  • cie (of type int?, which defaults to null): set cie system. (default: 0, possible values: 0 (xyy), 1 (ucs), 2 (luv))
  • gamuts (of type int?, which defaults to null): set what gamuts to draw. (default: 0, possible values: 1 (ntsc), 1 (470m), 2 (ebu), 2 (470bg), 4 (smpte), 8 (240m), 16 (apple), 32 (widergb), 64 (cie1931), 128 (hdtv), 128 (rec709), 256 (uhdtv), 256 (rec2020), 512 (dcip3))
  • size (of type int?, which defaults to null): set ciescope size. (default: 512)
  • s (of type int?, which defaults to null): set ciescope size. (default: 512)
  • intensity (of type float?, which defaults to null): set ciescope intensity. (default: 0.001)
  • i (of type float?, which defaults to null): set ciescope intensity. (default: 0.001)
  • contrast (of type float?, which defaults to null): Default: 0.75
  • corrgamma (of type bool?, which defaults to null): Default: true
  • showwhite (of type bool?, which defaults to null): Default: false
  • gamma (of type float?, which defaults to null): Default: 2.6
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.codecview

Ffmpeg filter: Visualize information about some codecs.

Type:

(?mv : int?, ?qp : bool?, ?mv_type : int?, ?mvt : int?,
 ?frame_type : int?, ?ft : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • mv (of type int?, which defaults to null): set motion vectors to visualize. (default: 0, possible values: 1 (pf), 2 (bf), 4 (bb))
  • qp (of type bool?, which defaults to null): Default: false
  • mv_type (of type int?, which defaults to null): set motion vectors type. (default: 0, possible values: 1 (fp), 2 (bp))
  • mvt (of type int?, which defaults to null): set motion vectors type. (default: 0, possible values: 1 (fp), 2 (bp))
  • frame_type (of type int?, which defaults to null): set frame types to visualize motion vectors of. (default: 0, possible values: 1 (if), 2 (pf), 4 (bf))
  • ft (of type int?, which defaults to null): set frame types to visualize motion vectors of. (default: 0, possible values: 1 (if), 2 (pf), 4 (bf))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.codecview.create

Ffmpeg filter: Visualize information about some codecs.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mv : int?, ?qp : bool?, ?mv_type : int?, ?mvt : int?,
 ?frame_type : int?, ?ft : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • mv (of type int?, which defaults to null): set motion vectors to visualize. (default: 0, possible values: 1 (pf), 2 (bf), 4 (bb))
  • qp (of type bool?, which defaults to null): Default: false
  • mv_type (of type int?, which defaults to null): set motion vectors type. (default: 0, possible values: 1 (fp), 2 (bp))
  • mvt (of type int?, which defaults to null): set motion vectors type. (default: 0, possible values: 1 (fp), 2 (bp))
  • frame_type (of type int?, which defaults to null): set frame types to visualize motion vectors of. (default: 0, possible values: 1 (if), 2 (pf), 4 (bf))
  • ft (of type int?, which defaults to null): set frame types to visualize motion vectors of. (default: 0, possible values: 1 (if), 2 (pf), 4 (bf))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.color

Ffmpeg filter: Provide an uniformly colored input.

Type:

(?color : string?, ?c : string?, ?size : string?,
 ?s : string?, ?rate : string?, ?r : string?,
 ?duration : int?, ?d : int?, ?sar : string?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set color. (default: black)
  • c (of type string?, which defaults to null): set color. (default: black)
  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.color.create

Ffmpeg filter: Provide an uniformly colored input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?c : string?, ?size : string?,
 ?s : string?, ?rate : string?, ?r : string?,
 ?duration : int?, ?d : int?, ?sar : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set color. (default: black)
  • c (of type string?, which defaults to null): set color. (default: black)
  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.colorbalance

Ffmpeg filter: Adjust the color balance.

Type:

(?rs : float?, ?gs : float?, ?bs : float?, ?rm : float?,
 ?gm : float?, ?bm : float?, ?rh : float?, ?gh : float?,
 ?bh : float?, ?pl : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • rs (of type float?, which defaults to null): set red shadows. (default: 0.)
  • gs (of type float?, which defaults to null): set green shadows. (default: 0.)
  • bs (of type float?, which defaults to null): set blue shadows. (default: 0.)
  • rm (of type float?, which defaults to null): set red midtones. (default: 0.)
  • gm (of type float?, which defaults to null): set green midtones. (default: 0.)
  • bm (of type float?, which defaults to null): set blue midtones. (default: 0.)
  • rh (of type float?, which defaults to null): set red highlights. (default: 0.)
  • gh (of type float?, which defaults to null): set green highlights. (default: 0.)
  • bh (of type float?, which defaults to null): set blue highlights. (default: 0.)
  • pl (of type bool?, which defaults to null): preserve lightness. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorbalance.create

Ffmpeg filter: Adjust the color balance.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rs : float?, ?gs : float?, ?bs : float?, ?rm : float?,
 ?gm : float?, ?bm : float?, ?rh : float?, ?gh : float?,
 ?bh : float?, ?pl : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • rs (of type float?, which defaults to null): set red shadows. (default: 0.)
  • gs (of type float?, which defaults to null): set green shadows. (default: 0.)
  • bs (of type float?, which defaults to null): set blue shadows. (default: 0.)
  • rm (of type float?, which defaults to null): set red midtones. (default: 0.)
  • gm (of type float?, which defaults to null): set green midtones. (default: 0.)
  • bm (of type float?, which defaults to null): set blue midtones. (default: 0.)
  • rh (of type float?, which defaults to null): set red highlights. (default: 0.)
  • gh (of type float?, which defaults to null): set green highlights. (default: 0.)
  • bh (of type float?, which defaults to null): set blue highlights. (default: 0.)
  • pl (of type bool?, which defaults to null): preserve lightness. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorchannelmixer

Ffmpeg filter: Adjust colors by mixing color channels.

Type:

(?rr : float?, ?rg : float?, ?rb : float?, ?ra : float?,
 ?gr : float?, ?gg : float?, ?gb : float?, ?ga : float?,
 ?br : float?, ?bg : float?, ?bb : float?, ?ba : float?,
 ?ar : float?, ?ag : float?, ?ab : float?, ?aa : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • rr (of type float?, which defaults to null): set the red gain for the red channel. (default: 1.)
  • rg (of type float?, which defaults to null): set the green gain for the red channel. (default: 0.)
  • rb (of type float?, which defaults to null): set the blue gain for the red channel. (default: 0.)
  • ra (of type float?, which defaults to null): set the alpha gain for the red channel. (default: 0.)
  • gr (of type float?, which defaults to null): set the red gain for the green channel. (default: 0.)
  • gg (of type float?, which defaults to null): set the green gain for the green channel. (default: 1.)
  • gb (of type float?, which defaults to null): set the blue gain for the green channel. (default: 0.)
  • ga (of type float?, which defaults to null): set the alpha gain for the green channel. (default: 0.)
  • br (of type float?, which defaults to null): set the red gain for the blue channel. (default: 0.)
  • bg (of type float?, which defaults to null): set the green gain for the blue channel. (default: 0.)
  • bb (of type float?, which defaults to null): set the blue gain for the blue channel. (default: 1.)
  • ba (of type float?, which defaults to null): set the alpha gain for the blue channel. (default: 0.)
  • ar (of type float?, which defaults to null): set the red gain for the alpha channel. (default: 0.)
  • ag (of type float?, which defaults to null): set the green gain for the alpha channel. (default: 0.)
  • ab (of type float?, which defaults to null): set the blue gain for the alpha channel. (default: 0.)
  • aa (of type float?, which defaults to null): set the alpha gain for the alpha channel. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorchannelmixer.create

Ffmpeg filter: Adjust colors by mixing color channels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rr : float?, ?rg : float?, ?rb : float?, ?ra : float?,
 ?gr : float?, ?gg : float?, ?gb : float?, ?ga : float?,
 ?br : float?, ?bg : float?, ?bb : float?, ?ba : float?,
 ?ar : float?, ?ag : float?, ?ab : float?, ?aa : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • rr (of type float?, which defaults to null): set the red gain for the red channel. (default: 1.)
  • rg (of type float?, which defaults to null): set the green gain for the red channel. (default: 0.)
  • rb (of type float?, which defaults to null): set the blue gain for the red channel. (default: 0.)
  • ra (of type float?, which defaults to null): set the alpha gain for the red channel. (default: 0.)
  • gr (of type float?, which defaults to null): set the red gain for the green channel. (default: 0.)
  • gg (of type float?, which defaults to null): set the green gain for the green channel. (default: 1.)
  • gb (of type float?, which defaults to null): set the blue gain for the green channel. (default: 0.)
  • ga (of type float?, which defaults to null): set the alpha gain for the green channel. (default: 0.)
  • br (of type float?, which defaults to null): set the red gain for the blue channel. (default: 0.)
  • bg (of type float?, which defaults to null): set the green gain for the blue channel. (default: 0.)
  • bb (of type float?, which defaults to null): set the blue gain for the blue channel. (default: 1.)
  • ba (of type float?, which defaults to null): set the alpha gain for the blue channel. (default: 0.)
  • ar (of type float?, which defaults to null): set the red gain for the alpha channel. (default: 0.)
  • ag (of type float?, which defaults to null): set the green gain for the alpha channel. (default: 0.)
  • ab (of type float?, which defaults to null): set the blue gain for the alpha channel. (default: 0.)
  • aa (of type float?, which defaults to null): set the alpha gain for the alpha channel. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorhold

Ffmpeg filter: Turns a certain color range into gray. Operates on RGB colors.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set the colorhold key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorhold similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorhold blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorhold.create

Ffmpeg filter: Turns a certain color range into gray. Operates on RGB colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set the colorhold key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorhold similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorhold blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorkey

Ffmpeg filter: Turns a certain color into transparency. Operates on RGB colors.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set the colorkey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorkey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorkey key blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorkey.create

Ffmpeg filter: Turns a certain color into transparency. Operates on RGB colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set the colorkey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorkey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorkey key blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorkey_opencl

Ffmpeg filter: Turns a certain color into transparency. Operates on RGB colors.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • color (of type string?, which defaults to null): set the colorkey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorkey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorkey key blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorkey_opencl.create

Ffmpeg filter: Turns a certain color into transparency. Operates on RGB colors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?color : string?, ?similarity : float?, ?blend : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • color (of type string?, which defaults to null): set the colorkey key color. (default: black)
  • similarity (of type float?, which defaults to null): set the colorkey similarity value. (default: 0.01)
  • blend (of type float?, which defaults to null): set the colorkey key blend value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorlevels

Ffmpeg filter: Adjust the color levels.

Type:

(?rimin : float?, ?gimin : float?, ?bimin : float?,
 ?aimin : float?, ?rimax : float?, ?gimax : float?,
 ?bimax : float?, ?aimax : float?, ?romin : float?,
 ?gomin : float?, ?bomin : float?, ?aomin : float?,
 ?romax : float?, ?gomax : float?, ?bomax : float?,
 ?aomax : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • rimin (of type float?, which defaults to null): set input red black point. (default: 0.)
  • gimin (of type float?, which defaults to null): set input green black point. (default: 0.)
  • bimin (of type float?, which defaults to null): set input blue black point. (default: 0.)
  • aimin (of type float?, which defaults to null): set input alpha black point. (default: 0.)
  • rimax (of type float?, which defaults to null): set input red white point. (default: 1.)
  • gimax (of type float?, which defaults to null): set input green white point. (default: 1.)
  • bimax (of type float?, which defaults to null): set input blue white point. (default: 1.)
  • aimax (of type float?, which defaults to null): set input alpha white point. (default: 1.)
  • romin (of type float?, which defaults to null): set output red black point. (default: 0.)
  • gomin (of type float?, which defaults to null): set output green black point. (default: 0.)
  • bomin (of type float?, which defaults to null): set output blue black point. (default: 0.)
  • aomin (of type float?, which defaults to null): set output alpha black point. (default: 0.)
  • romax (of type float?, which defaults to null): set output red white point. (default: 1.)
  • gomax (of type float?, which defaults to null): set output green white point. (default: 1.)
  • bomax (of type float?, which defaults to null): set output blue white point. (default: 1.)
  • aomax (of type float?, which defaults to null): set output alpha white point. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorlevels.create

Ffmpeg filter: Adjust the color levels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rimin : float?, ?gimin : float?, ?bimin : float?,
 ?aimin : float?, ?rimax : float?, ?gimax : float?,
 ?bimax : float?, ?aimax : float?, ?romin : float?,
 ?gomin : float?, ?bomin : float?, ?aomin : float?,
 ?romax : float?, ?gomax : float?, ?bomax : float?,
 ?aomax : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • rimin (of type float?, which defaults to null): set input red black point. (default: 0.)
  • gimin (of type float?, which defaults to null): set input green black point. (default: 0.)
  • bimin (of type float?, which defaults to null): set input blue black point. (default: 0.)
  • aimin (of type float?, which defaults to null): set input alpha black point. (default: 0.)
  • rimax (of type float?, which defaults to null): set input red white point. (default: 1.)
  • gimax (of type float?, which defaults to null): set input green white point. (default: 1.)
  • bimax (of type float?, which defaults to null): set input blue white point. (default: 1.)
  • aimax (of type float?, which defaults to null): set input alpha white point. (default: 1.)
  • romin (of type float?, which defaults to null): set output red black point. (default: 0.)
  • gomin (of type float?, which defaults to null): set output green black point. (default: 0.)
  • bomin (of type float?, which defaults to null): set output blue black point. (default: 0.)
  • aomin (of type float?, which defaults to null): set output alpha black point. (default: 0.)
  • romax (of type float?, which defaults to null): set output red white point. (default: 1.)
  • gomax (of type float?, which defaults to null): set output green white point. (default: 1.)
  • bomax (of type float?, which defaults to null): set output blue white point. (default: 1.)
  • aomax (of type float?, which defaults to null): set output alpha white point. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colormatrix

Ffmpeg filter: Convert color matrix.

Type:

(?src : int?, ?dst : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • src (of type int?, which defaults to null): set source color matrix. (default: -1, possible values: 0 (bt709), 1 (fcc), 2 (bt601), 2 (bt470), 2 (bt470bg), 2 (smpte170m), 3 (smpte240m), 4 (bt2020))
  • dst (of type int?, which defaults to null): set destination color matrix. (default: -1, possible values: 0 (bt709), 1 (fcc), 2 (bt601), 2 (bt470), 2 (bt470bg), 2 (smpte170m), 3 (smpte240m), 4 (bt2020))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colormatrix.create

Ffmpeg filter: Convert color matrix.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?src : int?, ?dst : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • src (of type int?, which defaults to null): set source color matrix. (default: -1, possible values: 0 (bt709), 1 (fcc), 2 (bt601), 2 (bt470), 2 (bt470bg), 2 (smpte170m), 3 (smpte240m), 4 (bt2020))
  • dst (of type int?, which defaults to null): set destination color matrix. (default: -1, possible values: 0 (bt709), 1 (fcc), 2 (bt601), 2 (bt470), 2 (bt470bg), 2 (smpte170m), 3 (smpte240m), 4 (bt2020))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.colorspace

Ffmpeg filter: Convert between colorspaces.

Type:

(?all : int?, ?space : int?, ?range : int?,
 ?primaries : int?, ?trc : int?, ?format : int?,
 ?fast : bool?, ?dither : int?, ?wpadapt : int?,
 ?iall : int?, ?ispace : int?, ?irange : int?,
 ?iprimaries : int?, ?itrc : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • all (of type int?, which defaults to null): Set all color properties together. (default: 0, possible values: 1 (bt470m), 2 (bt470bg), 3 (bt601-6-525), 4 (bt601-6-625), 5 (bt709), 6 (smpte170m), 7 (smpte240m), 8 (bt2020))
  • space (of type int?, which defaults to null): Output colorspace. (default: 2, possible values: 1 (bt709), 4 (fcc), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 8 (ycgco), 0 (gbr), 9 (bt2020nc), 9 (bt2020ncl))
  • range (of type int?, which defaults to null): Output color range. (default: 0, possible values: 1 (tv), 1 (mpeg), 2 (pc), 2 (jpeg))
  • primaries (of type int?, which defaults to null): Output color primaries. (default: 2, possible values: 1 (bt709), 4 (bt470m), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 10 (smpte428), 8 (film), 11 (smpte431), 12 (smpte432), 9 (bt2020), 22 (jedec-p22), 22 (ebu3213))
  • trc (of type int?, which defaults to null): Output transfer characteristics. (default: 2, possible values: 1 (bt709), 4 (bt470m), 4 (gamma22), 5 (bt470bg), 5 (gamma28), 6 (smpte170m), 7 (smpte240m), 13 (srgb), 13 (iec61966-2-1), 11 (xvycc), 11 (iec61966-2-4), 14 (bt2020-10), 15 (bt2020-12))
  • format (of type int?, which defaults to null): Output pixel format. (default: -1, possible values: 0 (yuv420p), 64 (yuv420p10), 125 (yuv420p12), 4 (yuv422p), 66 (yuv422p10), 129 (yuv422p12), 5 (yuv444p), 70 (yuv444p10), 133 (yuv444p12))
  • fast (of type bool?, which defaults to null): Ignore primary chromaticity and gamma correction. (default: false)
  • dither (of type int?, which defaults to null): Dithering mode. (default: 0, possible values: 0 (none), 1 (fsb))
  • wpadapt (of type int?, which defaults to null): Whitepoint adaptation method. (default: 0, possible values: 0 (bradford), 1 (vonkries), 2 (identity))
  • iall (of type int?, which defaults to null): Set all input color properties together. (default: 0, possible values: 1 (bt470m), 2 (bt470bg), 3 (bt601-6-525), 4 (bt601-6-625), 5 (bt709), 6 (smpte170m), 7 (smpte240m), 8 (bt2020))
  • ispace (of type int?, which defaults to null): Input colorspace. (default: 2, possible values: 1 (bt709), 4 (fcc), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 8 (ycgco), 0 (gbr), 9 (bt2020nc), 9 (bt2020ncl))
  • irange (of type int?, which defaults to null): Input color range. (default: 0, possible values: 1 (tv), 1 (mpeg), 2 (pc), 2 (jpeg))
  • iprimaries (of type int?, which defaults to null): Input color primaries. (default: 2, possible values: 1 (bt709), 4 (bt470m), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 10 (smpte428), 8 (film), 11 (smpte431), 12 (smpte432), 9 (bt2020), 22 (jedec-p22), 22 (ebu3213))
  • itrc (of type int?, which defaults to null): Input transfer characteristics. (default: 2, possible values: 1 (bt709), 4 (bt470m), 4 (gamma22), 5 (bt470bg), 5 (gamma28), 6 (smpte170m), 7 (smpte240m), 13 (srgb), 13 (iec61966-2-1), 11 (xvycc), 11 (iec61966-2-4), 14 (bt2020-10), 15 (bt2020-12))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.colorspace.create

Ffmpeg filter: Convert between colorspaces.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?all : int?, ?space : int?, ?range : int?,
 ?primaries : int?, ?trc : int?, ?format : int?,
 ?fast : bool?, ?dither : int?, ?wpadapt : int?,
 ?iall : int?, ?ispace : int?, ?irange : int?,
 ?iprimaries : int?, ?itrc : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • all (of type int?, which defaults to null): Set all color properties together. (default: 0, possible values: 1 (bt470m), 2 (bt470bg), 3 (bt601-6-525), 4 (bt601-6-625), 5 (bt709), 6 (smpte170m), 7 (smpte240m), 8 (bt2020))
  • space (of type int?, which defaults to null): Output colorspace. (default: 2, possible values: 1 (bt709), 4 (fcc), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 8 (ycgco), 0 (gbr), 9 (bt2020nc), 9 (bt2020ncl))
  • range (of type int?, which defaults to null): Output color range. (default: 0, possible values: 1 (tv), 1 (mpeg), 2 (pc), 2 (jpeg))
  • primaries (of type int?, which defaults to null): Output color primaries. (default: 2, possible values: 1 (bt709), 4 (bt470m), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 10 (smpte428), 8 (film), 11 (smpte431), 12 (smpte432), 9 (bt2020), 22 (jedec-p22), 22 (ebu3213))
  • trc (of type int?, which defaults to null): Output transfer characteristics. (default: 2, possible values: 1 (bt709), 4 (bt470m), 4 (gamma22), 5 (bt470bg), 5 (gamma28), 6 (smpte170m), 7 (smpte240m), 13 (srgb), 13 (iec61966-2-1), 11 (xvycc), 11 (iec61966-2-4), 14 (bt2020-10), 15 (bt2020-12))
  • format (of type int?, which defaults to null): Output pixel format. (default: -1, possible values: 0 (yuv420p), 64 (yuv420p10), 125 (yuv420p12), 4 (yuv422p), 66 (yuv422p10), 129 (yuv422p12), 5 (yuv444p), 70 (yuv444p10), 133 (yuv444p12))
  • fast (of type bool?, which defaults to null): Ignore primary chromaticity and gamma correction. (default: false)
  • dither (of type int?, which defaults to null): Dithering mode. (default: 0, possible values: 0 (none), 1 (fsb))
  • wpadapt (of type int?, which defaults to null): Whitepoint adaptation method. (default: 0, possible values: 0 (bradford), 1 (vonkries), 2 (identity))
  • iall (of type int?, which defaults to null): Set all input color properties together. (default: 0, possible values: 1 (bt470m), 2 (bt470bg), 3 (bt601-6-525), 4 (bt601-6-625), 5 (bt709), 6 (smpte170m), 7 (smpte240m), 8 (bt2020))
  • ispace (of type int?, which defaults to null): Input colorspace. (default: 2, possible values: 1 (bt709), 4 (fcc), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 8 (ycgco), 0 (gbr), 9 (bt2020nc), 9 (bt2020ncl))
  • irange (of type int?, which defaults to null): Input color range. (default: 0, possible values: 1 (tv), 1 (mpeg), 2 (pc), 2 (jpeg))
  • iprimaries (of type int?, which defaults to null): Input color primaries. (default: 2, possible values: 1 (bt709), 4 (bt470m), 5 (bt470bg), 6 (smpte170m), 7 (smpte240m), 10 (smpte428), 8 (film), 11 (smpte431), 12 (smpte432), 9 (bt2020), 22 (jedec-p22), 22 (ebu3213))
  • itrc (of type int?, which defaults to null): Input transfer characteristics. (default: 2, possible values: 1 (bt709), 4 (bt470m), 4 (gamma22), 5 (bt470bg), 5 (gamma28), 6 (smpte170m), 7 (smpte240m), 13 (srgb), 13 (iec61966-2-1), 11 (xvycc), 11 (iec61966-2-4), 14 (bt2020-10), 15 (bt2020-12))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.compand

Ffmpeg filter: Compress or expand audio dynamic range.

Type:

(?attacks : string?, ?decays : string?,
 ?points : string?, ?soft-knee : float?, ?gain : float?,
 ?volume : float?, ?delay : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • attacks (of type string?, which defaults to null): set time over which increase of volume is determined. (default: 0)
  • decays (of type string?, which defaults to null): set time over which decrease of volume is determined. (default: 0.8)
  • points (of type string?, which defaults to null): set points of transfer function. (default: -70/-70|-60/-20|1/0)
  • soft-knee (of type float?, which defaults to null): set soft-knee. (default: 0.01)
  • gain (of type float?, which defaults to null): set output gain. (default: 0.)
  • volume (of type float?, which defaults to null): set initial volume. (default: 0.)
  • delay (of type float?, which defaults to null): set delay for samples before sending them to volume adjuster. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.compand.create

Ffmpeg filter: Compress or expand audio dynamic range.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?attacks : string?, ?decays : string?,
 ?points : string?, ?soft-knee : float?, ?gain : float?,
 ?volume : float?, ?delay : float?, ffmpeg.filter.graph) ->
unit

Arguments:

  • attacks (of type string?, which defaults to null): set time over which increase of volume is determined. (default: 0)
  • decays (of type string?, which defaults to null): set time over which decrease of volume is determined. (default: 0.8)
  • points (of type string?, which defaults to null): set points of transfer function. (default: -70/-70|-60/-20|1/0)
  • soft-knee (of type float?, which defaults to null): set soft-knee. (default: 0.01)
  • gain (of type float?, which defaults to null): set output gain. (default: 0.)
  • volume (of type float?, which defaults to null): set initial volume. (default: 0.)
  • delay (of type float?, which defaults to null): set delay for samples before sending them to volume adjuster. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.compensationdelay

Ffmpeg filter: Audio Compensation Delay Line.

Type:

(?mm : int?, ?cm : int?, ?m : int?, ?dry : float?,
 ?wet : float?, ?temp : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • mm (of type int?, which defaults to null): set mm distance. (default: 0)
  • cm (of type int?, which defaults to null): set cm distance. (default: 0)
  • m (of type int?, which defaults to null): set meter distance. (default: 0)
  • dry (of type float?, which defaults to null): set dry amount. (default: 0.)
  • wet (of type float?, which defaults to null): set wet amount. (default: 1.)
  • temp (of type int?, which defaults to null): set temperature °C. (default: 20)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.compensationdelay.create

Ffmpeg filter: Audio Compensation Delay Line.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mm : int?, ?cm : int?, ?m : int?, ?dry : float?,
 ?wet : float?, ?temp : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • mm (of type int?, which defaults to null): set mm distance. (default: 0)
  • cm (of type int?, which defaults to null): set cm distance. (default: 0)
  • m (of type int?, which defaults to null): set meter distance. (default: 0)
  • dry (of type float?, which defaults to null): set dry amount. (default: 0.)
  • wet (of type float?, which defaults to null): set wet amount. (default: 1.)
  • temp (of type int?, which defaults to null): set temperature °C. (default: 20)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.concat

Ffmpeg filter: Concatenate audio and video streams. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?n : int?, ?v : int?, ?a : int?, ?unsafe : bool?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • n (of type int?, which defaults to null): specify the number of segments. (default: 2)
  • v (of type int?, which defaults to null): specify the number of video streams. (default: 1)
  • a (of type int?, which defaults to null): specify the number of audio streams. (default: 0)
  • unsafe (of type bool?, which defaults to null): enable unsafe mode. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.concat.create

Ffmpeg filter: Concatenate audio and video streams. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?n : int?, ?v : int?, ?a : int?, ?unsafe : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • n (of type int?, which defaults to null): specify the number of segments. (default: 2)
  • v (of type int?, which defaults to null): specify the number of video streams. (default: 1)
  • a (of type int?, which defaults to null): specify the number of audio streams. (default: 0)
  • unsafe (of type bool?, which defaults to null): enable unsafe mode. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.convolution

Ffmpeg filter: Apply convolution filter.

Type:

(?0m : string?, ?1m : string?, ?2m : string?,
 ?3m : string?, ?0rdiv : float?, ?1rdiv : float?,
 ?2rdiv : float?, ?3rdiv : float?, ?0bias : float?,
 ?1bias : float?, ?2bias : float?, ?3bias : float?,
 ?0mode : int?, ?1mode : int?, ?2mode : int?,
 ?3mode : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • 0m (of type string?, which defaults to null): set matrix for 1st plane. (default: 0 0 0 0 1 0 0 0 0)
  • 1m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 2m (of type string?, which defaults to null): set matrix for 3rd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 3m (of type string?, which defaults to null): set matrix for 4th plane. (default: 0 0 0 0 1 0 0 0 0)
  • 0rdiv (of type float?, which defaults to null): set rdiv for 1st plane. (default: 0.)
  • 1rdiv (of type float?, which defaults to null): set rdiv for 2nd plane. (default: 0.)
  • 2rdiv (of type float?, which defaults to null): set rdiv for 3rd plane. (default: 0.)
  • 3rdiv (of type float?, which defaults to null): set rdiv for 4th plane. (default: 0.)
  • 0bias (of type float?, which defaults to null): set bias for 1st plane. (default: 0.)
  • 1bias (of type float?, which defaults to null): set bias for 2nd plane. (default: 0.)
  • 2bias (of type float?, which defaults to null): set bias for 3rd plane. (default: 0.)
  • 3bias (of type float?, which defaults to null): set bias for 4th plane. (default: 0.)
  • 0mode (of type int?, which defaults to null): set matrix mode for 1st plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 1mode (of type int?, which defaults to null): set matrix mode for 2nd plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 2mode (of type int?, which defaults to null): set matrix mode for 3rd plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 3mode (of type int?, which defaults to null): set matrix mode for 4th plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.convolution.create

Ffmpeg filter: Apply convolution filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?0m : string?, ?1m : string?, ?2m : string?,
 ?3m : string?, ?0rdiv : float?, ?1rdiv : float?,
 ?2rdiv : float?, ?3rdiv : float?, ?0bias : float?,
 ?1bias : float?, ?2bias : float?, ?3bias : float?,
 ?0mode : int?, ?1mode : int?, ?2mode : int?,
 ?3mode : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • 0m (of type string?, which defaults to null): set matrix for 1st plane. (default: 0 0 0 0 1 0 0 0 0)
  • 1m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 2m (of type string?, which defaults to null): set matrix for 3rd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 3m (of type string?, which defaults to null): set matrix for 4th plane. (default: 0 0 0 0 1 0 0 0 0)
  • 0rdiv (of type float?, which defaults to null): set rdiv for 1st plane. (default: 0.)
  • 1rdiv (of type float?, which defaults to null): set rdiv for 2nd plane. (default: 0.)
  • 2rdiv (of type float?, which defaults to null): set rdiv for 3rd plane. (default: 0.)
  • 3rdiv (of type float?, which defaults to null): set rdiv for 4th plane. (default: 0.)
  • 0bias (of type float?, which defaults to null): set bias for 1st plane. (default: 0.)
  • 1bias (of type float?, which defaults to null): set bias for 2nd plane. (default: 0.)
  • 2bias (of type float?, which defaults to null): set bias for 3rd plane. (default: 0.)
  • 3bias (of type float?, which defaults to null): set bias for 4th plane. (default: 0.)
  • 0mode (of type int?, which defaults to null): set matrix mode for 1st plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 1mode (of type int?, which defaults to null): set matrix mode for 2nd plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 2mode (of type int?, which defaults to null): set matrix mode for 3rd plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • 3mode (of type int?, which defaults to null): set matrix mode for 4th plane. (default: 0, possible values: 0 (square), 1 (row), 2 (column))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.convolution_opencl

Ffmpeg filter: Apply convolution mask to input video

Type:

(?0m : string?, ?1m : string?, ?2m : string?,
 ?3m : string?, ?0rdiv : float?, ?1rdiv : float?,
 ?2rdiv : float?, ?3rdiv : float?, ?0bias : float?,
 ?1bias : float?, ?2bias : float?, ?3bias : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • 0m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 1m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 2m (of type string?, which defaults to null): set matrix for 3rd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 3m (of type string?, which defaults to null): set matrix for 4th plane. (default: 0 0 0 0 1 0 0 0 0)
  • 0rdiv (of type float?, which defaults to null): set rdiv for 1nd plane. (default: 1.)
  • 1rdiv (of type float?, which defaults to null): set rdiv for 2nd plane. (default: 1.)
  • 2rdiv (of type float?, which defaults to null): set rdiv for 3rd plane. (default: 1.)
  • 3rdiv (of type float?, which defaults to null): set rdiv for 4th plane. (default: 1.)
  • 0bias (of type float?, which defaults to null): set bias for 1st plane. (default: 0.)
  • 1bias (of type float?, which defaults to null): set bias for 2nd plane. (default: 0.)
  • 2bias (of type float?, which defaults to null): set bias for 3rd plane. (default: 0.)
  • 3bias (of type float?, which defaults to null): set bias for 4th plane. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.convolution_opencl.create

Ffmpeg filter: Apply convolution mask to input video. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?0m : string?, ?1m : string?, ?2m : string?,
 ?3m : string?, ?0rdiv : float?, ?1rdiv : float?,
 ?2rdiv : float?, ?3rdiv : float?, ?0bias : float?,
 ?1bias : float?, ?2bias : float?, ?3bias : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • 0m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 1m (of type string?, which defaults to null): set matrix for 2nd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 2m (of type string?, which defaults to null): set matrix for 3rd plane. (default: 0 0 0 0 1 0 0 0 0)
  • 3m (of type string?, which defaults to null): set matrix for 4th plane. (default: 0 0 0 0 1 0 0 0 0)
  • 0rdiv (of type float?, which defaults to null): set rdiv for 1nd plane. (default: 1.)
  • 1rdiv (of type float?, which defaults to null): set rdiv for 2nd plane. (default: 1.)
  • 2rdiv (of type float?, which defaults to null): set rdiv for 3rd plane. (default: 1.)
  • 3rdiv (of type float?, which defaults to null): set rdiv for 4th plane. (default: 1.)
  • 0bias (of type float?, which defaults to null): set bias for 1st plane. (default: 0.)
  • 1bias (of type float?, which defaults to null): set bias for 2nd plane. (default: 0.)
  • 2bias (of type float?, which defaults to null): set bias for 3rd plane. (default: 0.)
  • 3bias (of type float?, which defaults to null): set bias for 4th plane. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.convolve

Ffmpeg filter: Convolve first video stream with second video stream.

Type:

(?planes : int?, ?impulse : int?, ?noise : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes to convolve. (default: 7)
  • impulse (of type int?, which defaults to null): when to process impulses. (default: 1, possible values: 0 (first), 1 (all))
  • noise (of type float?, which defaults to null): set noise. (default: 1e-07)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.convolve.create

Ffmpeg filter: Convolve first video stream with second video stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ?impulse : int?, ?noise : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes to convolve. (default: 7)
  • impulse (of type int?, which defaults to null): when to process impulses. (default: 1, possible values: 0 (first), 1 (all))
  • noise (of type float?, which defaults to null): set noise. (default: 1e-07)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.copy

Ffmpeg filter: Copy the input video unchanged to the output.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.copy.create

Ffmpeg filter: Copy the input video unchanged to the output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.cover_rect

Ffmpeg filter: Find and cover a user specified object.

Type:

(?cover : string?, ?mode : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • cover (of type string?, which defaults to null): cover bitmap filename
  • mode (of type int?, which defaults to null): set removal mode. (default: 1, possible values: 0 (cover), 1 (blur))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.cover_rect.create

Ffmpeg filter: Find and cover a user specified object.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cover : string?, ?mode : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • cover (of type string?, which defaults to null): cover bitmap filename
  • mode (of type int?, which defaults to null): set removal mode. (default: 1, possible values: 0 (cover), 1 (blur))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.crop

Ffmpeg filter: Crop the input video.

Type:

(?out_w : string?, ?w : string?, ?out_h : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?keep_aspect : bool?, ?exact : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • out_w (of type string?, which defaults to null): set the width crop area expression. (default: iw)
  • w (of type string?, which defaults to null): set the width crop area expression. (default: iw)
  • out_h (of type string?, which defaults to null): set the height crop area expression. (default: ih)
  • h (of type string?, which defaults to null): set the height crop area expression. (default: ih)
  • x (of type string?, which defaults to null): set the x crop area expression. (default: (in_w-out_w)/2)
  • y (of type string?, which defaults to null): set the y crop area expression. (default: (in_h-out_h)/2)
  • keep_aspect (of type bool?, which defaults to null): keep aspect ratio. (default: false)
  • exact (of type bool?, which defaults to null): do exact cropping. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.crop.create

Ffmpeg filter: Crop the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?out_w : string?, ?w : string?, ?out_h : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?keep_aspect : bool?, ?exact : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • out_w (of type string?, which defaults to null): set the width crop area expression. (default: iw)
  • w (of type string?, which defaults to null): set the width crop area expression. (default: iw)
  • out_h (of type string?, which defaults to null): set the height crop area expression. (default: ih)
  • h (of type string?, which defaults to null): set the height crop area expression. (default: ih)
  • x (of type string?, which defaults to null): set the x crop area expression. (default: (in_w-out_w)/2)
  • y (of type string?, which defaults to null): set the y crop area expression. (default: (in_h-out_h)/2)
  • keep_aspect (of type bool?, which defaults to null): keep aspect ratio. (default: false)
  • exact (of type bool?, which defaults to null): do exact cropping. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.cropdetect

Ffmpeg filter: Auto-detect crop size.

Type:

(?limit : float?, ?round : int?, ?reset : int?,
 ?reset_count : int?, ?max_outliers : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • limit (of type float?, which defaults to null): Threshold below which the pixel is considered black. (default: 0.0941176470588)
  • round (of type int?, which defaults to null): Value by which the width/height should be divisible. (default: 16)
  • reset (of type int?, which defaults to null): Recalculate the crop area after this many frames. (default: 0)
  • reset_count (of type int?, which defaults to null): Recalculate the crop area after this many frames. (default: 0)
  • max_outliers (of type int?, which defaults to null): Threshold count of outliers. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.cropdetect.create

Ffmpeg filter: Auto-detect crop size.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?limit : float?, ?round : int?, ?reset : int?,
 ?reset_count : int?, ?max_outliers : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • limit (of type float?, which defaults to null): Threshold below which the pixel is considered black. (default: 0.0941176470588)
  • round (of type int?, which defaults to null): Value by which the width/height should be divisible. (default: 16)
  • reset (of type int?, which defaults to null): Recalculate the crop area after this many frames. (default: 0)
  • reset_count (of type int?, which defaults to null): Recalculate the crop area after this many frames. (default: 0)
  • max_outliers (of type int?, which defaults to null): Threshold count of outliers. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.crossfeed

Ffmpeg filter: Apply headphone crossfeed filter.

Type:

(?strength : float?, ?range : float?, ?slope : float?,
 ?level_in : float?, ?level_out : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • strength (of type float?, which defaults to null): set crossfeed strength. (default: 0.2)
  • range (of type float?, which defaults to null): set soundstage wideness. (default: 0.5)
  • slope (of type float?, which defaults to null): set curve slope. (default: 0.5)
  • level_in (of type float?, which defaults to null): set level in. (default: 0.9)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.crossfeed.create

Ffmpeg filter: Apply headphone crossfeed filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?strength : float?, ?range : float?, ?slope : float?,
 ?level_in : float?, ?level_out : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • strength (of type float?, which defaults to null): set crossfeed strength. (default: 0.2)
  • range (of type float?, which defaults to null): set soundstage wideness. (default: 0.5)
  • slope (of type float?, which defaults to null): set curve slope. (default: 0.5)
  • level_in (of type float?, which defaults to null): set level in. (default: 0.9)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.crystalizer

Ffmpeg filter: Simple expand audio dynamic range filter.

Type:

(?i : float?, ?c : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • i (of type float?, which defaults to null): set intensity. (default: 2.)
  • c (of type bool?, which defaults to null): enable clipping. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.crystalizer.create

Ffmpeg filter: Simple expand audio dynamic range filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?i : float?, ?c : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • i (of type float?, which defaults to null): set intensity. (default: 2.)
  • c (of type bool?, which defaults to null): enable clipping. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.cue

Ffmpeg filter: Delay filtering to match a cue.

Type:

(?cue : int?, ?preroll : int?, ?buffer : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • cue (of type int?, which defaults to null): cue unix timestamp in microseconds. (default: 0)
  • preroll (of type int?, which defaults to null): preroll duration in seconds. (default: 0)
  • buffer (of type int?, which defaults to null): buffer duration in seconds. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.cue.create

Ffmpeg filter: Delay filtering to match a cue.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cue : int?, ?preroll : int?, ?buffer : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • cue (of type int?, which defaults to null): cue unix timestamp in microseconds. (default: 0)
  • preroll (of type int?, which defaults to null): preroll duration in seconds. (default: 0)
  • buffer (of type int?, which defaults to null): buffer duration in seconds. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.curves

Ffmpeg filter: Adjust components curves.

Type:

(?preset : int?, ?master : string?, ?m : string?,
 ?red : string?, ?r : string?, ?green : string?,
 ?g : string?, ?blue : string?, ?b : string?,
 ?all : string?, ?psfile : string?, ?plot : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • preset (of type int?, which defaults to null): select a color curves preset. (default: 0, possible values: 0 (none), 1 (color_negative), 2 (cross_process), 3 (darker), 4 (increase_contrast), 5 (lighter), 6 (linear_contrast), 7 (medium_contrast), 8 (negative), 9 (strong_contrast), 10 (vintage))
  • master (of type string?, which defaults to null): set master points coordinates
  • m (of type string?, which defaults to null): set master points coordinates
  • red (of type string?, which defaults to null): set red points coordinates
  • r (of type string?, which defaults to null): set red points coordinates
  • green (of type string?, which defaults to null): set green points coordinates
  • g (of type string?, which defaults to null): set green points coordinates
  • blue (of type string?, which defaults to null): set blue points coordinates
  • b (of type string?, which defaults to null): set blue points coordinates
  • all (of type string?, which defaults to null): set points coordinates for all components
  • psfile (of type string?, which defaults to null): set Photoshop curves file name
  • plot (of type string?, which defaults to null): save Gnuplot script of the curves in specified file
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.curves.create

Ffmpeg filter: Adjust components curves.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?preset : int?, ?master : string?, ?m : string?,
 ?red : string?, ?r : string?, ?green : string?,
 ?g : string?, ?blue : string?, ?b : string?,
 ?all : string?, ?psfile : string?, ?plot : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • preset (of type int?, which defaults to null): select a color curves preset. (default: 0, possible values: 0 (none), 1 (color_negative), 2 (cross_process), 3 (darker), 4 (increase_contrast), 5 (lighter), 6 (linear_contrast), 7 (medium_contrast), 8 (negative), 9 (strong_contrast), 10 (vintage))
  • master (of type string?, which defaults to null): set master points coordinates
  • m (of type string?, which defaults to null): set master points coordinates
  • red (of type string?, which defaults to null): set red points coordinates
  • r (of type string?, which defaults to null): set red points coordinates
  • green (of type string?, which defaults to null): set green points coordinates
  • g (of type string?, which defaults to null): set green points coordinates
  • blue (of type string?, which defaults to null): set blue points coordinates
  • b (of type string?, which defaults to null): set blue points coordinates
  • all (of type string?, which defaults to null): set points coordinates for all components
  • psfile (of type string?, which defaults to null): set Photoshop curves file name
  • plot (of type string?, which defaults to null): save Gnuplot script of the curves in specified file
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.datascope

Ffmpeg filter: Video data analysis.

Type:

(?size : string?, ?s : string?, ?x : int?, ?y : int?,
 ?mode : int?, ?axis : bool?, ?opacity : float?,
 ?format : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set output size. (default: hd720)
  • s (of type string?, which defaults to null): set output size. (default: hd720)
  • x (of type int?, which defaults to null): set x offset. (default: 0)
  • y (of type int?, which defaults to null): set y offset. (default: 0)
  • mode (of type int?, which defaults to null): set scope mode. (default: 0, possible values: 0 (mono), 1 (color), 2 (color2))
  • axis (of type bool?, which defaults to null): draw column/row numbers. (default: false)
  • opacity (of type float?, which defaults to null): set background opacity. (default: 0.75)
  • format (of type int?, which defaults to null): set display number format. (default: 0, possible values: 0 (hex), 1 (dec))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.datascope.create

Ffmpeg filter: Video data analysis.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?x : int?, ?y : int?,
 ?mode : int?, ?axis : bool?, ?opacity : float?,
 ?format : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set output size. (default: hd720)
  • s (of type string?, which defaults to null): set output size. (default: hd720)
  • x (of type int?, which defaults to null): set x offset. (default: 0)
  • y (of type int?, which defaults to null): set y offset. (default: 0)
  • mode (of type int?, which defaults to null): set scope mode. (default: 0, possible values: 0 (mono), 1 (color), 2 (color2))
  • axis (of type bool?, which defaults to null): draw column/row numbers. (default: false)
  • opacity (of type float?, which defaults to null): set background opacity. (default: 0.75)
  • format (of type int?, which defaults to null): set display number format. (default: 0, possible values: 0 (hex), 1 (dec))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dblur

Ffmpeg filter: Apply Directional Blur filter.

Type:

(?angle : float?, ?radius : float?, ?planes : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • angle (of type float?, which defaults to null): set angle. (default: 45.)
  • radius (of type float?, which defaults to null): set radius. (default: 5.)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dblur.create

Ffmpeg filter: Apply Directional Blur filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?angle : float?, ?radius : float?, ?planes : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • angle (of type float?, which defaults to null): set angle. (default: 45.)
  • radius (of type float?, which defaults to null): set radius. (default: 5.)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dcshift

Ffmpeg filter: Apply a DC shift to the audio.

Type:

(?shift : float?, ?limitergain : float?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • shift (of type float?, which defaults to null): set DC shift. (default: 0.)
  • limitergain (of type float?, which defaults to null): set limiter gain. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.dcshift.create

Ffmpeg filter: Apply a DC shift to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?shift : float?, ?limitergain : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • shift (of type float?, which defaults to null): set DC shift. (default: 0.)
  • limitergain (of type float?, which defaults to null): set limiter gain. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.dctdnoiz

Ffmpeg filter: Denoise frames using 2D DCT.

Type:

(?sigma : float?, ?s : float?, ?overlap : int?,
 ?expr : string?, ?e : string?, ?n : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • sigma (of type float?, which defaults to null): set noise sigma constant. (default: 0.)
  • s (of type float?, which defaults to null): set noise sigma constant. (default: 0.)
  • overlap (of type int?, which defaults to null): set number of block overlapping pixels. (default: -1)
  • expr (of type string?, which defaults to null): set coefficient factor expression
  • e (of type string?, which defaults to null): set coefficient factor expression
  • n (of type int?, which defaults to null): set the block size, expressed in bits. (default: 3)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dctdnoiz.create

Ffmpeg filter: Denoise frames using 2D DCT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sigma : float?, ?s : float?, ?overlap : int?,
 ?expr : string?, ?e : string?, ?n : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • sigma (of type float?, which defaults to null): set noise sigma constant. (default: 0.)
  • s (of type float?, which defaults to null): set noise sigma constant. (default: 0.)
  • overlap (of type int?, which defaults to null): set number of block overlapping pixels. (default: -1)
  • expr (of type string?, which defaults to null): set coefficient factor expression
  • e (of type string?, which defaults to null): set coefficient factor expression
  • n (of type int?, which defaults to null): set the block size, expressed in bits. (default: 3)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deband

Ffmpeg filter: Debands video.

Type:

(?1thr : float?, ?2thr : float?, ?3thr : float?,
 ?4thr : float?, ?range : int?, ?r : int?,
 ?direction : float?, ?d : float?, ?blur : bool?,
 ?b : bool?, ?coupling : bool?, ?c : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • 1thr (of type float?, which defaults to null): set 1st plane threshold. (default: 0.02)
  • 2thr (of type float?, which defaults to null): set 2nd plane threshold. (default: 0.02)
  • 3thr (of type float?, which defaults to null): set 3rd plane threshold. (default: 0.02)
  • 4thr (of type float?, which defaults to null): set 4th plane threshold. (default: 0.02)
  • range (of type int?, which defaults to null): set range. (default: 16)
  • r (of type int?, which defaults to null): set range. (default: 16)
  • direction (of type float?, which defaults to null): set direction. (default: 6.28318530718)
  • d (of type float?, which defaults to null): set direction. (default: 6.28318530718)
  • blur (of type bool?, which defaults to null): set blur. (default: true)
  • b (of type bool?, which defaults to null): set blur. (default: true)
  • coupling (of type bool?, which defaults to null): set plane coupling. (default: false)
  • c (of type bool?, which defaults to null): set plane coupling. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deband.create

Ffmpeg filter: Debands video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?1thr : float?, ?2thr : float?, ?3thr : float?,
 ?4thr : float?, ?range : int?, ?r : int?,
 ?direction : float?, ?d : float?, ?blur : bool?,
 ?b : bool?, ?coupling : bool?, ?c : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • 1thr (of type float?, which defaults to null): set 1st plane threshold. (default: 0.02)
  • 2thr (of type float?, which defaults to null): set 2nd plane threshold. (default: 0.02)
  • 3thr (of type float?, which defaults to null): set 3rd plane threshold. (default: 0.02)
  • 4thr (of type float?, which defaults to null): set 4th plane threshold. (default: 0.02)
  • range (of type int?, which defaults to null): set range. (default: 16)
  • r (of type int?, which defaults to null): set range. (default: 16)
  • direction (of type float?, which defaults to null): set direction. (default: 6.28318530718)
  • d (of type float?, which defaults to null): set direction. (default: 6.28318530718)
  • blur (of type bool?, which defaults to null): set blur. (default: true)
  • b (of type bool?, which defaults to null): set blur. (default: true)
  • coupling (of type bool?, which defaults to null): set plane coupling. (default: false)
  • c (of type bool?, which defaults to null): set plane coupling. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deblock

Ffmpeg filter: Deblock video.

Type:

(?filter : int?, ?block : int?, ?alpha : float?,
 ?beta : float?, ?gamma : float?, ?delta : float?,
 ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • filter (of type int?, which defaults to null): set type of filter. (default: 1, possible values: 0 (weak), 1 (strong))
  • block (of type int?, which defaults to null): set size of block. (default: 8)
  • alpha (of type float?, which defaults to null): set 1st detection threshold. (default: 0.098)
  • beta (of type float?, which defaults to null): set 2nd detection threshold. (default: 0.05)
  • gamma (of type float?, which defaults to null): set 3rd detection threshold. (default: 0.05)
  • delta (of type float?, which defaults to null): set 4th detection threshold. (default: 0.05)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deblock.create

Ffmpeg filter: Deblock video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filter : int?, ?block : int?, ?alpha : float?,
 ?beta : float?, ?gamma : float?, ?delta : float?,
 ?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • filter (of type int?, which defaults to null): set type of filter. (default: 1, possible values: 0 (weak), 1 (strong))
  • block (of type int?, which defaults to null): set size of block. (default: 8)
  • alpha (of type float?, which defaults to null): set 1st detection threshold. (default: 0.098)
  • beta (of type float?, which defaults to null): set 2nd detection threshold. (default: 0.05)
  • gamma (of type float?, which defaults to null): set 3rd detection threshold. (default: 0.05)
  • delta (of type float?, which defaults to null): set 4th detection threshold. (default: 0.05)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.decimate

Ffmpeg filter: Decimate frames (post field matching filter). This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?cycle : int?, ?dupthresh : float?, ?scthresh : float?,
 ?blockx : int?, ?blocky : int?, ?ppsrc : bool?,
 ?chroma : bool?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • cycle (of type int?, which defaults to null): set the number of frame from which one will be dropped. (default: 5)
  • dupthresh (of type float?, which defaults to null): set duplicate threshold. (default: 1.1)
  • scthresh (of type float?, which defaults to null): set scene change threshold. (default: 15.)
  • blockx (of type int?, which defaults to null): set the size of the x-axis blocks used during metric calculations. (default: 32)
  • blocky (of type int?, which defaults to null): set the size of the y-axis blocks used during metric calculations. (default: 32)
  • ppsrc (of type bool?, which defaults to null): mark main input as a pre-processed input and activate clean source input stream. (default: false)
  • chroma (of type bool?, which defaults to null): set whether or not chroma is considered in the metric calculations. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.decimate.create

Ffmpeg filter: Decimate frames (post field matching filter). This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cycle : int?, ?dupthresh : float?, ?scthresh : float?,
 ?blockx : int?, ?blocky : int?, ?ppsrc : bool?,
 ?chroma : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • cycle (of type int?, which defaults to null): set the number of frame from which one will be dropped. (default: 5)
  • dupthresh (of type float?, which defaults to null): set duplicate threshold. (default: 1.1)
  • scthresh (of type float?, which defaults to null): set scene change threshold. (default: 15.)
  • blockx (of type int?, which defaults to null): set the size of the x-axis blocks used during metric calculations. (default: 32)
  • blocky (of type int?, which defaults to null): set the size of the y-axis blocks used during metric calculations. (default: 32)
  • ppsrc (of type bool?, which defaults to null): mark main input as a pre-processed input and activate clean source input stream. (default: false)
  • chroma (of type bool?, which defaults to null): set whether or not chroma is considered in the metric calculations. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.deconvolve

Ffmpeg filter: Deconvolve first video stream with second video stream.

Type:

(?planes : int?, ?impulse : int?, ?noise : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes to deconvolve. (default: 7)
  • impulse (of type int?, which defaults to null): when to process impulses. (default: 1, possible values: 0 (first), 1 (all))
  • noise (of type float?, which defaults to null): set noise. (default: 1e-07)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deconvolve.create

Ffmpeg filter: Deconvolve first video stream with second video stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ?impulse : int?, ?noise : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes to deconvolve. (default: 7)
  • impulse (of type int?, which defaults to null): when to process impulses. (default: 1, possible values: 0 (first), 1 (all))
  • noise (of type float?, which defaults to null): set noise. (default: 1e-07)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dedot

Ffmpeg filter: Reduce cross-luminance and cross-color.

Type:

(?m : int?, ?lt : float?, ?tl : float?, ?tc : float?,
 ?ct : float?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • m (of type int?, which defaults to null): set filtering mode. (default: 3, possible values: 1 (dotcrawl), 2 (rainbows))
  • lt (of type float?, which defaults to null): set spatial luma threshold. (default: 0.079)
  • tl (of type float?, which defaults to null): set tolerance for temporal luma. (default: 0.079)
  • tc (of type float?, which defaults to null): set tolerance for chroma temporal variation. (default: 0.058)
  • ct (of type float?, which defaults to null): set temporal chroma threshold. (default: 0.019)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dedot.create

Ffmpeg filter: Reduce cross-luminance and cross-color.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?m : int?, ?lt : float?, ?tl : float?, ?tc : float?,
 ?ct : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • m (of type int?, which defaults to null): set filtering mode. (default: 3, possible values: 1 (dotcrawl), 2 (rainbows))
  • lt (of type float?, which defaults to null): set spatial luma threshold. (default: 0.079)
  • tl (of type float?, which defaults to null): set tolerance for temporal luma. (default: 0.079)
  • tc (of type float?, which defaults to null): set tolerance for chroma temporal variation. (default: 0.058)
  • ct (of type float?, which defaults to null): set temporal chroma threshold. (default: 0.019)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deesser

Ffmpeg filter: Apply de-essing to the audio.

Type:

(?i : float?, ?m : float?, ?f : float?, ?s : int?,
 ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • i (of type float?, which defaults to null): set intensity. (default: 0.)
  • m (of type float?, which defaults to null): set max deessing. (default: 0.5)
  • f (of type float?, which defaults to null): set frequency. (default: 0.5)
  • s (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (e))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.deesser.create

Ffmpeg filter: Apply de-essing to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?i : float?, ?m : float?, ?f : float?, ?s : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • i (of type float?, which defaults to null): set intensity. (default: 0.)
  • m (of type float?, which defaults to null): set max deessing. (default: 0.5)
  • f (of type float?, which defaults to null): set frequency. (default: 0.5)
  • s (of type int?, which defaults to null): set output mode. (default: 1, possible values: 0 (i), 1 (o), 2 (e))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.deflate

Ffmpeg filter: Apply deflate effect.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deflate.create

Ffmpeg filter: Apply deflate effect.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deflicker

Ffmpeg filter: Remove temporal frame luminance variations.

Type:

(?size : int?, ?s : int?, ?mode : int?, ?m : int?,
 ?bypass : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • size (of type int?, which defaults to null): set how many frames to use. (default: 5)
  • s (of type int?, which defaults to null): set how many frames to use. (default: 5)
  • mode (of type int?, which defaults to null): set how to smooth luminance. (default: 0, possible values: 0 (am), 1 (gm), 2 (hm), 3 (qm), 4 (cm), 5 (pm), 6 (median))
  • m (of type int?, which defaults to null): set how to smooth luminance. (default: 0, possible values: 0 (am), 1 (gm), 2 (hm), 3 (qm), 4 (cm), 5 (pm), 6 (median))
  • bypass (of type bool?, which defaults to null): leave frames unchanged. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deflicker.create

Ffmpeg filter: Remove temporal frame luminance variations.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : int?, ?s : int?, ?mode : int?, ?m : int?,
 ?bypass : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type int?, which defaults to null): set how many frames to use. (default: 5)
  • s (of type int?, which defaults to null): set how many frames to use. (default: 5)
  • mode (of type int?, which defaults to null): set how to smooth luminance. (default: 0, possible values: 0 (am), 1 (gm), 2 (hm), 3 (qm), 4 (cm), 5 (pm), 6 (median))
  • m (of type int?, which defaults to null): set how to smooth luminance. (default: 0, possible values: 0 (am), 1 (gm), 2 (hm), 3 (qm), 4 (cm), 5 (pm), 6 (median))
  • bypass (of type bool?, which defaults to null): leave frames unchanged. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deinterlace_qsv

Ffmpeg filter: QuickSync video deinterlacing

Type:

(?mode : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): set deinterlace mode. (default: 2, possible values: 1 (bob), 2 (advanced))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deinterlace_qsv.create

Ffmpeg filter: QuickSync video deinterlacing. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set deinterlace mode. (default: 2, possible values: 1 (bob), 2 (advanced))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deinterlace_vaapi

Ffmpeg filter: Deinterlacing of VAAPI surfaces

Type:

(?mode : int?, ?rate : int?, ?auto : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): Deinterlacing mode. (default: 0, possible values: 0 (default), 1 (bob), 2 (weave), 3 (motion_adaptive), 4 (motion_compensated))
  • rate (of type int?, which defaults to null): Generate output at frame rate or field rate. (default: 1, possible values: 1 (frame), 2 (field))
  • auto (of type int?, which defaults to null): Only deinterlace fields, passing frames through unchanged. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deinterlace_vaapi.create

Ffmpeg filter: Deinterlacing of VAAPI surfaces. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?rate : int?, ?auto : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): Deinterlacing mode. (default: 0, possible values: 0 (default), 1 (bob), 2 (weave), 3 (motion_adaptive), 4 (motion_compensated))
  • rate (of type int?, which defaults to null): Generate output at frame rate or field rate. (default: 1, possible values: 1 (frame), 2 (field))
  • auto (of type int?, which defaults to null): Only deinterlace fields, passing frames through unchanged. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dejudder

Ffmpeg filter: Remove judder produced by pullup.

Type:

(?cycle : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • cycle (of type int?, which defaults to null): set the length of the cycle to use for dejuddering. (default: 4)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dejudder.create

Ffmpeg filter: Remove judder produced by pullup.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cycle : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • cycle (of type int?, which defaults to null): set the length of the cycle to use for dejuddering. (default: 4)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

Ffmpeg filter: Remove logo from input video.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?show : bool?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): set logo x position. (default: -1)
  • y (of type string?, which defaults to null): set logo y position. (default: -1)
  • w (of type string?, which defaults to null): set logo width. (default: -1)
  • h (of type string?, which defaults to null): set logo height. (default: -1)
  • show (of type bool?, which defaults to null): show delogo area. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.delogo.create

Ffmpeg filter: Remove logo from input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?show : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type string?, which defaults to null): set logo x position. (default: -1)
  • y (of type string?, which defaults to null): set logo y position. (default: -1)
  • w (of type string?, which defaults to null): set logo width. (default: -1)
  • h (of type string?, which defaults to null): set logo height. (default: -1)
  • show (of type bool?, which defaults to null): show delogo area. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.denoise_vaapi

Ffmpeg filter: VAAPI VPP for de-noise

Type:

(?denoise : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • denoise (of type int?, which defaults to null): denoise level. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.denoise_vaapi.create

Ffmpeg filter: VAAPI VPP for de-noise. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?denoise : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • denoise (of type int?, which defaults to null): denoise level. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.derain

Ffmpeg filter: Apply derain filter to the input.

Type:

(?filter_type : int?, ?dnn_backend : int?,
 ?model : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • filter_type (of type int?, which defaults to null): filter type(derain/dehaze). (default: 0, possible values: 0 (derain), 1 (dehaze))
  • dnn_backend (of type int?, which defaults to null): DNN backend. (default: 0, possible values: 0 (native))
  • model (of type string?, which defaults to null): path to model file
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.derain.create

Ffmpeg filter: Apply derain filter to the input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filter_type : int?, ?dnn_backend : int?,
 ?model : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • filter_type (of type int?, which defaults to null): filter type(derain/dehaze). (default: 0, possible values: 0 (derain), 1 (dehaze))
  • dnn_backend (of type int?, which defaults to null): DNN backend. (default: 0, possible values: 0 (native))
  • model (of type string?, which defaults to null): path to model file
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deshake

Ffmpeg filter: Stabilize shaky video.

Type:

(?x : int?, ?y : int?, ?w : int?, ?h : int?, ?rx : int?,
 ?ry : int?, ?edge : int?, ?blocksize : int?,
 ?contrast : int?, ?search : int?, ?filename : string?,
 ?opencl : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • x (of type int?, which defaults to null): set x for the rectangular search area. (default: -1)
  • y (of type int?, which defaults to null): set y for the rectangular search area. (default: -1)
  • w (of type int?, which defaults to null): set width for the rectangular search area. (default: -1)
  • h (of type int?, which defaults to null): set height for the rectangular search area. (default: -1)
  • rx (of type int?, which defaults to null): set x for the rectangular search area. (default: 16)
  • ry (of type int?, which defaults to null): set y for the rectangular search area. (default: 16)
  • edge (of type int?, which defaults to null): set edge mode. (default: 3, possible values: 0 (blank), 1 (original), 2 (clamp), 3 (mirror))
  • blocksize (of type int?, which defaults to null): set motion search blocksize. (default: 8)
  • contrast (of type int?, which defaults to null): set contrast threshold for blocks. (default: 125)
  • search (of type int?, which defaults to null): set search strategy. (default: 0, possible values: 0 (exhaustive), 1 (less))
  • filename (of type string?, which defaults to null): set motion search detailed log file name
  • opencl (of type bool?, which defaults to null): ignored. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deshake.create

Ffmpeg filter: Stabilize shaky video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : int?, ?y : int?, ?w : int?, ?h : int?, ?rx : int?,
 ?ry : int?, ?edge : int?, ?blocksize : int?,
 ?contrast : int?, ?search : int?, ?filename : string?,
 ?opencl : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type int?, which defaults to null): set x for the rectangular search area. (default: -1)
  • y (of type int?, which defaults to null): set y for the rectangular search area. (default: -1)
  • w (of type int?, which defaults to null): set width for the rectangular search area. (default: -1)
  • h (of type int?, which defaults to null): set height for the rectangular search area. (default: -1)
  • rx (of type int?, which defaults to null): set x for the rectangular search area. (default: 16)
  • ry (of type int?, which defaults to null): set y for the rectangular search area. (default: 16)
  • edge (of type int?, which defaults to null): set edge mode. (default: 3, possible values: 0 (blank), 1 (original), 2 (clamp), 3 (mirror))
  • blocksize (of type int?, which defaults to null): set motion search blocksize. (default: 8)
  • contrast (of type int?, which defaults to null): set contrast threshold for blocks. (default: 125)
  • search (of type int?, which defaults to null): set search strategy. (default: 0, possible values: 0 (exhaustive), 1 (less))
  • filename (of type string?, which defaults to null): set motion search detailed log file name
  • opencl (of type bool?, which defaults to null): ignored. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.deshake_opencl

Ffmpeg filter: Feature-point based video stabilization filter

Type:

(?tripod : bool?, ?debug : bool?, ?adaptive_crop : bool?,
 ?refine_features : bool?, ?smooth_strength : float?,
 ?smooth_window_multiplier : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • tripod (of type bool?, which defaults to null): simulates a tripod by preventing any camera movement whatsoever from the original frame. (default: false)
  • debug (of type bool?, which defaults to null): turn on additional debugging information. (default: false)
  • adaptive_crop (of type bool?, which defaults to null): attempt to subtly crop borders to reduce mirrored content. (default: true)
  • refine_features (of type bool?, which defaults to null): refine feature point locations at a sub-pixel level. (default: true)
  • smooth_strength (of type float?, which defaults to null): smoothing strength (0 attempts to adaptively determine optimal strength). (default: 0.)
  • smooth_window_multiplier (of type float?, which defaults to null): multiplier for number of frames to buffer for motion data. (default: 2.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.deshake_opencl.create

Ffmpeg filter: Feature-point based video stabilization filter. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?tripod : bool?, ?debug : bool?, ?adaptive_crop : bool?,
 ?refine_features : bool?, ?smooth_strength : float?,
 ?smooth_window_multiplier : float?, ffmpeg.filter.graph) ->
unit

Arguments:

  • tripod (of type bool?, which defaults to null): simulates a tripod by preventing any camera movement whatsoever from the original frame. (default: false)
  • debug (of type bool?, which defaults to null): turn on additional debugging information. (default: false)
  • adaptive_crop (of type bool?, which defaults to null): attempt to subtly crop borders to reduce mirrored content. (default: true)
  • refine_features (of type bool?, which defaults to null): refine feature point locations at a sub-pixel level. (default: true)
  • smooth_strength (of type float?, which defaults to null): smoothing strength (0 attempts to adaptively determine optimal strength). (default: 0.)
  • smooth_window_multiplier (of type float?, which defaults to null): multiplier for number of frames to buffer for motion data. (default: 2.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.despill

Ffmpeg filter: Despill video.

Type:

(?type : int?, ?mix : float?, ?expand : float?,
 ?red : float?, ?green : float?, ?blue : float?,
 ?brightness : float?, ?alpha : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • type (of type int?, which defaults to null): set the screen type. (default: 0, possible values: 0 (green), 1 (blue))
  • mix (of type float?, which defaults to null): set the spillmap mix. (default: 0.5)
  • expand (of type float?, which defaults to null): set the spillmap expand. (default: 0.)
  • red (of type float?, which defaults to null): set red scale. (default: 0.)
  • green (of type float?, which defaults to null): set green scale. (default: -1.)
  • blue (of type float?, which defaults to null): set blue scale. (default: 0.)
  • brightness (of type float?, which defaults to null): set brightness. (default: 0.)
  • alpha (of type bool?, which defaults to null): change alpha component. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.despill.create

Ffmpeg filter: Despill video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?type : int?, ?mix : float?, ?expand : float?,
 ?red : float?, ?green : float?, ?blue : float?,
 ?brightness : float?, ?alpha : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • type (of type int?, which defaults to null): set the screen type. (default: 0, possible values: 0 (green), 1 (blue))
  • mix (of type float?, which defaults to null): set the spillmap mix. (default: 0.5)
  • expand (of type float?, which defaults to null): set the spillmap expand. (default: 0.)
  • red (of type float?, which defaults to null): set red scale. (default: 0.)
  • green (of type float?, which defaults to null): set green scale. (default: -1.)
  • blue (of type float?, which defaults to null): set blue scale. (default: 0.)
  • brightness (of type float?, which defaults to null): set brightness. (default: 0.)
  • alpha (of type bool?, which defaults to null): change alpha component. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.detelecine

Ffmpeg filter: Apply an inverse telecine pattern.

Type:

(?first_field : int?, ?pattern : string?,
 ?start_frame : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • first_field (of type int?, which defaults to null): select first field. (default: 0, possible values: 0 (top), 0 (t), 1 (bottom), 1 (b))
  • pattern (of type string?, which defaults to null): pattern that describe for how many fields a frame is to be displayed. (default: 23)
  • start_frame (of type int?, which defaults to null): position of first frame with respect to the pattern if stream is cut. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.detelecine.create

Ffmpeg filter: Apply an inverse telecine pattern.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?first_field : int?, ?pattern : string?,
 ?start_frame : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • first_field (of type int?, which defaults to null): select first field. (default: 0, possible values: 0 (top), 0 (t), 1 (bottom), 1 (b))
  • pattern (of type string?, which defaults to null): pattern that describe for how many fields a frame is to be displayed. (default: 23)
  • start_frame (of type int?, which defaults to null): position of first frame with respect to the pattern if stream is cut. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dilation

Ffmpeg filter: Apply dilation effect.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ?coordinates : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dilation.create

Ffmpeg filter: Apply dilation effect.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ?coordinates : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dilation_opencl

Ffmpeg filter: Apply dilation effect

Type:

(?threshold0 : float?, ?threshold1 : float?,
 ?threshold2 : float?, ?threshold3 : float?,
 ?coordinates : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • threshold0 (of type float?, which defaults to null): set threshold for 1st plane. (default: 65535.)
  • threshold1 (of type float?, which defaults to null): set threshold for 2nd plane. (default: 65535.)
  • threshold2 (of type float?, which defaults to null): set threshold for 3rd plane. (default: 65535.)
  • threshold3 (of type float?, which defaults to null): set threshold for 4th plane. (default: 65535.)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dilation_opencl.create

Ffmpeg filter: Apply dilation effect. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : float?, ?threshold1 : float?,
 ?threshold2 : float?, ?threshold3 : float?,
 ?coordinates : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type float?, which defaults to null): set threshold for 1st plane. (default: 65535.)
  • threshold1 (of type float?, which defaults to null): set threshold for 2nd plane. (default: 65535.)
  • threshold2 (of type float?, which defaults to null): set threshold for 3rd plane. (default: 65535.)
  • threshold3 (of type float?, which defaults to null): set threshold for 4th plane. (default: 65535.)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.displace

Ffmpeg filter: Displace pixels.

Type:

(?edge : int?, ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • edge (of type int?, which defaults to null): set edge mode. (default: 1, possible values: 0 (blank), 1 (smear), 2 (wrap), 3 (mirror))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.displace.create

Ffmpeg filter: Displace pixels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?edge : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • edge (of type int?, which defaults to null): set edge mode. (default: 1, possible values: 0 (blank), 1 (smear), 2 (wrap), 3 (mirror))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.dnn_processing

Ffmpeg filter: Apply DNN processing filter to the input.

Type:

(?dnn_backend : int?, ?model : string?, ?input : string?,
 ?output : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • dnn_backend (of type int?, which defaults to null): DNN backend. (default: 0, possible values: 0 (native))
  • model (of type string?, which defaults to null): path to model file
  • input (of type string?, which defaults to null): input name of the model
  • output (of type string?, which defaults to null): output name of the model
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.dnn_processing.create

Ffmpeg filter: Apply DNN processing filter to the input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dnn_backend : int?, ?model : string?, ?input : string?,
 ?output : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • dnn_backend (of type int?, which defaults to null): DNN backend. (default: 0, possible values: 0 (native))
  • model (of type string?, which defaults to null): path to model file
  • input (of type string?, which defaults to null): input name of the model
  • output (of type string?, which defaults to null): output name of the model
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.doubleweave

Ffmpeg filter: Weave input video fields into double number of frames.

Type:

(?first_field : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • first_field (of type int?, which defaults to null): set first field. (default: 0, possible values: 0 (top), 0 (t), 1 (bottom), 1 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.doubleweave.create

Ffmpeg filter: Weave input video fields into double number of frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?first_field : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • first_field (of type int?, which defaults to null): set first field. (default: 0, possible values: 0 (top), 0 (t), 1 (bottom), 1 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.drawbox

Ffmpeg filter: Draw a colored box on the input video.

Type:

(?x : string?, ?y : string?, ?width : string?,
 ?w : string?, ?height : string?, ?h : string?,
 ?color : string?, ?c : string?, ?thickness : string?,
 ?t : string?, ?replace : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): set horizontal position of the left box edge. (default: 0)
  • y (of type string?, which defaults to null): set vertical position of the top box edge. (default: 0)
  • width (of type string?, which defaults to null): set width of the box. (default: 0)
  • w (of type string?, which defaults to null): set width of the box. (default: 0)
  • height (of type string?, which defaults to null): set height of the box. (default: 0)
  • h (of type string?, which defaults to null): set height of the box. (default: 0)
  • color (of type string?, which defaults to null): set color of the box. (default: black)
  • c (of type string?, which defaults to null): set color of the box. (default: black)
  • thickness (of type string?, which defaults to null): set the box thickness. (default: 3)
  • t (of type string?, which defaults to null): set the box thickness. (default: 3)
  • replace (of type bool?, which defaults to null): replace color & alpha. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.drawbox.create

Ffmpeg filter: Draw a colored box on the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?width : string?,
 ?w : string?, ?height : string?, ?h : string?,
 ?color : string?, ?c : string?, ?thickness : string?,
 ?t : string?, ?replace : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • x (of type string?, which defaults to null): set horizontal position of the left box edge. (default: 0)
  • y (of type string?, which defaults to null): set vertical position of the top box edge. (default: 0)
  • width (of type string?, which defaults to null): set width of the box. (default: 0)
  • w (of type string?, which defaults to null): set width of the box. (default: 0)
  • height (of type string?, which defaults to null): set height of the box. (default: 0)
  • h (of type string?, which defaults to null): set height of the box. (default: 0)
  • color (of type string?, which defaults to null): set color of the box. (default: black)
  • c (of type string?, which defaults to null): set color of the box. (default: black)
  • thickness (of type string?, which defaults to null): set the box thickness. (default: 3)
  • t (of type string?, which defaults to null): set the box thickness. (default: 3)
  • replace (of type bool?, which defaults to null): replace color & alpha. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.drawgraph

Ffmpeg filter: Draw a graph using input video metadata.

Type:

(?m1 : string?, ?fg1 : string?, ?m2 : string?,
 ?fg2 : string?, ?m3 : string?, ?fg3 : string?,
 ?m4 : string?, ?fg4 : string?, ?bg : string?,
 ?min : float?, ?max : float?, ?mode : int?,
 ?slide : int?, ?size : string?, ?s : string?,
 ?rate : string?, ?r : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • m1 (of type string?, which defaults to null): set 1st metadata key. (default: )
  • fg1 (of type string?, which defaults to null): set 1st foreground color expression. (default: 0xffff0000)
  • m2 (of type string?, which defaults to null): set 2nd metadata key. (default: )
  • fg2 (of type string?, which defaults to null): set 2nd foreground color expression. (default: 0xff00ff00)
  • m3 (of type string?, which defaults to null): set 3rd metadata key. (default: )
  • fg3 (of type string?, which defaults to null): set 3rd foreground color expression. (default: 0xffff00ff)
  • m4 (of type string?, which defaults to null): set 4th metadata key. (default: )
  • fg4 (of type string?, which defaults to null): set 4th foreground color expression. (default: 0xffffff00)
  • bg (of type string?, which defaults to null): set background color. (default: white)
  • min (of type float?, which defaults to null): set minimal value. (default: -1.)
  • max (of type float?, which defaults to null): set maximal value. (default: 1.)
  • mode (of type int?, which defaults to null): set graph mode. (default: 2, possible values: 0 (bar), 1 (dot), 2 (line))
  • slide (of type int?, which defaults to null): set slide mode. (default: 0, possible values: 0 (frame), 1 (replace), 2 (scroll), 3 (rscroll), 4 (picture))
  • size (of type string?, which defaults to null): set graph size. (default: 900x256)
  • s (of type string?, which defaults to null): set graph size. (default: 900x256)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.drawgraph.create

Ffmpeg filter: Draw a graph using input video metadata.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?m1 : string?, ?fg1 : string?, ?m2 : string?,
 ?fg2 : string?, ?m3 : string?, ?fg3 : string?,
 ?m4 : string?, ?fg4 : string?, ?bg : string?,
 ?min : float?, ?max : float?, ?mode : int?,
 ?slide : int?, ?size : string?, ?s : string?,
 ?rate : string?, ?r : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • m1 (of type string?, which defaults to null): set 1st metadata key. (default: )
  • fg1 (of type string?, which defaults to null): set 1st foreground color expression. (default: 0xffff0000)
  • m2 (of type string?, which defaults to null): set 2nd metadata key. (default: )
  • fg2 (of type string?, which defaults to null): set 2nd foreground color expression. (default: 0xff00ff00)
  • m3 (of type string?, which defaults to null): set 3rd metadata key. (default: )
  • fg3 (of type string?, which defaults to null): set 3rd foreground color expression. (default: 0xffff00ff)
  • m4 (of type string?, which defaults to null): set 4th metadata key. (default: )
  • fg4 (of type string?, which defaults to null): set 4th foreground color expression. (default: 0xffffff00)
  • bg (of type string?, which defaults to null): set background color. (default: white)
  • min (of type float?, which defaults to null): set minimal value. (default: -1.)
  • max (of type float?, which defaults to null): set maximal value. (default: 1.)
  • mode (of type int?, which defaults to null): set graph mode. (default: 2, possible values: 0 (bar), 1 (dot), 2 (line))
  • slide (of type int?, which defaults to null): set slide mode. (default: 0, possible values: 0 (frame), 1 (replace), 2 (scroll), 3 (rscroll), 4 (picture))
  • size (of type string?, which defaults to null): set graph size. (default: 900x256)
  • s (of type string?, which defaults to null): set graph size. (default: 900x256)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.drawgrid

Ffmpeg filter: Draw a colored grid on the input video.

Type:

(?x : string?, ?y : string?, ?width : string?,
 ?w : string?, ?height : string?, ?h : string?,
 ?color : string?, ?c : string?, ?thickness : string?,
 ?t : string?, ?replace : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): set horizontal offset. (default: 0)
  • y (of type string?, which defaults to null): set vertical offset. (default: 0)
  • width (of type string?, which defaults to null): set width of grid cell. (default: 0)
  • w (of type string?, which defaults to null): set width of grid cell. (default: 0)
  • height (of type string?, which defaults to null): set height of grid cell. (default: 0)
  • h (of type string?, which defaults to null): set height of grid cell. (default: 0)
  • color (of type string?, which defaults to null): set color of the grid. (default: black)
  • c (of type string?, which defaults to null): set color of the grid. (default: black)
  • thickness (of type string?, which defaults to null): set grid line thickness. (default: 1)
  • t (of type string?, which defaults to null): set grid line thickness. (default: 1)
  • replace (of type bool?, which defaults to null): replace color & alpha. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.drawgrid.create

Ffmpeg filter: Draw a colored grid on the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?width : string?,
 ?w : string?, ?height : string?, ?h : string?,
 ?color : string?, ?c : string?, ?thickness : string?,
 ?t : string?, ?replace : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • x (of type string?, which defaults to null): set horizontal offset. (default: 0)
  • y (of type string?, which defaults to null): set vertical offset. (default: 0)
  • width (of type string?, which defaults to null): set width of grid cell. (default: 0)
  • w (of type string?, which defaults to null): set width of grid cell. (default: 0)
  • height (of type string?, which defaults to null): set height of grid cell. (default: 0)
  • h (of type string?, which defaults to null): set height of grid cell. (default: 0)
  • color (of type string?, which defaults to null): set color of the grid. (default: black)
  • c (of type string?, which defaults to null): set color of the grid. (default: black)
  • thickness (of type string?, which defaults to null): set grid line thickness. (default: 1)
  • t (of type string?, which defaults to null): set grid line thickness. (default: 1)
  • replace (of type bool?, which defaults to null): replace color & alpha. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.drawtext

Ffmpeg filter: Draw text on top of video frames using libfreetype library.

Type:

(?fontfile : string?, ?text : string?,
 ?textfile : string?, ?fontcolor : string?,
 ?fontcolor_expr : string?, ?boxcolor : string?,
 ?bordercolor : string?, ?shadowcolor : string?,
 ?box : bool?, ?boxborderw : int?, ?line_spacing : int?,
 ?fontsize : string?, ?x : string?, ?y : string?,
 ?shadowx : int?, ?shadowy : int?, ?borderw : int?,
 ?tabsize : int?, ?basetime : int?, ?font : string?,
 ?expansion : int?, ?timecode : string?,
 ?tc24hmax : bool?, ?timecode_rate : string?,
 ?r : string?, ?rate : string?, ?reload : bool?,
 ?alpha : string?, ?fix_bounds : bool?,
 ?start_number : int?, ?text_shaping : bool?,
 ?ft_load_flags : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • fontfile (of type string?, which defaults to null): set font file
  • text (of type string?, which defaults to null): set text
  • textfile (of type string?, which defaults to null): set text file
  • fontcolor (of type string?, which defaults to null): set foreground color. (default: black)
  • fontcolor_expr (of type string?, which defaults to null): set foreground color expression. (default: )
  • boxcolor (of type string?, which defaults to null): set box color. (default: white)
  • bordercolor (of type string?, which defaults to null): set border color. (default: black)
  • shadowcolor (of type string?, which defaults to null): set shadow color. (default: black)
  • box (of type bool?, which defaults to null): set box. (default: false)
  • boxborderw (of type int?, which defaults to null): set box border width. (default: 0)
  • line_spacing (of type int?, which defaults to null): set line spacing in pixels. (default: 0)
  • fontsize (of type string?, which defaults to null): set font size
  • x (of type string?, which defaults to null): set x expression. (default: 0)
  • y (of type string?, which defaults to null): set y expression. (default: 0)
  • shadowx (of type int?, which defaults to null): set shadow x offset. (default: 0)
  • shadowy (of type int?, which defaults to null): set shadow y offset. (default: 0)
  • borderw (of type int?, which defaults to null): set border width. (default: 0)
  • tabsize (of type int?, which defaults to null): set tab size. (default: 4)
  • basetime (of type int?, which defaults to null): set base time. (default: -9223372036854775808)
  • font (of type string?, which defaults to null): Font name. (default: Sans)
  • expansion (of type int?, which defaults to null): set the expansion mode. (default: 1, possible values: 0 (none), 1 (normal), 2 (strftime))
  • timecode (of type string?, which defaults to null): set initial timecode
  • tc24hmax (of type bool?, which defaults to null): set 24 hours max (timecode only). (default: false)
  • timecode_rate (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • r (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • rate (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • reload (of type bool?, which defaults to null): reload text file for each frame. (default: false)
  • alpha (of type string?, which defaults to null): apply alpha while rendering. (default: 1)
  • fix_bounds (of type bool?, which defaults to null): check and fix text coords to avoid clipping. (default: false)
  • start_number (of type int?, which defaults to null): start frame number for n/frame_num variable. (default: 0)
  • text_shaping (of type bool?, which defaults to null): attempt to shape text before drawing. (default: true)
  • ft_load_flags (of type int?, which defaults to null): set font loading flags for libfreetype. (default: 0, possible values: 0 (default), 1 (no_scale), 2 (no_hinting), 4 (render), 8 (no_bitmap), 16 (vertical_layout), 32 (force_autohint), 64 (crop_bitmap), 128 (pedantic), 512 (ignore_global_advance_width), 1024 (no_recurse), 2048 (ignore_transform), 4096 (monochrome), 8192 (linear_design), 32768 (no_autohint))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.drawtext.create

Ffmpeg filter: Draw text on top of video frames using libfreetype library.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?fontfile : string?, ?text : string?,
 ?textfile : string?, ?fontcolor : string?,
 ?fontcolor_expr : string?, ?boxcolor : string?,
 ?bordercolor : string?, ?shadowcolor : string?,
 ?box : bool?, ?boxborderw : int?, ?line_spacing : int?,
 ?fontsize : string?, ?x : string?, ?y : string?,
 ?shadowx : int?, ?shadowy : int?, ?borderw : int?,
 ?tabsize : int?, ?basetime : int?, ?font : string?,
 ?expansion : int?, ?timecode : string?,
 ?tc24hmax : bool?, ?timecode_rate : string?,
 ?r : string?, ?rate : string?, ?reload : bool?,
 ?alpha : string?, ?fix_bounds : bool?,
 ?start_number : int?, ?text_shaping : bool?,
 ?ft_load_flags : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • fontfile (of type string?, which defaults to null): set font file
  • text (of type string?, which defaults to null): set text
  • textfile (of type string?, which defaults to null): set text file
  • fontcolor (of type string?, which defaults to null): set foreground color. (default: black)
  • fontcolor_expr (of type string?, which defaults to null): set foreground color expression. (default: )
  • boxcolor (of type string?, which defaults to null): set box color. (default: white)
  • bordercolor (of type string?, which defaults to null): set border color. (default: black)
  • shadowcolor (of type string?, which defaults to null): set shadow color. (default: black)
  • box (of type bool?, which defaults to null): set box. (default: false)
  • boxborderw (of type int?, which defaults to null): set box border width. (default: 0)
  • line_spacing (of type int?, which defaults to null): set line spacing in pixels. (default: 0)
  • fontsize (of type string?, which defaults to null): set font size
  • x (of type string?, which defaults to null): set x expression. (default: 0)
  • y (of type string?, which defaults to null): set y expression. (default: 0)
  • shadowx (of type int?, which defaults to null): set shadow x offset. (default: 0)
  • shadowy (of type int?, which defaults to null): set shadow y offset. (default: 0)
  • borderw (of type int?, which defaults to null): set border width. (default: 0)
  • tabsize (of type int?, which defaults to null): set tab size. (default: 4)
  • basetime (of type int?, which defaults to null): set base time. (default: -9223372036854775808)
  • font (of type string?, which defaults to null): Font name. (default: Sans)
  • expansion (of type int?, which defaults to null): set the expansion mode. (default: 1, possible values: 0 (none), 1 (normal), 2 (strftime))
  • timecode (of type string?, which defaults to null): set initial timecode
  • tc24hmax (of type bool?, which defaults to null): set 24 hours max (timecode only). (default: false)
  • timecode_rate (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • r (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • rate (of type string?, which defaults to null): set rate (timecode only). (default: 0/1)
  • reload (of type bool?, which defaults to null): reload text file for each frame. (default: false)
  • alpha (of type string?, which defaults to null): apply alpha while rendering. (default: 1)
  • fix_bounds (of type bool?, which defaults to null): check and fix text coords to avoid clipping. (default: false)
  • start_number (of type int?, which defaults to null): start frame number for n/frame_num variable. (default: 0)
  • text_shaping (of type bool?, which defaults to null): attempt to shape text before drawing. (default: true)
  • ft_load_flags (of type int?, which defaults to null): set font loading flags for libfreetype. (default: 0, possible values: 0 (default), 1 (no_scale), 2 (no_hinting), 4 (render), 8 (no_bitmap), 16 (vertical_layout), 32 (force_autohint), 64 (crop_bitmap), 128 (pedantic), 512 (ignore_global_advance_width), 1024 (no_recurse), 2048 (ignore_transform), 4096 (monochrome), 8192 (linear_design), 32768 (no_autohint))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.drmeter

Ffmpeg filter: Measure audio dynamic range.

Type:

(?length : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • length (of type float?, which defaults to null): set the window length. (default: 3.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.drmeter.create

Ffmpeg filter: Measure audio dynamic range.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?length : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • length (of type float?, which defaults to null): set the window length. (default: 3.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.dynaudnorm

Ffmpeg filter: Dynamic Audio Normalizer.

Type:

(?framelen : int?, ?f : int?, ?gausssize : int?,
 ?g : int?, ?peak : float?, ?p : float?,
 ?maxgain : float?, ?m : float?, ?targetrms : float?,
 ?r : float?, ?coupling : bool?, ?n : bool?,
 ?correctdc : bool?, ?c : bool?, ?altboundary : bool?,
 ?b : bool?, ?compress : float?, ?s : float?,
 ?threshold : float?, ?t : float?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • framelen (of type int?, which defaults to null): set the frame length in msec. (default: 500)
  • f (of type int?, which defaults to null): set the frame length in msec. (default: 500)
  • gausssize (of type int?, which defaults to null): set the filter size. (default: 31)
  • g (of type int?, which defaults to null): set the filter size. (default: 31)
  • peak (of type float?, which defaults to null): set the peak value. (default: 0.95)
  • p (of type float?, which defaults to null): set the peak value. (default: 0.95)
  • maxgain (of type float?, which defaults to null): set the max amplification. (default: 10.)
  • m (of type float?, which defaults to null): set the max amplification. (default: 10.)
  • targetrms (of type float?, which defaults to null): set the target RMS. (default: 0.)
  • r (of type float?, which defaults to null): set the target RMS. (default: 0.)
  • coupling (of type bool?, which defaults to null): set channel coupling. (default: true)
  • n (of type bool?, which defaults to null): set channel coupling. (default: true)
  • correctdc (of type bool?, which defaults to null): set DC correction. (default: false)
  • c (of type bool?, which defaults to null): set DC correction. (default: false)
  • altboundary (of type bool?, which defaults to null): set alternative boundary mode. (default: false)
  • b (of type bool?, which defaults to null): set alternative boundary mode. (default: false)
  • compress (of type float?, which defaults to null): set the compress factor. (default: 0.)
  • s (of type float?, which defaults to null): set the compress factor. (default: 0.)
  • threshold (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • t (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.dynaudnorm.create

Ffmpeg filter: Dynamic Audio Normalizer.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?framelen : int?, ?f : int?, ?gausssize : int?,
 ?g : int?, ?peak : float?, ?p : float?,
 ?maxgain : float?, ?m : float?, ?targetrms : float?,
 ?r : float?, ?coupling : bool?, ?n : bool?,
 ?correctdc : bool?, ?c : bool?, ?altboundary : bool?,
 ?b : bool?, ?compress : float?, ?s : float?,
 ?threshold : float?, ?t : float?, ffmpeg.filter.graph) ->
unit

Arguments:

  • framelen (of type int?, which defaults to null): set the frame length in msec. (default: 500)
  • f (of type int?, which defaults to null): set the frame length in msec. (default: 500)
  • gausssize (of type int?, which defaults to null): set the filter size. (default: 31)
  • g (of type int?, which defaults to null): set the filter size. (default: 31)
  • peak (of type float?, which defaults to null): set the peak value. (default: 0.95)
  • p (of type float?, which defaults to null): set the peak value. (default: 0.95)
  • maxgain (of type float?, which defaults to null): set the max amplification. (default: 10.)
  • m (of type float?, which defaults to null): set the max amplification. (default: 10.)
  • targetrms (of type float?, which defaults to null): set the target RMS. (default: 0.)
  • r (of type float?, which defaults to null): set the target RMS. (default: 0.)
  • coupling (of type bool?, which defaults to null): set channel coupling. (default: true)
  • n (of type bool?, which defaults to null): set channel coupling. (default: true)
  • correctdc (of type bool?, which defaults to null): set DC correction. (default: false)
  • c (of type bool?, which defaults to null): set DC correction. (default: false)
  • altboundary (of type bool?, which defaults to null): set alternative boundary mode. (default: false)
  • b (of type bool?, which defaults to null): set alternative boundary mode. (default: false)
  • compress (of type float?, which defaults to null): set the compress factor. (default: 0.)
  • s (of type float?, which defaults to null): set the compress factor. (default: 0.)
  • threshold (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • t (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.earwax

Ffmpeg filter: Widen the stereo image.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.earwax.create

Ffmpeg filter: Widen the stereo image.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.ebur128

Ffmpeg filter: EBU R128 scanner. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?video : bool?, ?size : string?, ?meter : int?,
 ?framelog : int?, ?metadata : bool?, ?peak : int?,
 ?dualmono : bool?, ?panlaw : float?, ?target : int?,
 ?gauge : int?, ?scale : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • video (of type bool?, which defaults to null): set video output. (default: false)
  • size (of type string?, which defaults to null): set video size. (default: 640x480)
  • meter (of type int?, which defaults to null): set scale meter (+9 to +18). (default: 9)
  • framelog (of type int?, which defaults to null): force frame logging level. (default: -1, possible values: 32 (info), 40 (verbose))
  • metadata (of type bool?, which defaults to null): inject metadata in the filtergraph. (default: false)
  • peak (of type int?, which defaults to null): set peak mode. (default: 0, possible values: 0 (none), 2 (sample), 4 (true))
  • dualmono (of type bool?, which defaults to null): treat mono input files as dual-mono. (default: false)
  • panlaw (of type float?, which defaults to null): set a specific pan law for dual-mono files. (default: -3.01029995664)
  • target (of type int?, which defaults to null): set a specific target level in LUFS (-23 to 0). (default: -23)
  • gauge (of type int?, which defaults to null): set gauge display type. (default: 0, possible values: 0 (momentary), 0 (m), 1 (shortterm), 1 (s))
  • scale (of type int?, which defaults to null): sets display method for the stats. (default: 0, possible values: 0 (absolute), 0 (LUFS), 1 (relative), 1 (LU))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.ebur128.create

Ffmpeg filter: EBU R128 scanner. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?video : bool?, ?size : string?, ?meter : int?,
 ?framelog : int?, ?metadata : bool?, ?peak : int?,
 ?dualmono : bool?, ?panlaw : float?, ?target : int?,
 ?gauge : int?, ?scale : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • video (of type bool?, which defaults to null): set video output. (default: false)
  • size (of type string?, which defaults to null): set video size. (default: 640x480)
  • meter (of type int?, which defaults to null): set scale meter (+9 to +18). (default: 9)
  • framelog (of type int?, which defaults to null): force frame logging level. (default: -1, possible values: 32 (info), 40 (verbose))
  • metadata (of type bool?, which defaults to null): inject metadata in the filtergraph. (default: false)
  • peak (of type int?, which defaults to null): set peak mode. (default: 0, possible values: 0 (none), 2 (sample), 4 (true))
  • dualmono (of type bool?, which defaults to null): treat mono input files as dual-mono. (default: false)
  • panlaw (of type float?, which defaults to null): set a specific pan law for dual-mono files. (default: -3.01029995664)
  • target (of type int?, which defaults to null): set a specific target level in LUFS (-23 to 0). (default: -23)
  • gauge (of type int?, which defaults to null): set gauge display type. (default: 0, possible values: 0 (momentary), 0 (m), 1 (shortterm), 1 (s))
  • scale (of type int?, which defaults to null): sets display method for the stats. (default: 0, possible values: 0 (absolute), 0 (LUFS), 1 (relative), 1 (LU))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.edgedetect

Ffmpeg filter: Detect and draw edge.

Type:

(?high : float?, ?low : float?, ?mode : int?,
 ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • high (of type float?, which defaults to null): set high threshold. (default: 0.196078431373)
  • low (of type float?, which defaults to null): set low threshold. (default: 0.078431372549)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (wires), 1 (colormix), 2 (canny))
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7, possible values: 1 (y), 2 (u), 4 (v), 4 (r), 1 (g), 2 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.edgedetect.create

Ffmpeg filter: Detect and draw edge.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?high : float?, ?low : float?, ?mode : int?,
 ?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • high (of type float?, which defaults to null): set high threshold. (default: 0.196078431373)
  • low (of type float?, which defaults to null): set low threshold. (default: 0.078431372549)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (wires), 1 (colormix), 2 (canny))
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7, possible values: 1 (y), 2 (u), 4 (v), 4 (r), 1 (g), 2 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.elbg

Ffmpeg filter: Apply posterize effect, using the ELBG algorithm.

Type:

(?codebook_length : int?, ?l : int?, ?nb_steps : int?,
 ?n : int?, ?seed : int?, ?s : int?, ?pal8 : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • codebook_length (of type int?, which defaults to null): set codebook length. (default: 256)
  • l (of type int?, which defaults to null): set codebook length. (default: 256)
  • nb_steps (of type int?, which defaults to null): set max number of steps used to compute the mapping. (default: 1)
  • n (of type int?, which defaults to null): set max number of steps used to compute the mapping. (default: 1)
  • seed (of type int?, which defaults to null): set the random seed. (default: -1)
  • s (of type int?, which defaults to null): set the random seed. (default: -1)
  • pal8 (of type bool?, which defaults to null): set the pal8 output. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.elbg.create

Ffmpeg filter: Apply posterize effect, using the ELBG algorithm.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?codebook_length : int?, ?l : int?, ?nb_steps : int?,
 ?n : int?, ?seed : int?, ?s : int?, ?pal8 : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • codebook_length (of type int?, which defaults to null): set codebook length. (default: 256)
  • l (of type int?, which defaults to null): set codebook length. (default: 256)
  • nb_steps (of type int?, which defaults to null): set max number of steps used to compute the mapping. (default: 1)
  • n (of type int?, which defaults to null): set max number of steps used to compute the mapping. (default: 1)
  • seed (of type int?, which defaults to null): set the random seed. (default: -1)
  • s (of type int?, which defaults to null): set the random seed. (default: -1)
  • pal8 (of type bool?, which defaults to null): set the pal8 output. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.entropy

Ffmpeg filter: Measure video frames entropy.

Type:

(?mode : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): set kind of histogram entropy measurement. (default: 0, possible values: 0 (normal), 1 (diff))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.entropy.create

Ffmpeg filter: Measure video frames entropy.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set kind of histogram entropy measurement. (default: 0, possible values: 0 (normal), 1 (diff))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.eq

Ffmpeg filter: Adjust brightness, contrast, gamma, and saturation.

Type:

(?contrast : string?, ?brightness : string?,
 ?saturation : string?, ?gamma : string?,
 ?gamma_r : string?, ?gamma_g : string?,
 ?gamma_b : string?, ?gamma_weight : string?,
 ?eval : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • contrast (of type string?, which defaults to null): set the contrast adjustment, negative values give a negative image. (default: 1.0)
  • brightness (of type string?, which defaults to null): set the brightness adjustment. (default: 0.0)
  • saturation (of type string?, which defaults to null): set the saturation adjustment. (default: 1.0)
  • gamma (of type string?, which defaults to null): set the initial gamma value. (default: 1.0)
  • gamma_r (of type string?, which defaults to null): gamma value for red. (default: 1.0)
  • gamma_g (of type string?, which defaults to null): gamma value for green. (default: 1.0)
  • gamma_b (of type string?, which defaults to null): gamma value for blue. (default: 1.0)
  • gamma_weight (of type string?, which defaults to null): set the gamma weight which reduces the effect of gamma on bright areas. (default: 1.0)
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.eq.create

Ffmpeg filter: Adjust brightness, contrast, gamma, and saturation.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?contrast : string?, ?brightness : string?,
 ?saturation : string?, ?gamma : string?,
 ?gamma_r : string?, ?gamma_g : string?,
 ?gamma_b : string?, ?gamma_weight : string?,
 ?eval : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • contrast (of type string?, which defaults to null): set the contrast adjustment, negative values give a negative image. (default: 1.0)
  • brightness (of type string?, which defaults to null): set the brightness adjustment. (default: 0.0)
  • saturation (of type string?, which defaults to null): set the saturation adjustment. (default: 1.0)
  • gamma (of type string?, which defaults to null): set the initial gamma value. (default: 1.0)
  • gamma_r (of type string?, which defaults to null): gamma value for red. (default: 1.0)
  • gamma_g (of type string?, which defaults to null): gamma value for green. (default: 1.0)
  • gamma_b (of type string?, which defaults to null): gamma value for blue. (default: 1.0)
  • gamma_weight (of type string?, which defaults to null): set the gamma weight which reduces the effect of gamma on bright areas. (default: 1.0)
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.equalizer

Ffmpeg filter: Apply two-pole peaking equalization (EQ) filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 0.)
  • f (of type float?, which defaults to null): set central frequency. (default: 0.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 1.)
  • w (of type float?, which defaults to null): set band-width. (default: 1.)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.equalizer.create

Ffmpeg filter: Apply two-pole peaking equalization (EQ) filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 0.)
  • f (of type float?, which defaults to null): set central frequency. (default: 0.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set band-width. (default: 1.)
  • w (of type float?, which defaults to null): set band-width. (default: 1.)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.erosion

Ffmpeg filter: Apply erosion effect.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ?coordinates : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.erosion.create

Ffmpeg filter: Apply erosion effect.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ?coordinates : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.erosion_opencl

Ffmpeg filter: Apply erosion effect

Type:

(?threshold0 : float?, ?threshold1 : float?,
 ?threshold2 : float?, ?threshold3 : float?,
 ?coordinates : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • threshold0 (of type float?, which defaults to null): set threshold for 1st plane. (default: 65535.)
  • threshold1 (of type float?, which defaults to null): set threshold for 2nd plane. (default: 65535.)
  • threshold2 (of type float?, which defaults to null): set threshold for 3rd plane. (default: 65535.)
  • threshold3 (of type float?, which defaults to null): set threshold for 4th plane. (default: 65535.)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.erosion_opencl.create

Ffmpeg filter: Apply erosion effect. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : float?, ?threshold1 : float?,
 ?threshold2 : float?, ?threshold3 : float?,
 ?coordinates : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type float?, which defaults to null): set threshold for 1st plane. (default: 65535.)
  • threshold1 (of type float?, which defaults to null): set threshold for 2nd plane. (default: 65535.)
  • threshold2 (of type float?, which defaults to null): set threshold for 3rd plane. (default: 65535.)
  • threshold3 (of type float?, which defaults to null): set threshold for 4th plane. (default: 65535.)
  • coordinates (of type int?, which defaults to null): set coordinates. (default: 255)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.extractplanes

Ffmpeg filter: Extract planes as grayscale frames. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 1, possible values: 16 (y), 32 (u), 64 (v), 1 (r), 2 (g), 4 (b), 8 (a))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.extractplanes.create

Ffmpeg filter: Extract planes as grayscale frames. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 1, possible values: 16 (y), 32 (u), 64 (v), 1 (r), 2 (g), 4 (b), 8 (a))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.extrastereo

Ffmpeg filter: Increase difference between stereo audio channels.

Type:

(?m : float?, ?c : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • m (of type float?, which defaults to null): set the difference coefficient. (default: 2.5)
  • c (of type bool?, which defaults to null): enable clipping. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.extrastereo.create

Ffmpeg filter: Increase difference between stereo audio channels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?m : float?, ?c : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • m (of type float?, which defaults to null): set the difference coefficient. (default: 2.5)
  • c (of type bool?, which defaults to null): enable clipping. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.fade

Ffmpeg filter: Fade in/out input video.

Type:

(?type : int?, ?t : int?, ?start_frame : int?, ?s : int?,
 ?nb_frames : int?, ?n : int?, ?alpha : bool?,
 ?start_time : int?, ?st : int?, ?duration : int?,
 ?d : int?, ?color : string?, ?c : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • type (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • t (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • start_frame (of type int?, which defaults to null): Number of the first frame to which to apply the effect.. (default: 0)
  • s (of type int?, which defaults to null): Number of the first frame to which to apply the effect.. (default: 0)
  • nb_frames (of type int?, which defaults to null): Number of frames to which the effect should be applied.. (default: 25)
  • n (of type int?, which defaults to null): Number of frames to which the effect should be applied.. (default: 25)
  • alpha (of type bool?, which defaults to null): fade alpha if it is available on the input. (default: false)
  • start_time (of type int?, which defaults to null): Number of seconds of the beginning of the effect.. (default: 0)
  • st (of type int?, which defaults to null): Number of seconds of the beginning of the effect.. (default: 0)
  • duration (of type int?, which defaults to null): Duration of the effect in seconds.. (default: 0)
  • d (of type int?, which defaults to null): Duration of the effect in seconds.. (default: 0)
  • color (of type string?, which defaults to null): set color. (default: black)
  • c (of type string?, which defaults to null): set color. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fade.create

Ffmpeg filter: Fade in/out input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?type : int?, ?t : int?, ?start_frame : int?, ?s : int?,
 ?nb_frames : int?, ?n : int?, ?alpha : bool?,
 ?start_time : int?, ?st : int?, ?duration : int?,
 ?d : int?, ?color : string?, ?c : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • type (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • t (of type int?, which defaults to null): set the fade direction. (default: 0, possible values: 0 (in), 1 (out))
  • start_frame (of type int?, which defaults to null): Number of the first frame to which to apply the effect.. (default: 0)
  • s (of type int?, which defaults to null): Number of the first frame to which to apply the effect.. (default: 0)
  • nb_frames (of type int?, which defaults to null): Number of frames to which the effect should be applied.. (default: 25)
  • n (of type int?, which defaults to null): Number of frames to which the effect should be applied.. (default: 25)
  • alpha (of type bool?, which defaults to null): fade alpha if it is available on the input. (default: false)
  • start_time (of type int?, which defaults to null): Number of seconds of the beginning of the effect.. (default: 0)
  • st (of type int?, which defaults to null): Number of seconds of the beginning of the effect.. (default: 0)
  • duration (of type int?, which defaults to null): Duration of the effect in seconds.. (default: 0)
  • d (of type int?, which defaults to null): Duration of the effect in seconds.. (default: 0)
  • color (of type string?, which defaults to null): set color. (default: black)
  • c (of type string?, which defaults to null): set color. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fftdnoiz

Ffmpeg filter: Denoise frames using 3D FFT.

Type:

(?sigma : float?, ?amount : float?, ?block : int?,
 ?overlap : float?, ?prev : int?, ?next : int?,
 ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • sigma (of type float?, which defaults to null): set denoise strength. (default: 1.)
  • amount (of type float?, which defaults to null): set amount of denoising. (default: 1.)
  • block (of type int?, which defaults to null): set block log2(size). (default: 4)
  • overlap (of type float?, which defaults to null): set block overlap. (default: 0.5)
  • prev (of type int?, which defaults to null): set number of previous frames for temporal denoising. (default: 0)
  • next (of type int?, which defaults to null): set number of next frames for temporal denoising. (default: 0)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fftdnoiz.create

Ffmpeg filter: Denoise frames using 3D FFT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sigma : float?, ?amount : float?, ?block : int?,
 ?overlap : float?, ?prev : int?, ?next : int?,
 ?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • sigma (of type float?, which defaults to null): set denoise strength. (default: 1.)
  • amount (of type float?, which defaults to null): set amount of denoising. (default: 1.)
  • block (of type int?, which defaults to null): set block log2(size). (default: 4)
  • overlap (of type float?, which defaults to null): set block overlap. (default: 0.5)
  • prev (of type int?, which defaults to null): set number of previous frames for temporal denoising. (default: 0)
  • next (of type int?, which defaults to null): set number of next frames for temporal denoising. (default: 0)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fftfilt

Ffmpeg filter: Apply arbitrary expressions to pixels in frequency domain.

Type:

(?dc_Y : int?, ?dc_U : int?, ?dc_V : int?,
 ?weight_Y : string?, ?weight_U : string?,
 ?weight_V : string?, ?eval : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • dc_Y (of type int?, which defaults to null): adjust gain in Y plane. (default: 0)
  • dc_U (of type int?, which defaults to null): adjust gain in U plane. (default: 0)
  • dc_V (of type int?, which defaults to null): adjust gain in V plane. (default: 0)
  • weight_Y (of type string?, which defaults to null): set luminance expression in Y plane. (default: 1)
  • weight_U (of type string?, which defaults to null): set chrominance expression in U plane
  • weight_V (of type string?, which defaults to null): set chrominance expression in V plane
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fftfilt.create

Ffmpeg filter: Apply arbitrary expressions to pixels in frequency domain.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dc_Y : int?, ?dc_U : int?, ?dc_V : int?,
 ?weight_Y : string?, ?weight_U : string?,
 ?weight_V : string?, ?eval : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • dc_Y (of type int?, which defaults to null): adjust gain in Y plane. (default: 0)
  • dc_U (of type int?, which defaults to null): adjust gain in U plane. (default: 0)
  • dc_V (of type int?, which defaults to null): adjust gain in V plane. (default: 0)
  • weight_Y (of type string?, which defaults to null): set luminance expression in Y plane. (default: 1)
  • weight_U (of type string?, which defaults to null): set chrominance expression in U plane
  • weight_V (of type string?, which defaults to null): set chrominance expression in V plane
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.field

Ffmpeg filter: Extract a field from the input video.

Type:

(?type : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • type (of type int?, which defaults to null): set field type (top or bottom). (default: 0, possible values: 0 (top), 1 (bottom))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.field.create

Ffmpeg filter: Extract a field from the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?type : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • type (of type int?, which defaults to null): set field type (top or bottom). (default: 0, possible values: 0 (top), 1 (bottom))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fieldhint

Ffmpeg filter: Field matching using hints.

Type:

(?hint : string?, ?mode : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • hint (of type string?, which defaults to null): set hint file
  • mode (of type int?, which defaults to null): set hint mode. (default: 0, possible values: 0 (absolute), 1 (relative))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fieldhint.create

Ffmpeg filter: Field matching using hints.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?hint : string?, ?mode : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • hint (of type string?, which defaults to null): set hint file
  • mode (of type int?, which defaults to null): set hint mode. (default: 0, possible values: 0 (absolute), 1 (relative))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fieldmatch

Ffmpeg filter: Field matching for inverse telecine. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?order : int?, ?mode : int?, ?ppsrc : bool?,
 ?field : int?, ?mchroma : bool?, ?y0 : int?, ?y1 : int?,
 ?scthresh : float?, ?combmatch : int?, ?combdbg : int?,
 ?cthresh : int?, ?chroma : bool?, ?blockx : int?,
 ?blocky : int?, ?combpel : int?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • order (of type int?, which defaults to null): specify the assumed field order. (default: -1, possible values: -1 (auto), 0 (bff), 1 (tff))
  • mode (of type int?, which defaults to null): set the matching mode or strategy to use. (default: 1, possible values: 0 (pc), 1 (pc_n), 2 (pc_u), 3 (pc_n_ub), 4 (pcn), 5 (pcn_ub))
  • ppsrc (of type bool?, which defaults to null): mark main input as a pre-processed input and activate clean source input stream. (default: false)
  • field (of type int?, which defaults to null): set the field to match from. (default: -1, possible values: -1 (auto), 0 (bottom), 1 (top))
  • mchroma (of type bool?, which defaults to null): set whether or not chroma is included during the match comparisons. (default: true)
  • y0 (of type int?, which defaults to null): define an exclusion band which excludes the lines between y0 and y1 from the field matching decision. (default: 0)
  • y1 (of type int?, which defaults to null): define an exclusion band which excludes the lines between y0 and y1 from the field matching decision. (default: 0)
  • scthresh (of type float?, which defaults to null): set scene change detection threshold. (default: 12.)
  • combmatch (of type int?, which defaults to null): set combmatching mode. (default: 1, possible values: 0 (none), 1 (sc), 2 (full))
  • combdbg (of type int?, which defaults to null): enable comb debug. (default: 0, possible values: 0 (none), 1 (pcn), 2 (pcnub))
  • cthresh (of type int?, which defaults to null): set the area combing threshold used for combed frame detection. (default: 9)
  • chroma (of type bool?, which defaults to null): set whether or not chroma is considered in the combed frame decision. (default: false)
  • blockx (of type int?, which defaults to null): set the x-axis size of the window used during combed frame detection. (default: 16)
  • blocky (of type int?, which defaults to null): set the y-axis size of the window used during combed frame detection. (default: 16)
  • combpel (of type int?, which defaults to null): set the number of combed pixels inside any of the blocky by blockx size blocks on the frame for the frame to be detected as combed. (default: 80)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.fieldmatch.create

Ffmpeg filter: Field matching for inverse telecine. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?order : int?, ?mode : int?, ?ppsrc : bool?,
 ?field : int?, ?mchroma : bool?, ?y0 : int?, ?y1 : int?,
 ?scthresh : float?, ?combmatch : int?, ?combdbg : int?,
 ?cthresh : int?, ?chroma : bool?, ?blockx : int?,
 ?blocky : int?, ?combpel : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • order (of type int?, which defaults to null): specify the assumed field order. (default: -1, possible values: -1 (auto), 0 (bff), 1 (tff))
  • mode (of type int?, which defaults to null): set the matching mode or strategy to use. (default: 1, possible values: 0 (pc), 1 (pc_n), 2 (pc_u), 3 (pc_n_ub), 4 (pcn), 5 (pcn_ub))
  • ppsrc (of type bool?, which defaults to null): mark main input as a pre-processed input and activate clean source input stream. (default: false)
  • field (of type int?, which defaults to null): set the field to match from. (default: -1, possible values: -1 (auto), 0 (bottom), 1 (top))
  • mchroma (of type bool?, which defaults to null): set whether or not chroma is included during the match comparisons. (default: true)
  • y0 (of type int?, which defaults to null): define an exclusion band which excludes the lines between y0 and y1 from the field matching decision. (default: 0)
  • y1 (of type int?, which defaults to null): define an exclusion band which excludes the lines between y0 and y1 from the field matching decision. (default: 0)
  • scthresh (of type float?, which defaults to null): set scene change detection threshold. (default: 12.)
  • combmatch (of type int?, which defaults to null): set combmatching mode. (default: 1, possible values: 0 (none), 1 (sc), 2 (full))
  • combdbg (of type int?, which defaults to null): enable comb debug. (default: 0, possible values: 0 (none), 1 (pcn), 2 (pcnub))
  • cthresh (of type int?, which defaults to null): set the area combing threshold used for combed frame detection. (default: 9)
  • chroma (of type bool?, which defaults to null): set whether or not chroma is considered in the combed frame decision. (default: false)
  • blockx (of type int?, which defaults to null): set the x-axis size of the window used during combed frame detection. (default: 16)
  • blocky (of type int?, which defaults to null): set the y-axis size of the window used during combed frame detection. (default: 16)
  • combpel (of type int?, which defaults to null): set the number of combed pixels inside any of the blocky by blockx size blocks on the frame for the frame to be detected as combed. (default: 80)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.fieldorder

Ffmpeg filter: Set the field order.

Type:

(?order : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • order (of type int?, which defaults to null): output field order. (default: 1, possible values: 0 (bff), 1 (tff))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fieldorder.create

Ffmpeg filter: Set the field order.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?order : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • order (of type int?, which defaults to null): output field order. (default: 1, possible values: 0 (bff), 1 (tff))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fifo

Ffmpeg filter: Buffer input images and send them when they are requested.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fifo.create

Ffmpeg filter: Buffer input images and send them when they are requested.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fillborders

Ffmpeg filter: Fill borders of the input video.

Type:

(?left : int?, ?right : int?, ?top : int?,
 ?bottom : int?, ?mode : int?, ?color : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • left (of type int?, which defaults to null): set the left fill border. (default: 0)
  • right (of type int?, which defaults to null): set the right fill border. (default: 0)
  • top (of type int?, which defaults to null): set the top fill border. (default: 0)
  • bottom (of type int?, which defaults to null): set the bottom fill border. (default: 0)
  • mode (of type int?, which defaults to null): set the fill borders mode. (default: 0, possible values: 0 (smear), 1 (mirror), 2 (fixed))
  • color (of type string?, which defaults to null): set the color for the fixed mode. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fillborders.create

Ffmpeg filter: Fill borders of the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?left : int?, ?right : int?, ?top : int?,
 ?bottom : int?, ?mode : int?, ?color : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • left (of type int?, which defaults to null): set the left fill border. (default: 0)
  • right (of type int?, which defaults to null): set the right fill border. (default: 0)
  • top (of type int?, which defaults to null): set the top fill border. (default: 0)
  • bottom (of type int?, which defaults to null): set the bottom fill border. (default: 0)
  • mode (of type int?, which defaults to null): set the fill borders mode. (default: 0, possible values: 0 (smear), 1 (mirror), 2 (fixed))
  • color (of type string?, which defaults to null): set the color for the fixed mode. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.find_rect

Ffmpeg filter: Find a user specified object.

Type:

(?object : string?, ?threshold : float?, ?mipmaps : int?,
 ?xmin : int?, ?ymin : int?, ?xmax : int?, ?ymax : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • object (of type string?, which defaults to null): object bitmap filename
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.5)
  • mipmaps (of type int?, which defaults to null): set mipmaps. (default: 3)
  • xmin (of type int?, which defaults to null): Default: 0
  • ymin (of type int?, which defaults to null): Default: 0
  • xmax (of type int?, which defaults to null): Default: 0
  • ymax (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.find_rect.create

Ffmpeg filter: Find a user specified object.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?object : string?, ?threshold : float?, ?mipmaps : int?,
 ?xmin : int?, ?ymin : int?, ?xmax : int?, ?ymax : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • object (of type string?, which defaults to null): object bitmap filename
  • threshold (of type float?, which defaults to null): set threshold. (default: 0.5)
  • mipmaps (of type int?, which defaults to null): set mipmaps. (default: 3)
  • xmin (of type int?, which defaults to null): Default: 0
  • ymin (of type int?, which defaults to null): Default: 0
  • xmax (of type int?, which defaults to null): Default: 0
  • ymax (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.firequalizer

Ffmpeg filter: Finite Impulse Response Equalizer.

Type:

(?gain : string?, ?gain_entry : string?, ?delay : float?,
 ?accuracy : float?, ?wfunc : int?, ?fixed : bool?,
 ?multi : bool?, ?zero_phase : bool?, ?scale : int?,
 ?dumpfile : string?, ?dumpscale : int?, ?fft2 : bool?,
 ?min_phase : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • gain (of type string?, which defaults to null): set gain curve. (default: gain_interpolate(f))
  • gain_entry (of type string?, which defaults to null): set gain entry
  • delay (of type float?, which defaults to null): set delay. (default: 0.01)
  • accuracy (of type float?, which defaults to null): set accuracy. (default: 5.)
  • wfunc (of type int?, which defaults to null): set window function. (default: 1, possible values: 0 (rectangular), 1 (hann), 2 (hamming), 3 (blackman), 4 (nuttall3), 5 (mnuttall3), 6 (nuttall), 7 (bnuttall), 8 (bharris), 9 (tukey))
  • fixed (of type bool?, which defaults to null): set fixed frame samples. (default: false)
  • multi (of type bool?, which defaults to null): set multi channels mode. (default: false)
  • zero_phase (of type bool?, which defaults to null): set zero phase mode. (default: false)
  • scale (of type int?, which defaults to null): set gain scale. (default: 1, possible values: 0 (linlin), 1 (linlog), 2 (loglin), 3 (loglog))
  • dumpfile (of type string?, which defaults to null): set dump file
  • dumpscale (of type int?, which defaults to null): set dump scale. (default: 1, possible values: 0 (linlin), 1 (linlog), 2 (loglin), 3 (loglog))
  • fft2 (of type bool?, which defaults to null): set 2-channels fft. (default: false)
  • min_phase (of type bool?, which defaults to null): set minimum phase mode. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.firequalizer.create

Ffmpeg filter: Finite Impulse Response Equalizer.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?gain : string?, ?gain_entry : string?, ?delay : float?,
 ?accuracy : float?, ?wfunc : int?, ?fixed : bool?,
 ?multi : bool?, ?zero_phase : bool?, ?scale : int?,
 ?dumpfile : string?, ?dumpscale : int?, ?fft2 : bool?,
 ?min_phase : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • gain (of type string?, which defaults to null): set gain curve. (default: gain_interpolate(f))
  • gain_entry (of type string?, which defaults to null): set gain entry
  • delay (of type float?, which defaults to null): set delay. (default: 0.01)
  • accuracy (of type float?, which defaults to null): set accuracy. (default: 5.)
  • wfunc (of type int?, which defaults to null): set window function. (default: 1, possible values: 0 (rectangular), 1 (hann), 2 (hamming), 3 (blackman), 4 (nuttall3), 5 (mnuttall3), 6 (nuttall), 7 (bnuttall), 8 (bharris), 9 (tukey))
  • fixed (of type bool?, which defaults to null): set fixed frame samples. (default: false)
  • multi (of type bool?, which defaults to null): set multi channels mode. (default: false)
  • zero_phase (of type bool?, which defaults to null): set zero phase mode. (default: false)
  • scale (of type int?, which defaults to null): set gain scale. (default: 1, possible values: 0 (linlin), 1 (linlog), 2 (loglin), 3 (loglog))
  • dumpfile (of type string?, which defaults to null): set dump file
  • dumpscale (of type int?, which defaults to null): set dump scale. (default: 1, possible values: 0 (linlin), 1 (linlog), 2 (loglin), 3 (loglog))
  • fft2 (of type bool?, which defaults to null): set 2-channels fft. (default: false)
  • min_phase (of type bool?, which defaults to null): set minimum phase mode. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.flanger

Ffmpeg filter: Apply a flanging effect to the audio.

Type:

(?delay : float?, ?depth : float?, ?regen : float?,
 ?width : float?, ?speed : float?, ?shape : int?,
 ?phase : float?, ?interp : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • delay (of type float?, which defaults to null): base delay in milliseconds. (default: 0.)
  • depth (of type float?, which defaults to null): added swept delay in milliseconds. (default: 2.)
  • regen (of type float?, which defaults to null): percentage regeneration (delayed signal feedback). (default: 0.)
  • width (of type float?, which defaults to null): percentage of delayed signal mixed with original. (default: 71.)
  • speed (of type float?, which defaults to null): sweeps per second (Hz). (default: 0.5)
  • shape (of type int?, which defaults to null): swept wave shape. (default: 0, possible values: 1 (triangular), 1 (t), 0 (sinusoidal), 0 (s))
  • phase (of type float?, which defaults to null): swept wave percentage phase-shift for multi-channel. (default: 25.)
  • interp (of type int?, which defaults to null): delay-line interpolation. (default: 0, possible values: 0 (linear), 1 (quadratic))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.flanger.create

Ffmpeg filter: Apply a flanging effect to the audio.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?delay : float?, ?depth : float?, ?regen : float?,
 ?width : float?, ?speed : float?, ?shape : int?,
 ?phase : float?, ?interp : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • delay (of type float?, which defaults to null): base delay in milliseconds. (default: 0.)
  • depth (of type float?, which defaults to null): added swept delay in milliseconds. (default: 2.)
  • regen (of type float?, which defaults to null): percentage regeneration (delayed signal feedback). (default: 0.)
  • width (of type float?, which defaults to null): percentage of delayed signal mixed with original. (default: 71.)
  • speed (of type float?, which defaults to null): sweeps per second (Hz). (default: 0.5)
  • shape (of type int?, which defaults to null): swept wave shape. (default: 0, possible values: 1 (triangular), 1 (t), 0 (sinusoidal), 0 (s))
  • phase (of type float?, which defaults to null): swept wave percentage phase-shift for multi-channel. (default: 25.)
  • interp (of type int?, which defaults to null): delay-line interpolation. (default: 0, possible values: 0 (linear), 1 (quadratic))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.flite

Ffmpeg filter: Synthesize voice from text using libflite.

Type:

(?list_voices : bool?, ?nb_samples : int?, ?n : int?,
 ?text : string?, ?textfile : string?, ?v : string?,
 ?voice : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.audio

Arguments:

  • list_voices (of type bool?, which defaults to null): list voices and exit. (default: false)
  • nb_samples (of type int?, which defaults to null): set number of samples per frame. (default: 512)
  • n (of type int?, which defaults to null): set number of samples per frame. (default: 512)
  • text (of type string?, which defaults to null): set text to speak
  • textfile (of type string?, which defaults to null): set filename of the text to speak
  • v (of type string?, which defaults to null): set voice. (default: kal)
  • voice (of type string?, which defaults to null): set voice. (default: kal)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.flite.create

Ffmpeg filter: Synthesize voice from text using libflite.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?list_voices : bool?, ?nb_samples : int?, ?n : int?,
 ?text : string?, ?textfile : string?, ?v : string?,
 ?voice : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • list_voices (of type bool?, which defaults to null): list voices and exit. (default: false)
  • nb_samples (of type int?, which defaults to null): set number of samples per frame. (default: 512)
  • n (of type int?, which defaults to null): set number of samples per frame. (default: 512)
  • text (of type string?, which defaults to null): set text to speak
  • textfile (of type string?, which defaults to null): set filename of the text to speak
  • v (of type string?, which defaults to null): set voice. (default: kal)
  • voice (of type string?, which defaults to null): set voice. (default: kal)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.floodfill

Ffmpeg filter: Fill area with same color with another color.

Type:

(?x : int?, ?y : int?, ?s0 : int?, ?s1 : int?,
 ?s2 : int?, ?s3 : int?, ?d0 : int?, ?d1 : int?,
 ?d2 : int?, ?d3 : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • x (of type int?, which defaults to null): set pixel x coordinate. (default: 0)
  • y (of type int?, which defaults to null): set pixel y coordinate. (default: 0)
  • s0 (of type int?, which defaults to null): set source #0 component value. (default: 0)
  • s1 (of type int?, which defaults to null): set source #1 component value. (default: 0)
  • s2 (of type int?, which defaults to null): set source #2 component value. (default: 0)
  • s3 (of type int?, which defaults to null): set source #3 component value. (default: 0)
  • d0 (of type int?, which defaults to null): set destination #0 component value. (default: 0)
  • d1 (of type int?, which defaults to null): set destination #1 component value. (default: 0)
  • d2 (of type int?, which defaults to null): set destination #2 component value. (default: 0)
  • d3 (of type int?, which defaults to null): set destination #3 component value. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.floodfill.create

Ffmpeg filter: Fill area with same color with another color.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : int?, ?y : int?, ?s0 : int?, ?s1 : int?,
 ?s2 : int?, ?s3 : int?, ?d0 : int?, ?d1 : int?,
 ?d2 : int?, ?d3 : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type int?, which defaults to null): set pixel x coordinate. (default: 0)
  • y (of type int?, which defaults to null): set pixel y coordinate. (default: 0)
  • s0 (of type int?, which defaults to null): set source #0 component value. (default: 0)
  • s1 (of type int?, which defaults to null): set source #1 component value. (default: 0)
  • s2 (of type int?, which defaults to null): set source #2 component value. (default: 0)
  • s3 (of type int?, which defaults to null): set source #3 component value. (default: 0)
  • d0 (of type int?, which defaults to null): set destination #0 component value. (default: 0)
  • d1 (of type int?, which defaults to null): set destination #1 component value. (default: 0)
  • d2 (of type int?, which defaults to null): set destination #2 component value. (default: 0)
  • d3 (of type int?, which defaults to null): set destination #3 component value. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.format

Ffmpeg filter: Convert the input video to one of the specified pixel formats.

Type:

(?pix_fmts : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • pix_fmts (of type string?, which defaults to null): A ‘|’-separated list of pixel formats
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.format.create

Ffmpeg filter: Convert the input video to one of the specified pixel formats.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?pix_fmts : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • pix_fmts (of type string?, which defaults to null): A ‘|’-separated list of pixel formats
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.fps

Ffmpeg filter: Force constant framerate.

Type:

(?fps : string?, ?start_time : float?, ?round : int?,
 ?eof_action : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • fps (of type string?, which defaults to null): A string describing desired output framerate. (default: 25)
  • start_time (of type float?, which defaults to null): Assume the first PTS should be this value.. (default: 1.79769313486e+308)
  • round (of type int?, which defaults to null): set rounding method for timestamps. (default: 5, possible values: 0 (zero), 1 (inf), 2 (down), 3 (up), 5 (near))
  • eof_action (of type int?, which defaults to null): action performed for last frame. (default: 0, possible values: 0 (round), 1 (pass))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fps.create

Ffmpeg filter: Force constant framerate.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?fps : string?, ?start_time : float?, ?round : int?,
 ?eof_action : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • fps (of type string?, which defaults to null): A string describing desired output framerate. (default: 25)
  • start_time (of type float?, which defaults to null): Assume the first PTS should be this value.. (default: 1.79769313486e+308)
  • round (of type int?, which defaults to null): set rounding method for timestamps. (default: 5, possible values: 0 (zero), 1 (inf), 2 (down), 3 (up), 5 (near))
  • eof_action (of type int?, which defaults to null): action performed for last frame. (default: 0, possible values: 0 (round), 1 (pass))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.framepack

Ffmpeg filter: Generate a frame packed stereoscopic video.

Type:

(?format : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • format (of type int?, which defaults to null): Frame pack output format. (default: 1, possible values: 1 (sbs), 2 (tab), 3 (frameseq), 6 (lines), 7 (columns))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.framepack.create

Ffmpeg filter: Generate a frame packed stereoscopic video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?format : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • format (of type int?, which defaults to null): Frame pack output format. (default: 1, possible values: 1 (sbs), 2 (tab), 3 (frameseq), 6 (lines), 7 (columns))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.framerate

Ffmpeg filter: Upsamples or downsamples progressive source between specified frame rates.

Type:

(?fps : string?, ?interp_start : int?,
 ?interp_end : int?, ?scene : float?, ?flags : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • fps (of type string?, which defaults to null): required output frames per second rate. (default: 50)
  • interp_start (of type int?, which defaults to null): point to start linear interpolation. (default: 15)
  • interp_end (of type int?, which defaults to null): point to end linear interpolation. (default: 240)
  • scene (of type float?, which defaults to null): scene change level. (default: 8.2)
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (scene_change_detect), 1 (scd))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.framerate.create

Ffmpeg filter: Upsamples or downsamples progressive source between specified frame rates.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?fps : string?, ?interp_start : int?,
 ?interp_end : int?, ?scene : float?, ?flags : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • fps (of type string?, which defaults to null): required output frames per second rate. (default: 50)
  • interp_start (of type int?, which defaults to null): point to start linear interpolation. (default: 15)
  • interp_end (of type int?, which defaults to null): point to end linear interpolation. (default: 240)
  • scene (of type float?, which defaults to null): scene change level. (default: 8.2)
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (scene_change_detect), 1 (scd))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.framestep

Ffmpeg filter: Select one frame every N frames.

Type:

(?step : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • step (of type int?, which defaults to null): set frame step. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.framestep.create

Ffmpeg filter: Select one frame every N frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?step : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • step (of type int?, which defaults to null): set frame step. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.freezedetect

Ffmpeg filter: Detects frozen video input.

Type:

(?n : float?, ?noise : float?, ?d : int?,
 ?duration : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • n (of type float?, which defaults to null): set noise tolerance. (default: 0.001)
  • noise (of type float?, which defaults to null): set noise tolerance. (default: 0.001)
  • d (of type int?, which defaults to null): set minimum duration in seconds. (default: 2000000)
  • duration (of type int?, which defaults to null): set minimum duration in seconds. (default: 2000000)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.freezedetect.create

Ffmpeg filter: Detects frozen video input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?n : float?, ?noise : float?, ?d : int?,
 ?duration : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • n (of type float?, which defaults to null): set noise tolerance. (default: 0.001)
  • noise (of type float?, which defaults to null): set noise tolerance. (default: 0.001)
  • d (of type int?, which defaults to null): set minimum duration in seconds. (default: 2000000)
  • duration (of type int?, which defaults to null): set minimum duration in seconds. (default: 2000000)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.freezeframes

Ffmpeg filter: Freeze video frames.

Type:

(?first : int?, ?last : int?, ?replace : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • first (of type int?, which defaults to null): set first frame to freeze. (default: 0)
  • last (of type int?, which defaults to null): set last frame to freeze. (default: 0)
  • replace (of type int?, which defaults to null): set frame to replace. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.freezeframes.create

Ffmpeg filter: Freeze video frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?first : int?, ?last : int?, ?replace : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • first (of type int?, which defaults to null): set first frame to freeze. (default: 0)
  • last (of type int?, which defaults to null): set last frame to freeze. (default: 0)
  • replace (of type int?, which defaults to null): set frame to replace. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.frei0r

Ffmpeg filter: Apply a frei0r effect.

Type:

(?filter_name : string?, ?filter_params : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • filter_name (of type string?, which defaults to null)
  • filter_params (of type string?, which defaults to null)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.frei0r.create

Ffmpeg filter: Apply a frei0r effect.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filter_name : string?, ?filter_params : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • filter_name (of type string?, which defaults to null)
  • filter_params (of type string?, which defaults to null)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.frei0r_src

Ffmpeg filter: Generate a frei0r source.

Type:

(?size : string?, ?framerate : string?,
 ?filter_name : string?, ?filter_params : string?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): Dimensions of the generated video.. (default: 320x240)
  • framerate (of type string?, which defaults to null): Default: 25
  • filter_name (of type string?, which defaults to null)
  • filter_params (of type string?, which defaults to null)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.frei0r_src.create

Ffmpeg filter: Generate a frei0r source.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?framerate : string?,
 ?filter_name : string?, ?filter_params : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): Dimensions of the generated video.. (default: 320x240)
  • framerate (of type string?, which defaults to null): Default: 25
  • filter_name (of type string?, which defaults to null)
  • filter_params (of type string?, which defaults to null)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.fspp

Ffmpeg filter: Apply Fast Simple Post-processing filter.

Type:

(?quality : int?, ?qp : int?, ?strength : int?,
 ?use_bframe_qp : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • quality (of type int?, which defaults to null): set quality. (default: 4)
  • qp (of type int?, which defaults to null): force a constant quantizer parameter. (default: 0)
  • strength (of type int?, which defaults to null): set filter strength. (default: 0)
  • use_bframe_qp (of type bool?, which defaults to null): use B-frames’ QP. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.fspp.create

Ffmpeg filter: Apply Fast Simple Post-processing filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?quality : int?, ?qp : int?, ?strength : int?,
 ?use_bframe_qp : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • quality (of type int?, which defaults to null): set quality. (default: 4)
  • qp (of type int?, which defaults to null): force a constant quantizer parameter. (default: 0)
  • strength (of type int?, which defaults to null): set filter strength. (default: 0)
  • use_bframe_qp (of type bool?, which defaults to null): use B-frames’ QP. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.gblur

Ffmpeg filter: Apply Gaussian Blur filter.

Type:

(?sigma : float?, ?steps : int?, ?planes : int?,
 ?sigmaV : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • sigma (of type float?, which defaults to null): set sigma. (default: 0.5)
  • steps (of type int?, which defaults to null): set number of steps. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sigmaV (of type float?, which defaults to null): set vertical sigma. (default: -1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.gblur.create

Ffmpeg filter: Apply Gaussian Blur filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sigma : float?, ?steps : int?, ?planes : int?,
 ?sigmaV : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • sigma (of type float?, which defaults to null): set sigma. (default: 0.5)
  • steps (of type int?, which defaults to null): set number of steps. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • sigmaV (of type float?, which defaults to null): set vertical sigma. (default: -1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.geq

Ffmpeg filter: Apply generic equation to each pixel.

Type:

(?lum_expr : string?, ?lum : string?, ?cb_expr : string?,
 ?cb : string?, ?cr_expr : string?, ?cr : string?,
 ?alpha_expr : string?, ?a : string?,
 ?red_expr : string?, ?r : string?,
 ?green_expr : string?, ?g : string?,
 ?blue_expr : string?, ?b : string?,
 ?interpolation : int?, ?i : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • lum_expr (of type string?, which defaults to null): set luminance expression
  • lum (of type string?, which defaults to null): set luminance expression
  • cb_expr (of type string?, which defaults to null): set chroma blue expression
  • cb (of type string?, which defaults to null): set chroma blue expression
  • cr_expr (of type string?, which defaults to null): set chroma red expression
  • cr (of type string?, which defaults to null): set chroma red expression
  • alpha_expr (of type string?, which defaults to null): set alpha expression
  • a (of type string?, which defaults to null): set alpha expression
  • red_expr (of type string?, which defaults to null): set red expression
  • r (of type string?, which defaults to null): set red expression
  • green_expr (of type string?, which defaults to null): set green expression
  • g (of type string?, which defaults to null): set green expression
  • blue_expr (of type string?, which defaults to null): set blue expression
  • b (of type string?, which defaults to null): set blue expression
  • interpolation (of type int?, which defaults to null): set interpolation method. (default: 1, possible values: 0 (nearest), 0 (n), 1 (bilinear), 1 (b))
  • i (of type int?, which defaults to null): set interpolation method. (default: 1, possible values: 0 (nearest), 0 (n), 1 (bilinear), 1 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.geq.create

Ffmpeg filter: Apply generic equation to each pixel.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?lum_expr : string?, ?lum : string?, ?cb_expr : string?,
 ?cb : string?, ?cr_expr : string?, ?cr : string?,
 ?alpha_expr : string?, ?a : string?,
 ?red_expr : string?, ?r : string?,
 ?green_expr : string?, ?g : string?,
 ?blue_expr : string?, ?b : string?,
 ?interpolation : int?, ?i : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • lum_expr (of type string?, which defaults to null): set luminance expression
  • lum (of type string?, which defaults to null): set luminance expression
  • cb_expr (of type string?, which defaults to null): set chroma blue expression
  • cb (of type string?, which defaults to null): set chroma blue expression
  • cr_expr (of type string?, which defaults to null): set chroma red expression
  • cr (of type string?, which defaults to null): set chroma red expression
  • alpha_expr (of type string?, which defaults to null): set alpha expression
  • a (of type string?, which defaults to null): set alpha expression
  • red_expr (of type string?, which defaults to null): set red expression
  • r (of type string?, which defaults to null): set red expression
  • green_expr (of type string?, which defaults to null): set green expression
  • g (of type string?, which defaults to null): set green expression
  • blue_expr (of type string?, which defaults to null): set blue expression
  • b (of type string?, which defaults to null): set blue expression
  • interpolation (of type int?, which defaults to null): set interpolation method. (default: 1, possible values: 0 (nearest), 0 (n), 1 (bilinear), 1 (b))
  • i (of type int?, which defaults to null): set interpolation method. (default: 1, possible values: 0 (nearest), 0 (n), 1 (bilinear), 1 (b))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.gradfun

Ffmpeg filter: Debands video quickly using gradients.

Type:

(?strength : float?, ?radius : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • strength (of type float?, which defaults to null): The maximum amount by which the filter will change any one pixel.. (default: 1.2)
  • radius (of type int?, which defaults to null): The neighborhood to fit the gradient to.. (default: 16)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.gradfun.create

Ffmpeg filter: Debands video quickly using gradients.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?strength : float?, ?radius : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • strength (of type float?, which defaults to null): The maximum amount by which the filter will change any one pixel.. (default: 1.2)
  • radius (of type int?, which defaults to null): The neighborhood to fit the gradient to.. (default: 16)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.gradients

Ffmpeg filter: Draw a gradients.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?c0 : string?, ?c1 : string?,
 ?c2 : string?, ?c3 : string?, ?c4 : string?,
 ?c5 : string?, ?c6 : string?, ?c7 : string?, ?x0 : int?,
 ?y0 : int?, ?x1 : int?, ?y1 : int?, ?nb_colors : int?,
 ?n : int?, ?seed : int?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set frame size. (default: 640x480)
  • s (of type string?, which defaults to null): set frame size. (default: 640x480)
  • rate (of type string?, which defaults to null): set frame rate. (default: 25)
  • r (of type string?, which defaults to null): set frame rate. (default: 25)
  • c0 (of type string?, which defaults to null): set 1st color. (default: random)
  • c1 (of type string?, which defaults to null): set 2nd color. (default: random)
  • c2 (of type string?, which defaults to null): set 3rd color. (default: random)
  • c3 (of type string?, which defaults to null): set 4th color. (default: random)
  • c4 (of type string?, which defaults to null): set 5th color. (default: random)
  • c5 (of type string?, which defaults to null): set 6th color. (default: random)
  • c6 (of type string?, which defaults to null): set 7th color. (default: random)
  • c7 (of type string?, which defaults to null): set 8th color. (default: random)
  • x0 (of type int?, which defaults to null): set gradient line source x0. (default: -1)
  • y0 (of type int?, which defaults to null): set gradient line source y0. (default: -1)
  • x1 (of type int?, which defaults to null): set gradient line destination x1. (default: -1)
  • y1 (of type int?, which defaults to null): set gradient line destination y1. (default: -1)
  • nb_colors (of type int?, which defaults to null): set the number of colors. (default: 2)
  • n (of type int?, which defaults to null): set the number of colors. (default: 2)
  • seed (of type int?, which defaults to null): set the seed. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.gradients.create

Ffmpeg filter: Draw a gradients.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?c0 : string?, ?c1 : string?,
 ?c2 : string?, ?c3 : string?, ?c4 : string?,
 ?c5 : string?, ?c6 : string?, ?c7 : string?, ?x0 : int?,
 ?y0 : int?, ?x1 : int?, ?y1 : int?, ?nb_colors : int?,
 ?n : int?, ?seed : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set frame size. (default: 640x480)
  • s (of type string?, which defaults to null): set frame size. (default: 640x480)
  • rate (of type string?, which defaults to null): set frame rate. (default: 25)
  • r (of type string?, which defaults to null): set frame rate. (default: 25)
  • c0 (of type string?, which defaults to null): set 1st color. (default: random)
  • c1 (of type string?, which defaults to null): set 2nd color. (default: random)
  • c2 (of type string?, which defaults to null): set 3rd color. (default: random)
  • c3 (of type string?, which defaults to null): set 4th color. (default: random)
  • c4 (of type string?, which defaults to null): set 5th color. (default: random)
  • c5 (of type string?, which defaults to null): set 6th color. (default: random)
  • c6 (of type string?, which defaults to null): set 7th color. (default: random)
  • c7 (of type string?, which defaults to null): set 8th color. (default: random)
  • x0 (of type int?, which defaults to null): set gradient line source x0. (default: -1)
  • y0 (of type int?, which defaults to null): set gradient line source y0. (default: -1)
  • x1 (of type int?, which defaults to null): set gradient line destination x1. (default: -1)
  • y1 (of type int?, which defaults to null): set gradient line destination y1. (default: -1)
  • nb_colors (of type int?, which defaults to null): set the number of colors. (default: 2)
  • n (of type int?, which defaults to null): set the number of colors. (default: 2)
  • seed (of type int?, which defaults to null): set the seed. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.graphmonitor

Ffmpeg filter: Show various filtergraph stats.

Type:

(?size : string?, ?s : string?, ?opacity : float?,
 ?o : float?, ?mode : int?, ?m : int?, ?flags : int?,
 ?f : int?, ?rate : string?, ?r : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set monitor size. (default: hd720)
  • s (of type string?, which defaults to null): set monitor size. (default: hd720)
  • opacity (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • o (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • f (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.graphmonitor.create

Ffmpeg filter: Show various filtergraph stats.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?opacity : float?,
 ?o : float?, ?mode : int?, ?m : int?, ?flags : int?,
 ?f : int?, ?rate : string?, ?r : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set monitor size. (default: hd720)
  • s (of type string?, which defaults to null): set monitor size. (default: hd720)
  • opacity (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • o (of type float?, which defaults to null): set video opacity. (default: 0.9)
  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • m (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (full), 1 (compact))
  • flags (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • f (of type int?, which defaults to null): set flags. (default: 1, possible values: 1 (queue), 4 (frame_count_in), 2 (frame_count_out), 8 (pts), 16 (time), 32 (timebase), 64 (format), 128 (size), 256 (rate))
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.greyedge

Ffmpeg filter: Estimates scene illumination by grey edge assumption.

Type:

(?difford : int?, ?minknorm : int?, ?sigma : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • difford (of type int?, which defaults to null): set differentiation order. (default: 1)
  • minknorm (of type int?, which defaults to null): set Minkowski norm. (default: 1)
  • sigma (of type float?, which defaults to null): set sigma. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.greyedge.create

Ffmpeg filter: Estimates scene illumination by grey edge assumption.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?difford : int?, ?minknorm : int?, ?sigma : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • difford (of type int?, which defaults to null): set differentiation order. (default: 1)
  • minknorm (of type int?, which defaults to null): set Minkowski norm. (default: 1)
  • sigma (of type float?, which defaults to null): set sigma. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.haas

Ffmpeg filter: Apply Haas Stereo Enhancer.

Type:

(?level_in : float?, ?level_out : float?,
 ?side_gain : float?, ?middle_source : int?,
 ?middle_phase : bool?, ?left_delay : float?,
 ?left_balance : float?, ?left_gain : float?,
 ?left_phase : bool?, ?right_delay : float?,
 ?right_balance : float?, ?right_gain : float?,
 ?right_phase : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • level_in (of type float?, which defaults to null): set level in. (default: 1.)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • side_gain (of type float?, which defaults to null): set side gain. (default: 1.)
  • middle_source (of type int?, which defaults to null): set middle source. (default: 2, possible values: 0 (left), 1 (right), 2 (mid), 3 (side))
  • middle_phase (of type bool?, which defaults to null): set middle phase. (default: false)
  • left_delay (of type float?, which defaults to null): set left delay. (default: 2.05)
  • left_balance (of type float?, which defaults to null): set left balance. (default: -1.)
  • left_gain (of type float?, which defaults to null): set left gain. (default: 1.)
  • left_phase (of type bool?, which defaults to null): set left phase. (default: false)
  • right_delay (of type float?, which defaults to null): set right delay. (default: 2.12)
  • right_balance (of type float?, which defaults to null): set right balance. (default: 1.)
  • right_gain (of type float?, which defaults to null): set right gain. (default: 1.)
  • right_phase (of type bool?, which defaults to null): set right phase. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.haas.create

Ffmpeg filter: Apply Haas Stereo Enhancer.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_in : float?, ?level_out : float?,
 ?side_gain : float?, ?middle_source : int?,
 ?middle_phase : bool?, ?left_delay : float?,
 ?left_balance : float?, ?left_gain : float?,
 ?left_phase : bool?, ?right_delay : float?,
 ?right_balance : float?, ?right_gain : float?,
 ?right_phase : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • level_in (of type float?, which defaults to null): set level in. (default: 1.)
  • level_out (of type float?, which defaults to null): set level out. (default: 1.)
  • side_gain (of type float?, which defaults to null): set side gain. (default: 1.)
  • middle_source (of type int?, which defaults to null): set middle source. (default: 2, possible values: 0 (left), 1 (right), 2 (mid), 3 (side))
  • middle_phase (of type bool?, which defaults to null): set middle phase. (default: false)
  • left_delay (of type float?, which defaults to null): set left delay. (default: 2.05)
  • left_balance (of type float?, which defaults to null): set left balance. (default: -1.)
  • left_gain (of type float?, which defaults to null): set left gain. (default: 1.)
  • left_phase (of type bool?, which defaults to null): set left phase. (default: false)
  • right_delay (of type float?, which defaults to null): set right delay. (default: 2.12)
  • right_balance (of type float?, which defaults to null): set right balance. (default: 1.)
  • right_gain (of type float?, which defaults to null): set right gain. (default: 1.)
  • right_phase (of type bool?, which defaults to null): set right phase. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.haldclut

Ffmpeg filter: Adjust colors using a Hald CLUT.

Type:

(?interp : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • interp (of type int?, which defaults to null): select interpolation mode. (default: 2, possible values: 0 (nearest), 1 (trilinear), 2 (tetrahedral))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.haldclut.create

Ffmpeg filter: Adjust colors using a Hald CLUT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?interp : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • interp (of type int?, which defaults to null): select interpolation mode. (default: 2, possible values: 0 (nearest), 1 (trilinear), 2 (tetrahedral))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.haldclutsrc

Ffmpeg filter: Provide an identity Hald CLUT.

Type:

(?level : int?, ?rate : string?, ?r : string?,
 ?duration : int?, ?d : int?, ?sar : string?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • level (of type int?, which defaults to null): set level. (default: 6)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.haldclutsrc.create

Ffmpeg filter: Provide an identity Hald CLUT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level : int?, ?rate : string?, ?r : string?,
 ?duration : int?, ?d : int?, ?sar : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • level (of type int?, which defaults to null): set level. (default: 6)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.hdcd

Ffmpeg filter: Apply High Definition Compatible Digital (HDCD) decoding.

Type:

(?disable_autoconvert : bool?, ?process_stereo : bool?,
 ?cdt_ms : int?, ?force_pe : bool?, ?analyze_mode : int?,
 ?bits_per_sample : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • disable_autoconvert (of type bool?, which defaults to null): Disable any format conversion or resampling in the filter graph.. (default: true)
  • process_stereo (of type bool?, which defaults to null): Process stereo channels together. Only apply target_gain when both channels match.. (default: true)
  • cdt_ms (of type int?, which defaults to null): Code detect timer period in ms.. (default: 2000)
  • force_pe (of type bool?, which defaults to null): Always extend peaks above -3dBFS even when PE is not signaled.. (default: false)
  • analyze_mode (of type int?, which defaults to null): Replace audio with solid tone and signal some processing aspect in the amplitude.. (default: 0, possible values: 0 (off), 1 (lle), 2 (pe), 3 (cdt), 4 (tgm))
  • bits_per_sample (of type int?, which defaults to null): Valid bits per sample (location of the true LSB).. (default: 16, possible values: 16 (16), 20 (20), 24 (24))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.hdcd.create

Ffmpeg filter: Apply High Definition Compatible Digital (HDCD) decoding.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?disable_autoconvert : bool?, ?process_stereo : bool?,
 ?cdt_ms : int?, ?force_pe : bool?, ?analyze_mode : int?,
 ?bits_per_sample : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • disable_autoconvert (of type bool?, which defaults to null): Disable any format conversion or resampling in the filter graph.. (default: true)
  • process_stereo (of type bool?, which defaults to null): Process stereo channels together. Only apply target_gain when both channels match.. (default: true)
  • cdt_ms (of type int?, which defaults to null): Code detect timer period in ms.. (default: 2000)
  • force_pe (of type bool?, which defaults to null): Always extend peaks above -3dBFS even when PE is not signaled.. (default: false)
  • analyze_mode (of type int?, which defaults to null): Replace audio with solid tone and signal some processing aspect in the amplitude.. (default: 0, possible values: 0 (off), 1 (lle), 2 (pe), 3 (cdt), 4 (tgm))
  • bits_per_sample (of type int?, which defaults to null): Valid bits per sample (location of the true LSB).. (default: 16, possible values: 16 (16), 20 (20), 24 (24))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.headphone

Ffmpeg filter: Apply headphone binaural spatialization with HRTFs in additional streams. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?map : string?, ?gain : float?, ?lfe : float?,
 ?type : int?, ?size : int?, ?hrir : int?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.audio

Arguments:

  • map (of type string?, which defaults to null): set channels convolution mappings
  • gain (of type float?, which defaults to null): set gain in dB. (default: 0.)
  • lfe (of type float?, which defaults to null): set lfe gain in dB. (default: 0.)
  • type (of type int?, which defaults to null): set processing. (default: 1, possible values: 0 (time), 1 (freq))
  • size (of type int?, which defaults to null): set frame size. (default: 1024)
  • hrir (of type int?, which defaults to null): set hrir format. (default: 0, possible values: 0 (stereo), 1 (multich))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.headphone.create

Ffmpeg filter: Apply headphone binaural spatialization with HRTFs in additional streams. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?map : string?, ?gain : float?, ?lfe : float?,
 ?type : int?, ?size : int?, ?hrir : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • map (of type string?, which defaults to null): set channels convolution mappings
  • gain (of type float?, which defaults to null): set gain in dB. (default: 0.)
  • lfe (of type float?, which defaults to null): set lfe gain in dB. (default: 0.)
  • type (of type int?, which defaults to null): set processing. (default: 1, possible values: 0 (time), 1 (freq))
  • size (of type int?, which defaults to null): set frame size. (default: 1024)
  • hrir (of type int?, which defaults to null): set hrir format. (default: 0, possible values: 0 (stereo), 1 (multich))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.hflip

Ffmpeg filter: Horizontally flip the input video.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hflip.create

Ffmpeg filter: Horizontally flip the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.highpass

Ffmpeg filter: Apply a high-pass filter with 3dB point frequency.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?poles : int?,
 ?p : int?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set width. (default: 0.707)
  • w (of type float?, which defaults to null): set width. (default: 0.707)
  • poles (of type int?, which defaults to null): set number of poles. (default: 2)
  • p (of type int?, which defaults to null): set number of poles. (default: 2)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.highpass.create

Ffmpeg filter: Apply a high-pass filter with 3dB point frequency.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?poles : int?,
 ?p : int?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set width. (default: 0.707)
  • w (of type float?, which defaults to null): set width. (default: 0.707)
  • poles (of type int?, which defaults to null): set number of poles. (default: 2)
  • p (of type int?, which defaults to null): set number of poles. (default: 2)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.highshelf

Ffmpeg filter: Apply a high shelf filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.highshelf.create

Ffmpeg filter: Apply a high shelf filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • f (of type float?, which defaults to null): set central frequency. (default: 3000.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.hilbert

Ffmpeg filter: Generate a Hilbert transform FIR coefficients.

Type:

(?sample_rate : int?, ?r : int?, ?taps : int?, ?t : int?,
 ?nb_samples : int?, ?n : int?, ?win_func : int?,
 ?w : int?, ffmpeg.filter.graph) -> ffmpeg.filter.audio

Arguments:

  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set sample rate. (default: 44100)
  • taps (of type int?, which defaults to null): set number of taps. (default: 22051)
  • t (of type int?, which defaults to null): set number of taps. (default: 22051)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • win_func (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • w (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.hilbert.create

Ffmpeg filter: Generate a Hilbert transform FIR coefficients.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?sample_rate : int?, ?r : int?, ?taps : int?, ?t : int?,
 ?nb_samples : int?, ?n : int?, ?win_func : int?,
 ?w : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • r (of type int?, which defaults to null): set sample rate. (default: 44100)
  • taps (of type int?, which defaults to null): set number of taps. (default: 22051)
  • t (of type int?, which defaults to null): set number of taps. (default: 22051)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • win_func (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • w (of type int?, which defaults to null): set window function. (default: 3, possible values: 0 (rect), 4 (bartlett), 1 (hanning), 2 (hamming), 3 (blackman), 5 (welch), 6 (flattop), 7 (bharris), 8 (bnuttall), 11 (bhann), 9 (sine), 10 (nuttall), 12 (lanczos), 13 (gauss), 14 (tukey), 15 (dolph), 16 (cauchy), 17 (parzen), 18 (poisson), 19 (bohman))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.histeq

Ffmpeg filter: Apply global color histogram equalization.

Type:

(?strength : float?, ?intensity : float?,
 ?antibanding : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • strength (of type float?, which defaults to null): set the strength. (default: 0.2)
  • intensity (of type float?, which defaults to null): set the intensity. (default: 0.21)
  • antibanding (of type int?, which defaults to null): set the antibanding level. (default: 0, possible values: 0 (none), 1 (weak), 2 (strong))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.histeq.create

Ffmpeg filter: Apply global color histogram equalization.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?strength : float?, ?intensity : float?,
 ?antibanding : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • strength (of type float?, which defaults to null): set the strength. (default: 0.2)
  • intensity (of type float?, which defaults to null): set the intensity. (default: 0.21)
  • antibanding (of type int?, which defaults to null): set the antibanding level. (default: 0, possible values: 0 (none), 1 (weak), 2 (strong))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.histogram

Ffmpeg filter: Compute and draw a histogram.

Type:

(?level_height : int?, ?scale_height : int?,
 ?display_mode : int?, ?d : int?, ?levels_mode : int?,
 ?m : int?, ?components : int?, ?c : int?,
 ?fgopacity : float?, ?f : float?, ?bgopacity : float?,
 ?b : float?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • level_height (of type int?, which defaults to null): set level height. (default: 200)
  • scale_height (of type int?, which defaults to null): set scale height. (default: 12)
  • display_mode (of type int?, which defaults to null): set display mode. (default: 2, possible values: 0 (overlay), 1 (parade), 2 (stack))
  • d (of type int?, which defaults to null): set display mode. (default: 2, possible values: 0 (overlay), 1 (parade), 2 (stack))
  • levels_mode (of type int?, which defaults to null): set levels mode. (default: 0, possible values: 0 (linear), 1 (logarithmic))
  • m (of type int?, which defaults to null): set levels mode. (default: 0, possible values: 0 (linear), 1 (logarithmic))
  • components (of type int?, which defaults to null): set color components to display. (default: 7)
  • c (of type int?, which defaults to null): set color components to display. (default: 7)
  • fgopacity (of type float?, which defaults to null): set foreground opacity. (default: 0.7)
  • f (of type float?, which defaults to null): set foreground opacity. (default: 0.7)
  • bgopacity (of type float?, which defaults to null): set background opacity. (default: 0.5)
  • b (of type float?, which defaults to null): set background opacity. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.histogram.create

Ffmpeg filter: Compute and draw a histogram.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?level_height : int?, ?scale_height : int?,
 ?display_mode : int?, ?d : int?, ?levels_mode : int?,
 ?m : int?, ?components : int?, ?c : int?,
 ?fgopacity : float?, ?f : float?, ?bgopacity : float?,
 ?b : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • level_height (of type int?, which defaults to null): set level height. (default: 200)
  • scale_height (of type int?, which defaults to null): set scale height. (default: 12)
  • display_mode (of type int?, which defaults to null): set display mode. (default: 2, possible values: 0 (overlay), 1 (parade), 2 (stack))
  • d (of type int?, which defaults to null): set display mode. (default: 2, possible values: 0 (overlay), 1 (parade), 2 (stack))
  • levels_mode (of type int?, which defaults to null): set levels mode. (default: 0, possible values: 0 (linear), 1 (logarithmic))
  • m (of type int?, which defaults to null): set levels mode. (default: 0, possible values: 0 (linear), 1 (logarithmic))
  • components (of type int?, which defaults to null): set color components to display. (default: 7)
  • c (of type int?, which defaults to null): set color components to display. (default: 7)
  • fgopacity (of type float?, which defaults to null): set foreground opacity. (default: 0.7)
  • f (of type float?, which defaults to null): set foreground opacity. (default: 0.7)
  • bgopacity (of type float?, which defaults to null): set background opacity. (default: 0.5)
  • b (of type float?, which defaults to null): set background opacity. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hqdn3d

Ffmpeg filter: Apply a High Quality 3D Denoiser.

Type:

(?luma_spatial : float?, ?chroma_spatial : float?,
 ?luma_tmp : float?, ?chroma_tmp : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • luma_spatial (of type float?, which defaults to null): spatial luma strength. (default: 0.)
  • chroma_spatial (of type float?, which defaults to null): spatial chroma strength. (default: 0.)
  • luma_tmp (of type float?, which defaults to null): temporal luma strength. (default: 0.)
  • chroma_tmp (of type float?, which defaults to null): temporal chroma strength. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hqdn3d.create

Ffmpeg filter: Apply a High Quality 3D Denoiser.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?luma_spatial : float?, ?chroma_spatial : float?,
 ?luma_tmp : float?, ?chroma_tmp : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • luma_spatial (of type float?, which defaults to null): spatial luma strength. (default: 0.)
  • chroma_spatial (of type float?, which defaults to null): spatial chroma strength. (default: 0.)
  • luma_tmp (of type float?, which defaults to null): temporal luma strength. (default: 0.)
  • chroma_tmp (of type float?, which defaults to null): temporal chroma strength. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hqx

Ffmpeg filter: Scale the input by 2, 3 or 4 using the hq*x magnification algorithm.

Type:

(?n : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • n (of type int?, which defaults to null): set scale factor. (default: 3)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hqx.create

Ffmpeg filter: Scale the input by 2, 3 or 4 using the hq*x magnification algorithm.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?n : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • n (of type int?, which defaults to null): set scale factor. (default: 3)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hstack

Ffmpeg filter: Stack video inputs horizontally. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?inputs : int?, ?shortest : bool?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.hstack.create

Ffmpeg filter: Stack video inputs horizontally. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ?shortest : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.hue

Ffmpeg filter: Adjust the hue and saturation of the input video.

Type:

(?h : string?, ?s : string?, ?H : string?, ?b : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • h (of type string?, which defaults to null): set the hue angle degrees expression
  • s (of type string?, which defaults to null): set the saturation expression. (default: 1)
  • H (of type string?, which defaults to null): set the hue angle radians expression
  • b (of type string?, which defaults to null): set the brightness expression. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hue.create

Ffmpeg filter: Adjust the hue and saturation of the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?h : string?, ?s : string?, ?H : string?, ?b : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • h (of type string?, which defaults to null): set the hue angle degrees expression
  • s (of type string?, which defaults to null): set the saturation expression. (default: 1)
  • H (of type string?, which defaults to null): set the hue angle radians expression
  • b (of type string?, which defaults to null): set the brightness expression. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hwdownload

Ffmpeg filter: Download a hardware frame to a normal frame

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hwdownload.create

Ffmpeg filter: Download a hardware frame to a normal frame. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hwmap

Ffmpeg filter: Map hardware frames

Type:

(?mode : int?, ?derive_device : string?, ?reverse : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): Frame mapping mode. (default: 3, possible values: 1 (read), 2 (write), 4 (overwrite), 8 (direct))
  • derive_device (of type string?, which defaults to null): Derive a new device of this type
  • reverse (of type int?, which defaults to null): Map in reverse (create and allocate in the sink). (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hwmap.create

Ffmpeg filter: Map hardware frames. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?derive_device : string?, ?reverse : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): Frame mapping mode. (default: 3, possible values: 1 (read), 2 (write), 4 (overwrite), 8 (direct))
  • derive_device (of type string?, which defaults to null): Derive a new device of this type
  • reverse (of type int?, which defaults to null): Map in reverse (create and allocate in the sink). (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hwupload

Ffmpeg filter: Upload a normal frame to a hardware frame

Type:

(?derive_device : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • derive_device (of type string?, which defaults to null): Derive a new device of this type
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hwupload.create

Ffmpeg filter: Upload a normal frame to a hardware frame. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?derive_device : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • derive_device (of type string?, which defaults to null): Derive a new device of this type
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.hysteresis

Ffmpeg filter: Grow first stream into second stream by connecting components.

Type:

(?planes : int?, ?threshold : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • threshold (of type int?, which defaults to null): set threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.hysteresis.create

Ffmpeg filter: Grow first stream into second stream by connecting components.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ?threshold : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • threshold (of type int?, which defaults to null): set threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.idet

Ffmpeg filter: Interlace detect Filter.

Type:

(?intl_thres : float?, ?prog_thres : float?,
 ?rep_thres : float?, ?half_life : float?,
 ?analyze_interlaced_flag : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • intl_thres (of type float?, which defaults to null): set interlacing threshold. (default: 1.04)
  • prog_thres (of type float?, which defaults to null): set progressive threshold. (default: 1.5)
  • rep_thres (of type float?, which defaults to null): set repeat threshold. (default: 3.)
  • half_life (of type float?, which defaults to null): half life of cumulative statistics. (default: 0.)
  • analyze_interlaced_flag (of type int?, which defaults to null): set number of frames to use to determine if the interlace flag is accurate. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.idet.create

Ffmpeg filter: Interlace detect Filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?intl_thres : float?, ?prog_thres : float?,
 ?rep_thres : float?, ?half_life : float?,
 ?analyze_interlaced_flag : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • intl_thres (of type float?, which defaults to null): set interlacing threshold. (default: 1.04)
  • prog_thres (of type float?, which defaults to null): set progressive threshold. (default: 1.5)
  • rep_thres (of type float?, which defaults to null): set repeat threshold. (default: 3.)
  • half_life (of type float?, which defaults to null): half life of cumulative statistics. (default: 0.)
  • analyze_interlaced_flag (of type int?, which defaults to null): set number of frames to use to determine if the interlace flag is accurate. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.il

Ffmpeg filter: Deinterleave or interleave fields.

Type:

(?luma_mode : int?, ?l : int?, ?chroma_mode : int?,
 ?c : int?, ?alpha_mode : int?, ?a : int?,
 ?luma_swap : bool?, ?ls : bool?, ?chroma_swap : bool?,
 ?cs : bool?, ?alpha_swap : bool?, ?as : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • luma_mode (of type int?, which defaults to null): select luma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • l (of type int?, which defaults to null): select luma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • chroma_mode (of type int?, which defaults to null): select chroma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • c (of type int?, which defaults to null): select chroma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • alpha_mode (of type int?, which defaults to null): select alpha mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • a (of type int?, which defaults to null): select alpha mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • luma_swap (of type bool?, which defaults to null): swap luma fields. (default: false)
  • ls (of type bool?, which defaults to null): swap luma fields. (default: false)
  • chroma_swap (of type bool?, which defaults to null): swap chroma fields. (default: false)
  • cs (of type bool?, which defaults to null): swap chroma fields. (default: false)
  • alpha_swap (of type bool?, which defaults to null): swap alpha fields. (default: false)
  • as (of type bool?, which defaults to null): swap alpha fields. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.il.create

Ffmpeg filter: Deinterleave or interleave fields.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?luma_mode : int?, ?l : int?, ?chroma_mode : int?,
 ?c : int?, ?alpha_mode : int?, ?a : int?,
 ?luma_swap : bool?, ?ls : bool?, ?chroma_swap : bool?,
 ?cs : bool?, ?alpha_swap : bool?, ?as : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • luma_mode (of type int?, which defaults to null): select luma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • l (of type int?, which defaults to null): select luma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • chroma_mode (of type int?, which defaults to null): select chroma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • c (of type int?, which defaults to null): select chroma mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • alpha_mode (of type int?, which defaults to null): select alpha mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • a (of type int?, which defaults to null): select alpha mode. (default: 0, possible values: 0 (none), 1 (interleave), 1 (i), 2 (deinterleave), 2 (d))
  • luma_swap (of type bool?, which defaults to null): swap luma fields. (default: false)
  • ls (of type bool?, which defaults to null): swap luma fields. (default: false)
  • chroma_swap (of type bool?, which defaults to null): swap chroma fields. (default: false)
  • cs (of type bool?, which defaults to null): swap chroma fields. (default: false)
  • alpha_swap (of type bool?, which defaults to null): swap alpha fields. (default: false)
  • as (of type bool?, which defaults to null): swap alpha fields. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.inflate

Ffmpeg filter: Apply inflate effect.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.inflate.create

Ffmpeg filter: Apply inflate effect.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold0 : int?, ?threshold1 : int?,
 ?threshold2 : int?, ?threshold3 : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • threshold0 (of type int?, which defaults to null): set threshold for 1st plane. (default: 65535)
  • threshold1 (of type int?, which defaults to null): set threshold for 2nd plane. (default: 65535)
  • threshold2 (of type int?, which defaults to null): set threshold for 3rd plane. (default: 65535)
  • threshold3 (of type int?, which defaults to null): set threshold for 4th plane. (default: 65535)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.interlace

Ffmpeg filter: Convert progressive video into interlaced.

Type:

(?scan : int?, ?lowpass : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • scan (of type int?, which defaults to null): scanning mode. (default: 0, possible values: 0 (tff), 1 (bff))
  • lowpass (of type int?, which defaults to null): set vertical low-pass filter. (default: 1, possible values: 0 (off), 1 (linear), 2 (complex))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.interlace.create

Ffmpeg filter: Convert progressive video into interlaced.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?scan : int?, ?lowpass : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • scan (of type int?, which defaults to null): scanning mode. (default: 0, possible values: 0 (tff), 1 (bff))
  • lowpass (of type int?, which defaults to null): set vertical low-pass filter. (default: 1, possible values: 0 (off), 1 (linear), 2 (complex))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.interleave

Ffmpeg filter: Temporally interleave video inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?nb_inputs : int?, ?n : int?, ?duration : int?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.video

Arguments:

  • nb_inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • n (of type int?, which defaults to null): set number of inputs. (default: 2)
  • duration (of type int?, which defaults to null): how to determine the end-of-stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.interleave.create

Ffmpeg filter: Temporally interleave video inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?nb_inputs : int?, ?n : int?, ?duration : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • nb_inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • n (of type int?, which defaults to null): set number of inputs. (default: 2)
  • duration (of type int?, which defaults to null): how to determine the end-of-stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.join

Ffmpeg filter: Join multiple audio streams into multi-channel output. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?inputs : int?, ?channel_layout : string?,
 ?map : string?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.audio

Arguments:

  • inputs (of type int?, which defaults to null): Number of input streams.. (default: 2)
  • channel_layout (of type string?, which defaults to null): Channel layout of the output stream.. (default: stereo)
  • map (of type string?, which defaults to null): A comma-separated list of channels maps in the format ’input_stream.input_channel-output_channel.
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.join.create

Ffmpeg filter: Join multiple audio streams into multi-channel output. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ?channel_layout : string?,
 ?map : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • inputs (of type int?, which defaults to null): Number of input streams.. (default: 2)
  • channel_layout (of type string?, which defaults to null): Channel layout of the output stream.. (default: stereo)
  • map (of type string?, which defaults to null): A comma-separated list of channels maps in the format ’input_stream.input_channel-output_channel.
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.kerndeint

Ffmpeg filter: Apply kernel deinterlacing to the input.

Type:

(?thresh : int?, ?map : bool?, ?order : bool?,
 ?sharp : bool?, ?twoway : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • thresh (of type int?, which defaults to null): set the threshold. (default: 10)
  • map (of type bool?, which defaults to null): set the map. (default: false)
  • order (of type bool?, which defaults to null): set the order. (default: false)
  • sharp (of type bool?, which defaults to null): set sharpening. (default: false)
  • twoway (of type bool?, which defaults to null): set twoway. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.kerndeint.create

Ffmpeg filter: Apply kernel deinterlacing to the input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?thresh : int?, ?map : bool?, ?order : bool?,
 ?sharp : bool?, ?twoway : bool?, ffmpeg.filter.graph) ->
unit

Arguments:

  • thresh (of type int?, which defaults to null): set the threshold. (default: 10)
  • map (of type bool?, which defaults to null): set the map. (default: false)
  • order (of type bool?, which defaults to null): set the order. (default: false)
  • sharp (of type bool?, which defaults to null): set sharpening. (default: false)
  • twoway (of type bool?, which defaults to null): set twoway. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.ladspa

Ffmpeg filter: Apply LADSPA effect. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?file : string?, ?f : string?, ?plugin : string?,
 ?p : string?, ?controls : string?, ?c : string?,
 ?sample_rate : int?, ?s : int?, ?nb_samples : int?,
 ?n : int?, ?duration : int?, ?d : int?,
 ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.audio

Arguments:

  • file (of type string?, which defaults to null): set library name or full path
  • f (of type string?, which defaults to null): set library name or full path
  • plugin (of type string?, which defaults to null): set plugin name
  • p (of type string?, which defaults to null): set plugin name
  • controls (of type string?, which defaults to null): set plugin options
  • c (of type string?, which defaults to null): set plugin options
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • s (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.ladspa.create

Ffmpeg filter: Apply LADSPA effect. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?file : string?, ?f : string?, ?plugin : string?,
 ?p : string?, ?controls : string?, ?c : string?,
 ?sample_rate : int?, ?s : int?, ?nb_samples : int?,
 ?n : int?, ?duration : int?, ?d : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • file (of type string?, which defaults to null): set library name or full path
  • f (of type string?, which defaults to null): set library name or full path
  • plugin (of type string?, which defaults to null): set plugin name
  • p (of type string?, which defaults to null): set plugin name
  • controls (of type string?, which defaults to null): set plugin options
  • c (of type string?, which defaults to null): set plugin options
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • s (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.lagfun

Ffmpeg filter: Slowly update darker pixels.

Type:

(?decay : float?, ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • decay (of type float?, which defaults to null): set decay. (default: 0.95)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lagfun.create

Ffmpeg filter: Slowly update darker pixels.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?decay : float?, ?planes : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • decay (of type float?, which defaults to null): set decay. (default: 0.95)
  • planes (of type int?, which defaults to null): set what planes to filter. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lenscorrection

Ffmpeg filter: Rectify the image by correcting for lens distortion.

Type:

(?cx : float?, ?cy : float?, ?k1 : float?, ?k2 : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • cx (of type float?, which defaults to null): set relative center x. (default: 0.5)
  • cy (of type float?, which defaults to null): set relative center y. (default: 0.5)
  • k1 (of type float?, which defaults to null): set quadratic distortion factor. (default: 0.)
  • k2 (of type float?, which defaults to null): set double quadratic distortion factor. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lenscorrection.create

Ffmpeg filter: Rectify the image by correcting for lens distortion.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?cx : float?, ?cy : float?, ?k1 : float?, ?k2 : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • cx (of type float?, which defaults to null): set relative center x. (default: 0.5)
  • cy (of type float?, which defaults to null): set relative center y. (default: 0.5)
  • k1 (of type float?, which defaults to null): set quadratic distortion factor. (default: 0.)
  • k2 (of type float?, which defaults to null): set double quadratic distortion factor. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.life

Ffmpeg filter: Create life.

Type:

(?filename : string?, ?f : string?, ?size : string?,
 ?s : string?, ?rate : string?, ?r : string?,
 ?rule : string?, ?random_fill_ratio : float?,
 ?ratio : float?, ?random_seed : int?, ?seed : int?,
 ?stitch : bool?, ?mold : int?, ?life_color : string?,
 ?death_color : string?, ?mold_color : string?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • filename (of type string?, which defaults to null): set source file
  • f (of type string?, which defaults to null): set source file
  • size (of type string?, which defaults to null): set video size
  • s (of type string?, which defaults to null): set video size
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • rule (of type string?, which defaults to null): set rule. (default: B3/S23)
  • random_fill_ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • random_seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • stitch (of type bool?, which defaults to null): stitch boundaries. (default: true)
  • mold (of type int?, which defaults to null): set mold speed for dead cells. (default: 0)
  • life_color (of type string?, which defaults to null): set life color. (default: white)
  • death_color (of type string?, which defaults to null): set death color. (default: black)
  • mold_color (of type string?, which defaults to null): set mold color. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.life.create

Ffmpeg filter: Create life.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filename : string?, ?f : string?, ?size : string?,
 ?s : string?, ?rate : string?, ?r : string?,
 ?rule : string?, ?random_fill_ratio : float?,
 ?ratio : float?, ?random_seed : int?, ?seed : int?,
 ?stitch : bool?, ?mold : int?, ?life_color : string?,
 ?death_color : string?, ?mold_color : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • filename (of type string?, which defaults to null): set source file
  • f (of type string?, which defaults to null): set source file
  • size (of type string?, which defaults to null): set video size
  • s (of type string?, which defaults to null): set video size
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • rule (of type string?, which defaults to null): set rule. (default: B3/S23)
  • random_fill_ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • ratio (of type float?, which defaults to null): set fill ratio for filling initial grid randomly. (default: 0.61803398875)
  • random_seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • seed (of type int?, which defaults to null): set the seed for filling the initial grid randomly. (default: -1)
  • stitch (of type bool?, which defaults to null): stitch boundaries. (default: true)
  • mold (of type int?, which defaults to null): set mold speed for dead cells. (default: 0)
  • life_color (of type string?, which defaults to null): set life color. (default: white)
  • death_color (of type string?, which defaults to null): set death color. (default: black)
  • mold_color (of type string?, which defaults to null): set mold color. (default: black)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.limiter

Ffmpeg filter: Limit pixels components to the specified range.

Type:

(?min : int?, ?max : int?, ?planes : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • min (of type int?, which defaults to null): set min value. (default: 0)
  • max (of type int?, which defaults to null): set max value. (default: 65535)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.limiter.create

Ffmpeg filter: Limit pixels components to the specified range.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?min : int?, ?max : int?, ?planes : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • min (of type int?, which defaults to null): set min value. (default: 0)
  • max (of type int?, which defaults to null): set max value. (default: 65535)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.loop

Ffmpeg filter: Loop video frames.

Type:

(?loop : int?, ?size : int?, ?start : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • loop (of type int?, which defaults to null): number of loops. (default: 0)
  • size (of type int?, which defaults to null): max number of frames to loop. (default: 0)
  • start (of type int?, which defaults to null): set the loop start frame. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.loop.create

Ffmpeg filter: Loop video frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?loop : int?, ?size : int?, ?start : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • loop (of type int?, which defaults to null): number of loops. (default: 0)
  • size (of type int?, which defaults to null): max number of frames to loop. (default: 0)
  • start (of type int?, which defaults to null): set the loop start frame. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.loudnorm

Ffmpeg filter: EBU R128 loudness normalization

Type:

(?I : float?, ?i : float?, ?LRA : float?, ?lra : float?,
 ?TP : float?, ?tp : float?, ?measured_I : float?,
 ?measured_i : float?, ?measured_LRA : float?,
 ?measured_lra : float?, ?measured_TP : float?,
 ?measured_tp : float?, ?measured_thresh : float?,
 ?offset : float?, ?linear : bool?, ?dual_mono : bool?,
 ?print_format : int?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • I (of type float?, which defaults to null): set integrated loudness target. (default: -24.)
  • i (of type float?, which defaults to null): set integrated loudness target. (default: -24.)
  • LRA (of type float?, which defaults to null): set loudness range target. (default: 7.)
  • lra (of type float?, which defaults to null): set loudness range target. (default: 7.)
  • TP (of type float?, which defaults to null): set maximum true peak. (default: -2.)
  • tp (of type float?, which defaults to null): set maximum true peak. (default: -2.)
  • measured_I (of type float?, which defaults to null): measured IL of input file. (default: 0.)
  • measured_i (of type float?, which defaults to null): measured IL of input file. (default: 0.)
  • measured_LRA (of type float?, which defaults to null): measured LRA of input file. (default: 0.)
  • measured_lra (of type float?, which defaults to null): measured LRA of input file. (default: 0.)
  • measured_TP (of type float?, which defaults to null): measured true peak of input file. (default: 99.)
  • measured_tp (of type float?, which defaults to null): measured true peak of input file. (default: 99.)
  • measured_thresh (of type float?, which defaults to null): measured threshold of input file. (default: -70.)
  • offset (of type float?, which defaults to null): set offset gain. (default: 0.)
  • linear (of type bool?, which defaults to null): normalize linearly if possible. (default: true)
  • dual_mono (of type bool?, which defaults to null): treat mono input as dual-mono. (default: false)
  • print_format (of type int?, which defaults to null): set print format for stats. (default: 0, possible values: 0 (none), 1 (json), 2 (summary))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.loudnorm.create

Ffmpeg filter: EBU R128 loudness normalization. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?I : float?, ?i : float?, ?LRA : float?, ?lra : float?,
 ?TP : float?, ?tp : float?, ?measured_I : float?,
 ?measured_i : float?, ?measured_LRA : float?,
 ?measured_lra : float?, ?measured_TP : float?,
 ?measured_tp : float?, ?measured_thresh : float?,
 ?offset : float?, ?linear : bool?, ?dual_mono : bool?,
 ?print_format : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • I (of type float?, which defaults to null): set integrated loudness target. (default: -24.)
  • i (of type float?, which defaults to null): set integrated loudness target. (default: -24.)
  • LRA (of type float?, which defaults to null): set loudness range target. (default: 7.)
  • lra (of type float?, which defaults to null): set loudness range target. (default: 7.)
  • TP (of type float?, which defaults to null): set maximum true peak. (default: -2.)
  • tp (of type float?, which defaults to null): set maximum true peak. (default: -2.)
  • measured_I (of type float?, which defaults to null): measured IL of input file. (default: 0.)
  • measured_i (of type float?, which defaults to null): measured IL of input file. (default: 0.)
  • measured_LRA (of type float?, which defaults to null): measured LRA of input file. (default: 0.)
  • measured_lra (of type float?, which defaults to null): measured LRA of input file. (default: 0.)
  • measured_TP (of type float?, which defaults to null): measured true peak of input file. (default: 99.)
  • measured_tp (of type float?, which defaults to null): measured true peak of input file. (default: 99.)
  • measured_thresh (of type float?, which defaults to null): measured threshold of input file. (default: -70.)
  • offset (of type float?, which defaults to null): set offset gain. (default: 0.)
  • linear (of type bool?, which defaults to null): normalize linearly if possible. (default: true)
  • dual_mono (of type bool?, which defaults to null): treat mono input as dual-mono. (default: false)
  • print_format (of type int?, which defaults to null): set print format for stats. (default: 0, possible values: 0 (none), 1 (json), 2 (summary))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.lowpass

Ffmpeg filter: Apply a low-pass filter with 3dB point frequency.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?poles : int?,
 ?p : int?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set frequency. (default: 500.)
  • f (of type float?, which defaults to null): set frequency. (default: 500.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set width. (default: 0.707)
  • w (of type float?, which defaults to null): set width. (default: 0.707)
  • poles (of type int?, which defaults to null): set number of poles. (default: 2)
  • p (of type int?, which defaults to null): set number of poles. (default: 2)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.lowpass.create

Ffmpeg filter: Apply a low-pass filter with 3dB point frequency.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?poles : int?,
 ?p : int?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set frequency. (default: 500.)
  • f (of type float?, which defaults to null): set frequency. (default: 500.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set width. (default: 0.707)
  • w (of type float?, which defaults to null): set width. (default: 0.707)
  • poles (of type int?, which defaults to null): set number of poles. (default: 2)
  • p (of type int?, which defaults to null): set number of poles. (default: 2)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.lowshelf

Ffmpeg filter: Apply a low shelf filter.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph, ffmpeg.filter.audio) ->
ffmpeg.filter.audio

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 100.)
  • f (of type float?, which defaults to null): set central frequency. (default: 100.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.lowshelf.create

Ffmpeg filter: Apply a low shelf filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?frequency : float?, ?f : float?, ?width_type : int?,
 ?t : int?, ?width : float?, ?w : float?, ?gain : float?,
 ?g : float?, ?mix : float?, ?m : float?,
 ?channels : string?, ?c : string?, ?normalize : bool?,
 ?n : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • frequency (of type float?, which defaults to null): set central frequency. (default: 100.)
  • f (of type float?, which defaults to null): set central frequency. (default: 100.)
  • width_type (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • t (of type int?, which defaults to null): set filter-width type. (default: 3, possible values: 1 (h), 3 (q), 2 (o), 4 (s), 5 (k))
  • width (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • w (of type float?, which defaults to null): set shelf transition steep. (default: 0.5)
  • gain (of type float?, which defaults to null): set gain. (default: 0.)
  • g (of type float?, which defaults to null): set gain. (default: 0.)
  • mix (of type float?, which defaults to null): set mix. (default: 1.)
  • m (of type float?, which defaults to null): set mix. (default: 1.)
  • channels (of type string?, which defaults to null): set channels to filter
  • c (of type string?, which defaults to null): set channels to filter
  • normalize (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • n (of type bool?, which defaults to null): normalize coefficients. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.lumakey

Ffmpeg filter: Turns a certain luma into transparency.

Type:

(?threshold : float?, ?tolerance : float?,
 ?softness : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • threshold (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • tolerance (of type float?, which defaults to null): set the tolerance value. (default: 0.01)
  • softness (of type float?, which defaults to null): set the softness value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lumakey.create

Ffmpeg filter: Turns a certain luma into transparency.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold : float?, ?tolerance : float?,
 ?softness : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • threshold (of type float?, which defaults to null): set the threshold value. (default: 0.)
  • tolerance (of type float?, which defaults to null): set the tolerance value. (default: 0.01)
  • softness (of type float?, which defaults to null): set the softness value. (default: 0.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lut

Ffmpeg filter: Compute and apply a lookup table to the RGB/YUV input video.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lut.create

Ffmpeg filter: Compute and apply a lookup table to the RGB/YUV input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lut1d

Ffmpeg filter: Adjust colors using a 1D LUT.

Type:

(?file : string?, ?interp : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • file (of type string?, which defaults to null): set 1D LUT file name
  • interp (of type int?, which defaults to null): select interpolation mode. (default: 1, possible values: 0 (nearest), 1 (linear), 3 (cosine), 2 (cubic), 4 (spline))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lut1d.create

Ffmpeg filter: Adjust colors using a 1D LUT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?file : string?, ?interp : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • file (of type string?, which defaults to null): set 1D LUT file name
  • interp (of type int?, which defaults to null): select interpolation mode. (default: 1, possible values: 0 (nearest), 1 (linear), 3 (cosine), 2 (cubic), 4 (spline))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lut2

Ffmpeg filter: Compute and apply a lookup table from two video inputs.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?d : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: x)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: x)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: x)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: x)
  • d (of type int?, which defaults to null): set output depth. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lut2.create

Ffmpeg filter: Compute and apply a lookup table from two video inputs.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?d : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: x)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: x)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: x)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: x)
  • d (of type int?, which defaults to null): set output depth. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lut3d

Ffmpeg filter: Adjust colors using a 3D LUT.

Type:

(?file : string?, ?interp : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • file (of type string?, which defaults to null): set 3D LUT file name
  • interp (of type int?, which defaults to null): select interpolation mode. (default: 2, possible values: 0 (nearest), 1 (trilinear), 2 (tetrahedral))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lut3d.create

Ffmpeg filter: Adjust colors using a 3D LUT.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?file : string?, ?interp : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • file (of type string?, which defaults to null): set 3D LUT file name
  • interp (of type int?, which defaults to null): select interpolation mode. (default: 2, possible values: 0 (nearest), 1 (trilinear), 2 (tetrahedral))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lutrgb

Ffmpeg filter: Compute and apply a lookup table to the RGB input video.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lutrgb.create

Ffmpeg filter: Compute and apply a lookup table to the RGB input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lutyuv

Ffmpeg filter: Compute and apply a lookup table to the YUV input video.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.lutyuv.create

Ffmpeg filter: Compute and apply a lookup table to the YUV input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?c0 : string?, ?c1 : string?, ?c2 : string?,
 ?c3 : string?, ?y : string?, ?u : string?, ?v : string?,
 ?r : string?, ?g : string?, ?b : string?, ?a : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • c0 (of type string?, which defaults to null): set component #0 expression. (default: clipval)
  • c1 (of type string?, which defaults to null): set component #1 expression. (default: clipval)
  • c2 (of type string?, which defaults to null): set component #2 expression. (default: clipval)
  • c3 (of type string?, which defaults to null): set component #3 expression. (default: clipval)
  • y (of type string?, which defaults to null): set Y expression. (default: clipval)
  • u (of type string?, which defaults to null): set U expression. (default: clipval)
  • v (of type string?, which defaults to null): set V expression. (default: clipval)
  • r (of type string?, which defaults to null): set R expression. (default: clipval)
  • g (of type string?, which defaults to null): set G expression. (default: clipval)
  • b (of type string?, which defaults to null): set B expression. (default: clipval)
  • a (of type string?, which defaults to null): set A expression. (default: clipval)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.lv2

Ffmpeg filter: Apply LV2 effect. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?plugin : string?, ?p : string?, ?controls : string?,
 ?c : string?, ?sample_rate : int?, ?s : int?,
 ?nb_samples : int?, ?n : int?, ?duration : int?,
 ?d : int?, ffmpeg.filter.graph, [ffmpeg.filter.audio],
 [ffmpeg.filter.video]) -> ffmpeg.filter.audio

Arguments:

  • plugin (of type string?, which defaults to null): set plugin uri
  • p (of type string?, which defaults to null): set plugin uri
  • controls (of type string?, which defaults to null): set plugin options
  • c (of type string?, which defaults to null): set plugin options
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • s (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.lv2.create

Ffmpeg filter: Apply LV2 effect. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?plugin : string?, ?p : string?, ?controls : string?,
 ?c : string?, ?sample_rate : int?, ?s : int?,
 ?nb_samples : int?, ?n : int?, ?duration : int?,
 ?d : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • plugin (of type string?, which defaults to null): set plugin uri
  • p (of type string?, which defaults to null): set plugin uri
  • controls (of type string?, which defaults to null): set plugin options
  • c (of type string?, which defaults to null): set plugin options
  • sample_rate (of type int?, which defaults to null): set sample rate. (default: 44100)
  • s (of type int?, which defaults to null): set sample rate. (default: 44100)
  • nb_samples (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • n (of type int?, which defaults to null): set the number of samples per requested frame. (default: 1024)
  • duration (of type int?, which defaults to null): set audio duration. (default: -1)
  • d (of type int?, which defaults to null): set audio duration. (default: -1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.mandelbrot

Ffmpeg filter: Render a Mandelbrot fractal.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?maxiter : int?, ?start_x : float?,
 ?start_y : float?, ?start_scale : float?,
 ?end_scale : float?, ?end_pts : float?,
 ?bailout : float?, ?morphxf : float?, ?morphyf : float?,
 ?morphamp : float?, ?outer : int?, ?inner : int?,
 ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set frame size. (default: 640x480)
  • s (of type string?, which defaults to null): set frame size. (default: 640x480)
  • rate (of type string?, which defaults to null): set frame rate. (default: 25)
  • r (of type string?, which defaults to null): set frame rate. (default: 25)
  • maxiter (of type int?, which defaults to null): set max iterations number. (default: 7189)
  • start_x (of type float?, which defaults to null): set the initial x position. (default: -0.743643887037)
  • start_y (of type float?, which defaults to null): set the initial y position. (default: -0.131825904205)
  • start_scale (of type float?, which defaults to null): set the initial scale value. (default: 3.)
  • end_scale (of type float?, which defaults to null): set the terminal scale value. (default: 0.3)
  • end_pts (of type float?, which defaults to null): set the terminal pts value. (default: 400.)
  • bailout (of type float?, which defaults to null): set the bailout value. (default: 10.)
  • morphxf (of type float?, which defaults to null): set morph x frequency. (default: 0.01)
  • morphyf (of type float?, which defaults to null): set morph y frequency. (default: 0.0123)
  • morphamp (of type float?, which defaults to null): set morph amplitude. (default: 0.)
  • outer (of type int?, which defaults to null): set outer coloring mode. (default: 1, possible values: 0 (iteration_count), 1 (normalized_iteration_count), 2 (white), 3 (outz))
  • inner (of type int?, which defaults to null): set inner coloring mode. (default: 3, possible values: 0 (black), 1 (period), 2 (convergence), 3 (mincol))
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.mandelbrot.create

Ffmpeg filter: Render a Mandelbrot fractal.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?maxiter : int?, ?start_x : float?,
 ?start_y : float?, ?start_scale : float?,
 ?end_scale : float?, ?end_pts : float?,
 ?bailout : float?, ?morphxf : float?, ?morphyf : float?,
 ?morphamp : float?, ?outer : int?, ?inner : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set frame size. (default: 640x480)
  • s (of type string?, which defaults to null): set frame size. (default: 640x480)
  • rate (of type string?, which defaults to null): set frame rate. (default: 25)
  • r (of type string?, which defaults to null): set frame rate. (default: 25)
  • maxiter (of type int?, which defaults to null): set max iterations number. (default: 7189)
  • start_x (of type float?, which defaults to null): set the initial x position. (default: -0.743643887037)
  • start_y (of type float?, which defaults to null): set the initial y position. (default: -0.131825904205)
  • start_scale (of type float?, which defaults to null): set the initial scale value. (default: 3.)
  • end_scale (of type float?, which defaults to null): set the terminal scale value. (default: 0.3)
  • end_pts (of type float?, which defaults to null): set the terminal pts value. (default: 400.)
  • bailout (of type float?, which defaults to null): set the bailout value. (default: 10.)
  • morphxf (of type float?, which defaults to null): set morph x frequency. (default: 0.01)
  • morphyf (of type float?, which defaults to null): set morph y frequency. (default: 0.0123)
  • morphamp (of type float?, which defaults to null): set morph amplitude. (default: 0.)
  • outer (of type int?, which defaults to null): set outer coloring mode. (default: 1, possible values: 0 (iteration_count), 1 (normalized_iteration_count), 2 (white), 3 (outz))
  • inner (of type int?, which defaults to null): set inner coloring mode. (default: 3, possible values: 0 (black), 1 (period), 2 (convergence), 3 (mincol))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.maskedclamp

Ffmpeg filter: Clamp first stream with second stream and third stream.

Type:

(?undershoot : int?, ?overshoot : int?, ?planes : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • undershoot (of type int?, which defaults to null): set undershoot. (default: 0)
  • overshoot (of type int?, which defaults to null): set overshoot. (default: 0)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskedclamp.create

Ffmpeg filter: Clamp first stream with second stream and third stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?undershoot : int?, ?overshoot : int?, ?planes : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • undershoot (of type int?, which defaults to null): set undershoot. (default: 0)
  • overshoot (of type int?, which defaults to null): set overshoot. (default: 0)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.maskedmax

Ffmpeg filter: Apply filtering with maximum difference of two streams.

Type:

(?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskedmax.create

Ffmpeg filter: Apply filtering with maximum difference of two streams.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.maskedmerge

Ffmpeg filter: Merge first stream with second stream using third stream as mask.

Type:

(?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskedmerge.create

Ffmpeg filter: Merge first stream with second stream using third stream as mask.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.maskedmin

Ffmpeg filter: Apply filtering with minimum difference of two streams.

Type:

(?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskedmin.create

Ffmpeg filter: Apply filtering with minimum difference of two streams.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.maskedthreshold

Ffmpeg filter: Pick pixels comparing absolute difference of two streams with threshold.

Type:

(?threshold : int?, ?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • threshold (of type int?, which defaults to null): set threshold. (default: 1)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskedthreshold.create

Ffmpeg filter: Pick pixels comparing absolute difference of two streams with threshold.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?threshold : int?, ?planes : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • threshold (of type int?, which defaults to null): set threshold. (default: 1)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.maskfun

Ffmpeg filter: Create Mask.

Type:

(?low : int?, ?high : int?, ?planes : int?, ?fill : int?,
 ?sum : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • low (of type int?, which defaults to null): set low threshold. (default: 10)
  • high (of type int?, which defaults to null): set high threshold. (default: 10)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • fill (of type int?, which defaults to null): set fill value. (default: 0)
  • sum (of type int?, which defaults to null): set sum value. (default: 10)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.maskfun.create

Ffmpeg filter: Create Mask.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?low : int?, ?high : int?, ?planes : int?, ?fill : int?,
 ?sum : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • low (of type int?, which defaults to null): set low threshold. (default: 10)
  • high (of type int?, which defaults to null): set high threshold. (default: 10)
  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • fill (of type int?, which defaults to null): set fill value. (default: 0)
  • sum (of type int?, which defaults to null): set sum value. (default: 10)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.mcdeint

Ffmpeg filter: Apply motion compensating deinterlacing.

Type:

(?mode : int?, ?parity : int?, ?qp : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (fast), 1 (medium), 2 (slow), 3 (extra_slow))
  • parity (of type int?, which defaults to null): set the assumed picture field parity. (default: 1, possible values: 0 (tff), 1 (bff))
  • qp (of type int?, which defaults to null): set qp. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.mcdeint.create

Ffmpeg filter: Apply motion compensating deinterlacing.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?parity : int?, ?qp : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set mode. (default: 0, possible values: 0 (fast), 1 (medium), 2 (slow), 3 (extra_slow))
  • parity (of type int?, which defaults to null): set the assumed picture field parity. (default: 1, possible values: 0 (tff), 1 (bff))
  • qp (of type int?, which defaults to null): set qp. (default: 1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.mcompand

Ffmpeg filter: Multiband Compress or expand audio dynamic range.

Type:

(?args : string?, ffmpeg.filter.graph,
 ffmpeg.filter.audio) -> ffmpeg.filter.audio

Arguments:

  • args (of type string?, which defaults to null): set parameters for each band. (default: 0.005,0.1 6 -47/-40,-34/-34,-17/-33 100 | 0.003,0.05 6 -47/-40,-34/-34,-17/-33 400 | 0.000625,0.0125 6 -47/-40,-34/-34,-15/-33 1600 | 0.0001,0.025 6 -47/-40,-34/-34,-31/-31,-0/-30 6400 | 0,0.025 6 -38/-31,-28/-28,-0/-25 22000)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.audio)

ffmpeg.filter.mcompand.create

Ffmpeg filter: Multiband Compress or expand audio dynamic range.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?args : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • args (of type string?, which defaults to null): set parameters for each band. (default: 0.005,0.1 6 -47/-40,-34/-34,-17/-33 100 | 0.003,0.05 6 -47/-40,-34/-34,-17/-33 400 | 0.000625,0.0125 6 -47/-40,-34/-34,-15/-33 1600 | 0.0001,0.025 6 -47/-40,-34/-34,-31/-31,-0/-30 6400 | 0,0.025 6 -38/-31,-28/-28,-0/-25 22000)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.audio): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.audio) -> unit): Set the filter’s input(s)

ffmpeg.filter.median

Ffmpeg filter: Apply Median filter.

Type:

(?radius : int?, ?planes : int?, ?radiusV : int?,
 ?percentile : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • radius (of type int?, which defaults to null): set median radius. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • radiusV (of type int?, which defaults to null): set median vertical radius. (default: 0)
  • percentile (of type float?, which defaults to null): set median percentile. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.median.create

Ffmpeg filter: Apply Median filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?radius : int?, ?planes : int?, ?radiusV : int?,
 ?percentile : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • radius (of type int?, which defaults to null): set median radius. (default: 1)
  • planes (of type int?, which defaults to null): set planes to filter. (default: 15)
  • radiusV (of type int?, which defaults to null): set median vertical radius. (default: 0)
  • percentile (of type float?, which defaults to null): set median percentile. (default: 0.5)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.mergeplanes

Ffmpeg filter: Merge planes. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?mapping : int?, ?format : string?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • mapping (of type int?, which defaults to null): set input to output plane mapping. (default: 0)
  • format (of type string?, which defaults to null): set output pixel format. (default: yuva444p)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.mergeplanes.create

Ffmpeg filter: Merge planes. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mapping : int?, ?format : string?, ffmpeg.filter.graph) ->
unit

Arguments:

  • mapping (of type int?, which defaults to null): set input to output plane mapping. (default: 0)
  • format (of type string?, which defaults to null): set output pixel format. (default: yuva444p)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.mestimate

Ffmpeg filter: Generate motion vectors.

Type:

(?method : int?, ?mb_size : int?, ?search_param : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • method (of type int?, which defaults to null): motion estimation method. (default: 1, possible values: 1 (esa), 2 (tss), 3 (tdls), 4 (ntss), 5 (fss), 6 (ds), 7 (hexbs), 8 (epzs), 9 (umh))
  • mb_size (of type int?, which defaults to null): macroblock size. (default: 16)
  • search_param (of type int?, which defaults to null): search parameter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.mestimate.create

Ffmpeg filter: Generate motion vectors.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?method : int?, ?mb_size : int?, ?search_param : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • method (of type int?, which defaults to null): motion estimation method. (default: 1, possible values: 1 (esa), 2 (tss), 3 (tdls), 4 (ntss), 5 (fss), 6 (ds), 7 (hexbs), 8 (epzs), 9 (umh))
  • mb_size (of type int?, which defaults to null): macroblock size. (default: 16)
  • search_param (of type int?, which defaults to null): search parameter. (default: 7)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.metadata

Ffmpeg filter: Manipulate video frame metadata.

Type:

(?mode : int?, ?key : string?, ?value : string?,
 ?function : int?, ?expr : string?, ?file : string?,
 ?direct : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (add), 2 (modify), 3 (delete), 4 (print))
  • key (of type string?, which defaults to null): set metadata key
  • value (of type string?, which defaults to null): set metadata value
  • function (of type int?, which defaults to null): function for comparing values. (default: 0, possible values: 0 (same_str), 1 (starts_with), 2 (less), 3 (equal), 4 (greater), 5 (expr), 6 (ends_with))
  • expr (of type string?, which defaults to null): set expression for expr function
  • file (of type string?, which defaults to null): set file where to print metadata information
  • direct (of type bool?, which defaults to null): reduce buffering when printing to user-set file or pipe. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.metadata.create

Ffmpeg filter: Manipulate video frame metadata.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?mode : int?, ?key : string?, ?value : string?,
 ?function : int?, ?expr : string?, ?file : string?,
 ?direct : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • mode (of type int?, which defaults to null): set a mode of operation. (default: 0, possible values: 0 (select), 1 (add), 2 (modify), 3 (delete), 4 (print))
  • key (of type string?, which defaults to null): set metadata key
  • value (of type string?, which defaults to null): set metadata value
  • function (of type int?, which defaults to null): function for comparing values. (default: 0, possible values: 0 (same_str), 1 (starts_with), 2 (less), 3 (equal), 4 (greater), 5 (expr), 6 (ends_with))
  • expr (of type string?, which defaults to null): set expression for expr function
  • file (of type string?, which defaults to null): set file where to print metadata information
  • direct (of type bool?, which defaults to null): reduce buffering when printing to user-set file or pipe. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.midequalizer

Ffmpeg filter: Apply Midway Equalization.

Type:

(?planes : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.midequalizer.create

Ffmpeg filter: Apply Midway Equalization.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?planes : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • planes (of type int?, which defaults to null): set planes. (default: 15)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.minterpolate

Ffmpeg filter: Frame rate conversion using Motion Interpolation.

Type:

(?fps : string?, ?mi_mode : int?, ?mc_mode : int?,
 ?me_mode : int?, ?me : int?, ?mb_size : int?,
 ?search_param : int?, ?vsbmc : int?, ?scd : int?,
 ?scd_threshold : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • fps (of type string?, which defaults to null): output’s frame rate. (default: 60)
  • mi_mode (of type int?, which defaults to null): motion interpolation mode. (default: 2, possible values: 0 (dup), 1 (blend), 2 (mci))
  • mc_mode (of type int?, which defaults to null): motion compensation mode. (default: 0, possible values: 0 (obmc), 1 (aobmc))
  • me_mode (of type int?, which defaults to null): motion estimation mode. (default: 1, possible values: 0 (bidir), 1 (bilat))
  • me (of type int?, which defaults to null): motion estimation method. (default: 8, possible values: 1 (esa), 2 (tss), 3 (tdls), 4 (ntss), 5 (fss), 6 (ds), 7 (hexbs), 8 (epzs), 9 (umh))
  • mb_size (of type int?, which defaults to null): macroblock size. (default: 16)
  • search_param (of type int?, which defaults to null): search parameter. (default: 32)
  • vsbmc (of type int?, which defaults to null): variable-size block motion compensation. (default: 0)
  • scd (of type int?, which defaults to null): scene change detection method. (default: 1, possible values: 0 (none), 1 (fdiff))
  • scd_threshold (of type float?, which defaults to null): scene change threshold. (default: 10.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.minterpolate.create

Ffmpeg filter: Frame rate conversion using Motion Interpolation.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?fps : string?, ?mi_mode : int?, ?mc_mode : int?,
 ?me_mode : int?, ?me : int?, ?mb_size : int?,
 ?search_param : int?, ?vsbmc : int?, ?scd : int?,
 ?scd_threshold : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • fps (of type string?, which defaults to null): output’s frame rate. (default: 60)
  • mi_mode (of type int?, which defaults to null): motion interpolation mode. (default: 2, possible values: 0 (dup), 1 (blend), 2 (mci))
  • mc_mode (of type int?, which defaults to null): motion compensation mode. (default: 0, possible values: 0 (obmc), 1 (aobmc))
  • me_mode (of type int?, which defaults to null): motion estimation mode. (default: 1, possible values: 0 (bidir), 1 (bilat))
  • me (of type int?, which defaults to null): motion estimation method. (default: 8, possible values: 1 (esa), 2 (tss), 3 (tdls), 4 (ntss), 5 (fss), 6 (ds), 7 (hexbs), 8 (epzs), 9 (umh))
  • mb_size (of type int?, which defaults to null): macroblock size. (default: 16)
  • search_param (of type int?, which defaults to null): search parameter. (default: 32)
  • vsbmc (of type int?, which defaults to null): variable-size block motion compensation. (default: 0)
  • scd (of type int?, which defaults to null): scene change detection method. (default: 1, possible values: 0 (none), 1 (fdiff))
  • scd_threshold (of type float?, which defaults to null): scene change threshold. (default: 10.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.mix

Ffmpeg filter: Mix video inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.

Type:

(?inputs : int?, ?weights : string?, ?scale : float?,
 ?duration : int?, ffmpeg.filter.graph,
 [ffmpeg.filter.audio], [ffmpeg.filter.video]) ->
ffmpeg.filter.video

Arguments:

  • inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • weights (of type string?, which defaults to null): set weight for each input. (default: 1 1)
  • scale (of type float?, which defaults to null): set scale. (default: 0.)
  • duration (of type int?, which defaults to null): how to determine end of stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type [ffmpeg.filter.audio])
  • (unlabeled) (of type [ffmpeg.filter.video])

ffmpeg.filter.mix.create

Ffmpeg filter: Mix video inputs. This filter has dynamic inputs: last two arguments are lists of audio and video inputs. Total number of inputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?inputs : int?, ?weights : string?, ?scale : float?,
 ?duration : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • inputs (of type int?, which defaults to null): set number of inputs. (default: 2)
  • weights (of type string?, which defaults to null): set weight for each input. (default: 1 1)
  • scale (of type float?, which defaults to null): set scale. (default: 0.)
  • duration (of type int?, which defaults to null): how to determine end of stream. (default: 0, possible values: 0 (longest), 1 (shortest), 2 (first))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type ([ffmpeg.filter.audio], [ffmpeg.filter.video]) -> unit): Set the filter’s input(s)

ffmpeg.filter.movie

Ffmpeg filter: Read from a movie source. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.

Type:

(?filename : string?, ?format_name : string?,
 ?f : string?, ?stream_index : int?, ?si : int?,
 ?seek_point : float?, ?sp : float?, ?streams : string?,
 ?s : string?, ?loop : int?, ?discontinuity : int?,
 ffmpeg.filter.graph) ->
[ffmpeg.filter.audio] * [ffmpeg.filter.video]

Arguments:

  • filename (of type string?, which defaults to null)
  • format_name (of type string?, which defaults to null): set format name
  • f (of type string?, which defaults to null): set format name
  • stream_index (of type int?, which defaults to null): set stream index. (default: -1)
  • si (of type int?, which defaults to null): set stream index. (default: -1)
  • seek_point (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • sp (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • streams (of type string?, which defaults to null): set streams
  • s (of type string?, which defaults to null): set streams
  • loop (of type int?, which defaults to null): set loop count. (default: 1)
  • discontinuity (of type int?, which defaults to null): set discontinuity threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.movie.create

Ffmpeg filter: Read from a movie source. This filter has dynamic outputs: returned value is a tuple of audio and video outputs. Total number of outputs is determined at runtime.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?filename : string?, ?format_name : string?,
 ?f : string?, ?stream_index : int?, ?si : int?,
 ?seek_point : float?, ?sp : float?, ?streams : string?,
 ?s : string?, ?loop : int?, ?discontinuity : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • filename (of type string?, which defaults to null)
  • format_name (of type string?, which defaults to null): set format name
  • f (of type string?, which defaults to null): set format name
  • stream_index (of type int?, which defaults to null): set stream index. (default: -1)
  • si (of type int?, which defaults to null): set stream index. (default: -1)
  • seek_point (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • sp (of type float?, which defaults to null): set seekpoint (seconds). (default: 0.)
  • streams (of type string?, which defaults to null): set streams
  • s (of type string?, which defaults to null): set streams
  • loop (of type int?, which defaults to null): set loop count. (default: 1)
  • discontinuity (of type int?, which defaults to null): set discontinuity threshold. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type [ffmpeg.filter.audio] * [ffmpeg.filter.video]): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.mpdecimate

Ffmpeg filter: Remove near-duplicate frames.

Type:

(?max : int?, ?hi : int?, ?lo : int?, ?frac : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • max (of type int?, which defaults to null): set the maximum number of consecutive dropped frames (positive), or the minimum interval between dropped frames (negative). (default: 0)
  • hi (of type int?, which defaults to null): set high dropping threshold. (default: 768)
  • lo (of type int?, which defaults to null): set low dropping threshold. (default: 320)
  • frac (of type float?, which defaults to null): set fraction dropping threshold. (default: 0.33)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.mpdecimate.create

Ffmpeg filter: Remove near-duplicate frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?max : int?, ?hi : int?, ?lo : int?, ?frac : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • max (of type int?, which defaults to null): set the maximum number of consecutive dropped frames (positive), or the minimum interval between dropped frames (negative). (default: 0)
  • hi (of type int?, which defaults to null): set high dropping threshold. (default: 768)
  • lo (of type int?, which defaults to null): set low dropping threshold. (default: 320)
  • frac (of type float?, which defaults to null): set fraction dropping threshold. (default: 0.33)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.mptestsrc

Ffmpeg filter: Generate various test pattern.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?test : int?, ?t : int?, ?max_frames : int?,
 ?m : int?, ffmpeg.filter.graph) -> ffmpeg.filter.video

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • test (of type int?, which defaults to null): set test to perform. (default: 10, possible values: 0 (dc_luma), 1 (dc_chroma), 2 (freq_luma), 3 (freq_chroma), 4 (amp_luma), 5 (amp_chroma), 6 (cbp), 7 (mv), 8 (ring1), 9 (ring2), 10 (all))
  • t (of type int?, which defaults to null): set test to perform. (default: 10, possible values: 0 (dc_luma), 1 (dc_chroma), 2 (freq_luma), 3 (freq_chroma), 4 (amp_luma), 5 (amp_chroma), 6 (cbp), 7 (mv), 8 (ring1), 9 (ring2), 10 (all))
  • max_frames (of type int?, which defaults to null): Set the maximum number of frames generated for each test. (default: 30)
  • m (of type int?, which defaults to null): Set the maximum number of frames generated for each test. (default: 30)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.mptestsrc.create

Ffmpeg filter: Generate various test pattern.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?rate : string?, ?r : string?, ?duration : int?,
 ?d : int?, ?test : int?, ?t : int?, ?max_frames : int?,
 ?m : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • test (of type int?, which defaults to null): set test to perform. (default: 10, possible values: 0 (dc_luma), 1 (dc_chroma), 2 (freq_luma), 3 (freq_chroma), 4 (amp_luma), 5 (amp_chroma), 6 (cbp), 7 (mv), 8 (ring1), 9 (ring2), 10 (all))
  • t (of type int?, which defaults to null): set test to perform. (default: 10, possible values: 0 (dc_luma), 1 (dc_chroma), 2 (freq_luma), 3 (freq_chroma), 4 (amp_luma), 5 (amp_chroma), 6 (cbp), 7 (mv), 8 (ring1), 9 (ring2), 10 (all))
  • max_frames (of type int?, which defaults to null): Set the maximum number of frames generated for each test. (default: 30)
  • m (of type int?, which defaults to null): Set the maximum number of frames generated for each test. (default: 30)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.negate

Ffmpeg filter: Negate input video.

Type:

(?negate_alpha : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • negate_alpha (of type bool?, which defaults to null): Default: false
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.negate.create

Ffmpeg filter: Negate input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?negate_alpha : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • negate_alpha (of type bool?, which defaults to null): Default: false
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.nlmeans

Ffmpeg filter: Non-local means denoiser.

Type:

(?s : float?, ?p : int?, ?pc : int?, ?r : int?,
 ?rc : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • s (of type float?, which defaults to null): denoising strength. (default: 1.)
  • p (of type int?, which defaults to null): patch size. (default: 7)
  • pc (of type int?, which defaults to null): patch size for chroma planes. (default: 0)
  • r (of type int?, which defaults to null): research window. (default: 15)
  • rc (of type int?, which defaults to null): research window for chroma planes. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.nlmeans.create

Ffmpeg filter: Non-local means denoiser.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?s : float?, ?p : int?, ?pc : int?, ?r : int?,
 ?rc : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • s (of type float?, which defaults to null): denoising strength. (default: 1.)
  • p (of type int?, which defaults to null): patch size. (default: 7)
  • pc (of type int?, which defaults to null): patch size for chroma planes. (default: 0)
  • r (of type int?, which defaults to null): research window. (default: 15)
  • rc (of type int?, which defaults to null): research window for chroma planes. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.nlmeans_opencl

Ffmpeg filter: Non-local means denoiser through OpenCL

Type:

(?s : float?, ?p : int?, ?pc : int?, ?r : int?,
 ?rc : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • s (of type float?, which defaults to null): denoising strength. (default: 1.)
  • p (of type int?, which defaults to null): patch size. (default: 7)
  • pc (of type int?, which defaults to null): patch size for chroma planes. (default: 0)
  • r (of type int?, which defaults to null): research window. (default: 15)
  • rc (of type int?, which defaults to null): research window for chroma planes. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.nlmeans_opencl.create

Ffmpeg filter: Non-local means denoiser through OpenCL. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?s : float?, ?p : int?, ?pc : int?, ?r : int?,
 ?rc : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • s (of type float?, which defaults to null): denoising strength. (default: 1.)
  • p (of type int?, which defaults to null): patch size. (default: 7)
  • pc (of type int?, which defaults to null): patch size for chroma planes. (default: 0)
  • r (of type int?, which defaults to null): research window. (default: 15)
  • rc (of type int?, which defaults to null): research window for chroma planes. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.nnedi

Ffmpeg filter: Apply neural network edge directed interpolation intra-only deinterlacer.

Type:

(?weights : string?, ?deint : int?, ?field : int?,
 ?planes : int?, ?nsize : int?, ?nns : int?,
 ?qual : int?, ?etype : int?, ?pscrn : int?,
 ?fapprox : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • weights (of type string?, which defaults to null): set weights file. (default: nnedi3_weights.bin)
  • deint (of type int?, which defaults to null): set which frames to deinterlace. (default: 0, possible values: 0 (all), 1 (interlaced))
  • field (of type int?, which defaults to null): set mode of operation. (default: -1, possible values: -2 (af), -1 (a), 0 (t), 1 (b), 2 (tf), 3 (bf))
  • planes (of type int?, which defaults to null): set which planes to process. (default: 7)
  • nsize (of type int?, which defaults to null): set size of local neighborhood around each pixel, used by the predictor neural network. (default: 6, possible values: 0 (s8x6), 1 (s16x6), 2 (s32x6), 3 (s48x6), 4 (s8x4), 5 (s16x4), 6 (s32x4))
  • nns (of type int?, which defaults to null): set number of neurons in predictor neural network. (default: 1, possible values: 0 (n16), 1 (n32), 2 (n64), 3 (n128), 4 (n256))
  • qual (of type int?, which defaults to null): set quality. (default: 1, possible values: 1 (fast), 2 (slow))
  • etype (of type int?, which defaults to null): set which set of weights to use in the predictor. (default: 0, possible values: 0 (a), 1 (s))
  • pscrn (of type int?, which defaults to null): set prescreening. (default: 2, possible values: 0 (none), 1 (original), 2 (new))
  • fapprox (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.nnedi.create

Ffmpeg filter: Apply neural network edge directed interpolation intra-only deinterlacer.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?weights : string?, ?deint : int?, ?field : int?,
 ?planes : int?, ?nsize : int?, ?nns : int?,
 ?qual : int?, ?etype : int?, ?pscrn : int?,
 ?fapprox : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • weights (of type string?, which defaults to null): set weights file. (default: nnedi3_weights.bin)
  • deint (of type int?, which defaults to null): set which frames to deinterlace. (default: 0, possible values: 0 (all), 1 (interlaced))
  • field (of type int?, which defaults to null): set mode of operation. (default: -1, possible values: -2 (af), -1 (a), 0 (t), 1 (b), 2 (tf), 3 (bf))
  • planes (of type int?, which defaults to null): set which planes to process. (default: 7)
  • nsize (of type int?, which defaults to null): set size of local neighborhood around each pixel, used by the predictor neural network. (default: 6, possible values: 0 (s8x6), 1 (s16x6), 2 (s32x6), 3 (s48x6), 4 (s8x4), 5 (s16x4), 6 (s32x4))
  • nns (of type int?, which defaults to null): set number of neurons in predictor neural network. (default: 1, possible values: 0 (n16), 1 (n32), 2 (n64), 3 (n128), 4 (n256))
  • qual (of type int?, which defaults to null): set quality. (default: 1, possible values: 1 (fast), 2 (slow))
  • etype (of type int?, which defaults to null): set which set of weights to use in the predictor. (default: 0, possible values: 0 (a), 1 (s))
  • pscrn (of type int?, which defaults to null): set prescreening. (default: 2, possible values: 0 (none), 1 (original), 2 (new))
  • fapprox (of type int?, which defaults to null): Default: 0
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.noformat

Ffmpeg filter: Force libavfilter not to use any of the specified pixel formats for the input to the next filter.

Type:

(?pix_fmts : string?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • pix_fmts (of type string?, which defaults to null): A ‘|’-separated list of pixel formats
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.noformat.create

Ffmpeg filter: Force libavfilter not to use any of the specified pixel formats for the input to the next filter.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?pix_fmts : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • pix_fmts (of type string?, which defaults to null): A ‘|’-separated list of pixel formats
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.noise

Ffmpeg filter: Add noise.

Type:

(?all_seed : int?, ?all_strength : int?, ?alls : int?,
 ?all_flags : int?, ?allf : int?, ?c0_seed : int?,
 ?c0_strength : int?, ?c0s : int?, ?c0_flags : int?,
 ?c0f : int?, ?c1_seed : int?, ?c1_strength : int?,
 ?c1s : int?, ?c1_flags : int?, ?c1f : int?,
 ?c2_seed : int?, ?c2_strength : int?, ?c2s : int?,
 ?c2_flags : int?, ?c2f : int?, ?c3_seed : int?,
 ?c3_strength : int?, ?c3s : int?, ?c3_flags : int?,
 ?c3f : int?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • all_seed (of type int?, which defaults to null): set component #0 noise seed. (default: -1)
  • all_strength (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • alls (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • all_flags (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • allf (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c0_seed (of type int?, which defaults to null): set component #0 noise seed. (default: -1)
  • c0_strength (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • c0s (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • c0_flags (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c0f (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c1_seed (of type int?, which defaults to null): set component #1 noise seed. (default: -1)
  • c1_strength (of type int?, which defaults to null): set component #1 strength. (default: 0)
  • c1s (of type int?, which defaults to null): set component #1 strength. (default: 0)
  • c1_flags (of type int?, which defaults to null): set component #1 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c1f (of type int?, which defaults to null): set component #1 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c2_seed (of type int?, which defaults to null): set component #2 noise seed. (default: -1)
  • c2_strength (of type int?, which defaults to null): set component #2 strength. (default: 0)
  • c2s (of type int?, which defaults to null): set component #2 strength. (default: 0)
  • c2_flags (of type int?, which defaults to null): set component #2 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c2f (of type int?, which defaults to null): set component #2 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c3_seed (of type int?, which defaults to null): set component #3 noise seed. (default: -1)
  • c3_strength (of type int?, which defaults to null): set component #3 strength. (default: 0)
  • c3s (of type int?, which defaults to null): set component #3 strength. (default: 0)
  • c3_flags (of type int?, which defaults to null): set component #3 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c3f (of type int?, which defaults to null): set component #3 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.noise.create

Ffmpeg filter: Add noise.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?all_seed : int?, ?all_strength : int?, ?alls : int?,
 ?all_flags : int?, ?allf : int?, ?c0_seed : int?,
 ?c0_strength : int?, ?c0s : int?, ?c0_flags : int?,
 ?c0f : int?, ?c1_seed : int?, ?c1_strength : int?,
 ?c1s : int?, ?c1_flags : int?, ?c1f : int?,
 ?c2_seed : int?, ?c2_strength : int?, ?c2s : int?,
 ?c2_flags : int?, ?c2f : int?, ?c3_seed : int?,
 ?c3_strength : int?, ?c3s : int?, ?c3_flags : int?,
 ?c3f : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • all_seed (of type int?, which defaults to null): set component #0 noise seed. (default: -1)
  • all_strength (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • alls (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • all_flags (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • allf (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c0_seed (of type int?, which defaults to null): set component #0 noise seed. (default: -1)
  • c0_strength (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • c0s (of type int?, which defaults to null): set component #0 strength. (default: 0)
  • c0_flags (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c0f (of type int?, which defaults to null): set component #0 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c1_seed (of type int?, which defaults to null): set component #1 noise seed. (default: -1)
  • c1_strength (of type int?, which defaults to null): set component #1 strength. (default: 0)
  • c1s (of type int?, which defaults to null): set component #1 strength. (default: 0)
  • c1_flags (of type int?, which defaults to null): set component #1 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c1f (of type int?, which defaults to null): set component #1 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c2_seed (of type int?, which defaults to null): set component #2 noise seed. (default: -1)
  • c2_strength (of type int?, which defaults to null): set component #2 strength. (default: 0)
  • c2s (of type int?, which defaults to null): set component #2 strength. (default: 0)
  • c2_flags (of type int?, which defaults to null): set component #2 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c2f (of type int?, which defaults to null): set component #2 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c3_seed (of type int?, which defaults to null): set component #3 noise seed. (default: -1)
  • c3_strength (of type int?, which defaults to null): set component #3 strength. (default: 0)
  • c3s (of type int?, which defaults to null): set component #3 strength. (default: 0)
  • c3_flags (of type int?, which defaults to null): set component #3 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • c3f (of type int?, which defaults to null): set component #3 flags. (default: 0, possible values: 8 (a), 16 (p), 2 (t), 1 (u))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.normalize

Ffmpeg filter: Normalize RGB video.

Type:

(?blackpt : string?, ?whitept : string?,
 ?smoothing : int?, ?independence : float?,
 ?strength : float?, ffmpeg.filter.graph,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • blackpt (of type string?, which defaults to null): output color to which darkest input color is mapped. (default: black)
  • whitept (of type string?, which defaults to null): output color to which brightest input color is mapped. (default: white)
  • smoothing (of type int?, which defaults to null): amount of temporal smoothing of the input range, to reduce flicker. (default: 0)
  • independence (of type float?, which defaults to null): proportion of independent to linked channel normalization. (default: 1.)
  • strength (of type float?, which defaults to null): strength of filter, from no effect to full normalization. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.normalize.create

Ffmpeg filter: Normalize RGB video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?blackpt : string?, ?whitept : string?,
 ?smoothing : int?, ?independence : float?,
 ?strength : float?, ffmpeg.filter.graph) -> unit

Arguments:

  • blackpt (of type string?, which defaults to null): output color to which darkest input color is mapped. (default: black)
  • whitept (of type string?, which defaults to null): output color to which brightest input color is mapped. (default: white)
  • smoothing (of type int?, which defaults to null): amount of temporal smoothing of the input range, to reduce flicker. (default: 0)
  • independence (of type float?, which defaults to null): proportion of independent to linked channel normalization. (default: 1.)
  • strength (of type float?, which defaults to null): strength of filter, from no effect to full normalization. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.null

Ffmpeg filter: Pass the source unchanged to the output.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.null.create

Ffmpeg filter: Pass the source unchanged to the output.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.nullsink

Ffmpeg filter: Do absolutely nothing with the input video.

Type:

(ffmpeg.filter.graph, ffmpeg.filter.video) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.nullsink.create

Ffmpeg filter: Do absolutely nothing with the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(ffmpeg.filter.graph) -> unit

Arguments:

  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type unit): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.nullsrc

Ffmpeg filter: Null video source, return unprocessed video frames.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.nullsrc.create

Ffmpeg filter: Null video source, return unprocessed video frames.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.openclsrc

Ffmpeg filter: Generate video using an OpenCL program

Type:

(?source : string?, ?kernel : string?, ?size : string?,
 ?s : string?, ?format : string?, ?rate : string?,
 ?r : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • source (of type string?, which defaults to null): OpenCL program source file
  • kernel (of type string?, which defaults to null): Kernel name in program
  • size (of type string?, which defaults to null): Video size
  • s (of type string?, which defaults to null): Video size
  • format (of type string?, which defaults to null): Video format
  • rate (of type string?, which defaults to null): Video frame rate. (default: 25)
  • r (of type string?, which defaults to null): Video frame rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.openclsrc.create

Ffmpeg filter: Generate video using an OpenCL program. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?source : string?, ?kernel : string?, ?size : string?,
 ?s : string?, ?format : string?, ?rate : string?,
 ?r : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • source (of type string?, which defaults to null): OpenCL program source file
  • kernel (of type string?, which defaults to null): Kernel name in program
  • size (of type string?, which defaults to null): Video size
  • s (of type string?, which defaults to null): Video size
  • format (of type string?, which defaults to null): Video format
  • rate (of type string?, which defaults to null): Video frame rate. (default: 25)
  • r (of type string?, which defaults to null): Video frame rate. (default: 25)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.oscilloscope

Ffmpeg filter: 2D Video Oscilloscope.

Type:

(?x : float?, ?y : float?, ?s : float?, ?t : float?,
 ?o : float?, ?tx : float?, ?ty : float?, ?tw : float?,
 ?th : float?, ?c : int?, ?g : bool?, ?st : bool?,
 ?sc : bool?, ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • x (of type float?, which defaults to null): set scope x position. (default: 0.5)
  • y (of type float?, which defaults to null): set scope y position. (default: 0.5)
  • s (of type float?, which defaults to null): set scope size. (default: 0.8)
  • t (of type float?, which defaults to null): set scope tilt. (default: 0.5)
  • o (of type float?, which defaults to null): set trace opacity. (default: 0.8)
  • tx (of type float?, which defaults to null): set trace x position. (default: 0.5)
  • ty (of type float?, which defaults to null): set trace y position. (default: 0.9)
  • tw (of type float?, which defaults to null): set trace width. (default: 0.8)
  • th (of type float?, which defaults to null): set trace height. (default: 0.3)
  • c (of type int?, which defaults to null): set components to trace. (default: 7)
  • g (of type bool?, which defaults to null): draw trace grid. (default: true)
  • st (of type bool?, which defaults to null): draw statistics. (default: true)
  • sc (of type bool?, which defaults to null): draw scope. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.oscilloscope.create

Ffmpeg filter: 2D Video Oscilloscope.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : float?, ?y : float?, ?s : float?, ?t : float?,
 ?o : float?, ?tx : float?, ?ty : float?, ?tw : float?,
 ?th : float?, ?c : int?, ?g : bool?, ?st : bool?,
 ?sc : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type float?, which defaults to null): set scope x position. (default: 0.5)
  • y (of type float?, which defaults to null): set scope y position. (default: 0.5)
  • s (of type float?, which defaults to null): set scope size. (default: 0.8)
  • t (of type float?, which defaults to null): set scope tilt. (default: 0.5)
  • o (of type float?, which defaults to null): set trace opacity. (default: 0.8)
  • tx (of type float?, which defaults to null): set trace x position. (default: 0.5)
  • ty (of type float?, which defaults to null): set trace y position. (default: 0.9)
  • tw (of type float?, which defaults to null): set trace width. (default: 0.8)
  • th (of type float?, which defaults to null): set trace height. (default: 0.3)
  • c (of type int?, which defaults to null): set components to trace. (default: 7)
  • g (of type bool?, which defaults to null): draw trace grid. (default: true)
  • st (of type bool?, which defaults to null): draw statistics. (default: true)
  • sc (of type bool?, which defaults to null): draw scope. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.overlay

Ffmpeg filter: Overlay a video source on top of the input.

Type:

(?x : string?, ?y : string?, ?eof_action : int?,
 ?eval : int?, ?shortest : bool?, ?format : int?,
 ?repeatlast : bool?, ?alpha : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): set the x expression. (default: 0)
  • y (of type string?, which defaults to null): set the y expression. (default: 0)
  • eof_action (of type int?, which defaults to null): Action to take when encountering EOF from secondary input . (default: 0, possible values: 0 (repeat), 1 (endall), 2 (pass))
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 1, possible values: 0 (init), 1 (frame))
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • format (of type int?, which defaults to null): set output format. (default: 0, possible values: 0 (yuv420), 1 (yuv422), 2 (yuv444), 3 (rgb), 4 (gbrp), 5 (auto))
  • repeatlast (of type bool?, which defaults to null): repeat overlay of the last overlay frame. (default: true)
  • alpha (of type int?, which defaults to null): alpha format. (default: 0, possible values: 0 (straight), 1 (premultiplied))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.overlay.create

Ffmpeg filter: Overlay a video source on top of the input.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?eof_action : int?,
 ?eval : int?, ?shortest : bool?, ?format : int?,
 ?repeatlast : bool?, ?alpha : int?, ffmpeg.filter.graph) ->
unit

Arguments:

  • x (of type string?, which defaults to null): set the x expression. (default: 0)
  • y (of type string?, which defaults to null): set the y expression. (default: 0)
  • eof_action (of type int?, which defaults to null): Action to take when encountering EOF from secondary input . (default: 0, possible values: 0 (repeat), 1 (endall), 2 (pass))
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 1, possible values: 0 (init), 1 (frame))
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • format (of type int?, which defaults to null): set output format. (default: 0, possible values: 0 (yuv420), 1 (yuv422), 2 (yuv444), 3 (rgb), 4 (gbrp), 5 (auto))
  • repeatlast (of type bool?, which defaults to null): repeat overlay of the last overlay frame. (default: true)
  • alpha (of type int?, which defaults to null): alpha format. (default: 0, possible values: 0 (straight), 1 (premultiplied))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.overlay_opencl

Ffmpeg filter: Overlay one video on top of another

Type:

(?x : int?, ?y : int?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • x (of type int?, which defaults to null): Overlay x position. (default: 0)
  • y (of type int?, which defaults to null): Overlay y position. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.overlay_opencl.create

Ffmpeg filter: Overlay one video on top of another. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : int?, ?y : int?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type int?, which defaults to null): Overlay x position. (default: 0)
  • y (of type int?, which defaults to null): Overlay y position. (default: 0)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.overlay_qsv

Ffmpeg filter: Quick Sync Video overlay.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?alpha : int?, ?eof_action : int?, ?shortest : bool?,
 ?repeatlast : bool?, ffmpeg.filter.graph,
 ffmpeg.filter.video, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • x (of type string?, which defaults to null): Overlay x position. (default: 0)
  • y (of type string?, which defaults to null): Overlay y position. (default: 0)
  • w (of type string?, which defaults to null): Overlay width. (default: overlay_iw)
  • h (of type string?, which defaults to null): Overlay height. (default: overlay_ih*w/overlay_iw)
  • alpha (of type int?, which defaults to null): Overlay global alpha. (default: 255)
  • eof_action (of type int?, which defaults to null): Action to take when encountering EOF from secondary input . (default: 0, possible values: 0 (repeat), 1 (endall), 2 (pass))
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • repeatlast (of type bool?, which defaults to null): repeat overlay of the last overlay frame. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.overlay_qsv.create

Ffmpeg filter: Quick Sync Video overlay.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?x : string?, ?y : string?, ?w : string?, ?h : string?,
 ?alpha : int?, ?eof_action : int?, ?shortest : bool?,
 ?repeatlast : bool?, ffmpeg.filter.graph) -> unit

Arguments:

  • x (of type string?, which defaults to null): Overlay x position. (default: 0)
  • y (of type string?, which defaults to null): Overlay y position. (default: 0)
  • w (of type string?, which defaults to null): Overlay width. (default: overlay_iw)
  • h (of type string?, which defaults to null): Overlay height. (default: overlay_ih*w/overlay_iw)
  • alpha (of type int?, which defaults to null): Overlay global alpha. (default: 255)
  • eof_action (of type int?, which defaults to null): Action to take when encountering EOF from secondary input . (default: 0, possible values: 0 (repeat), 1 (endall), 2 (pass))
  • shortest (of type bool?, which defaults to null): force termination when the shortest input terminates. (default: false)
  • repeatlast (of type bool?, which defaults to null): repeat overlay of the last overlay frame. (default: true)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video, ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.owdenoise

Ffmpeg filter: Denoise using wavelets.

Type:

(?depth : int?, ?luma_strength : float?, ?ls : float?,
 ?chroma_strength : float?, ?cs : float?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • depth (of type int?, which defaults to null): set depth. (default: 8)
  • luma_strength (of type float?, which defaults to null): set luma strength. (default: 1.)
  • ls (of type float?, which defaults to null): set luma strength. (default: 1.)
  • chroma_strength (of type float?, which defaults to null): set chroma strength. (default: 1.)
  • cs (of type float?, which defaults to null): set chroma strength. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.owdenoise.create

Ffmpeg filter: Denoise using wavelets.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?depth : int?, ?luma_strength : float?, ?ls : float?,
 ?chroma_strength : float?, ?cs : float?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • depth (of type int?, which defaults to null): set depth. (default: 8)
  • luma_strength (of type float?, which defaults to null): set luma strength. (default: 1.)
  • ls (of type float?, which defaults to null): set luma strength. (default: 1.)
  • chroma_strength (of type float?, which defaults to null): set chroma strength. (default: 1.)
  • cs (of type float?, which defaults to null): set chroma strength. (default: 1.)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.pad

Ffmpeg filter: Pad the input video.

Type:

(?width : string?, ?w : string?, ?height : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?color : string?, ?eval : int?, ?aspect : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • width (of type string?, which defaults to null): set the pad area width expression. (default: iw)
  • w (of type string?, which defaults to null): set the pad area width expression. (default: iw)
  • height (of type string?, which defaults to null): set the pad area height expression. (default: ih)
  • h (of type string?, which defaults to null): set the pad area height expression. (default: ih)
  • x (of type string?, which defaults to null): set the x offset expression for the input image position. (default: 0)
  • y (of type string?, which defaults to null): set the y offset expression for the input image position. (default: 0)
  • color (of type string?, which defaults to null): set the color of the padded area border. (default: black)
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • aspect (of type string?, which defaults to null): pad to fit an aspect instead of a resolution. (default: 0/1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.pad.create

Ffmpeg filter: Pad the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?width : string?, ?w : string?, ?height : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?color : string?, ?eval : int?, ?aspect : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • width (of type string?, which defaults to null): set the pad area width expression. (default: iw)
  • w (of type string?, which defaults to null): set the pad area width expression. (default: iw)
  • height (of type string?, which defaults to null): set the pad area height expression. (default: ih)
  • h (of type string?, which defaults to null): set the pad area height expression. (default: ih)
  • x (of type string?, which defaults to null): set the x offset expression for the input image position. (default: 0)
  • y (of type string?, which defaults to null): set the y offset expression for the input image position. (default: 0)
  • color (of type string?, which defaults to null): set the color of the padded area border. (default: black)
  • eval (of type int?, which defaults to null): specify when to evaluate expressions. (default: 0, possible values: 0 (init), 1 (frame))
  • aspect (of type string?, which defaults to null): pad to fit an aspect instead of a resolution. (default: 0/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.pad_opencl

Ffmpeg filter: Pad the input video.

Type:

(?width : string?, ?w : string?, ?height : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?color : string?, ?aspect : string?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • width (of type string?, which defaults to null): set the pad area width. (default: iw)
  • w (of type string?, which defaults to null): set the pad area width. (default: iw)
  • height (of type string?, which defaults to null): set the pad area height. (default: ih)
  • h (of type string?, which defaults to null): set the pad area height. (default: ih)
  • x (of type string?, which defaults to null): set the x offset for the input image position. (default: 0)
  • y (of type string?, which defaults to null): set the y offset for the input image position. (default: 0)
  • color (of type string?, which defaults to null): set the color of the padded area border. (default: black)
  • aspect (of type string?, which defaults to null): pad to fit an aspect instead of a resolution. (default: 0/1)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.pad_opencl.create

Ffmpeg filter: Pad the input video.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?width : string?, ?w : string?, ?height : string?,
 ?h : string?, ?x : string?, ?y : string?,
 ?color : string?, ?aspect : string?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • width (of type string?, which defaults to null): set the pad area width. (default: iw)
  • w (of type string?, which defaults to null): set the pad area width. (default: iw)
  • height (of type string?, which defaults to null): set the pad area height. (default: ih)
  • h (of type string?, which defaults to null): set the pad area height. (default: ih)
  • x (of type string?, which defaults to null): set the x offset for the input image position. (default: 0)
  • y (of type string?, which defaults to null): set the y offset for the input image position. (default: 0)
  • color (of type string?, which defaults to null): set the color of the padded area border. (default: black)
  • aspect (of type string?, which defaults to null): pad to fit an aspect instead of a resolution. (default: 0/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.pal100bars

Ffmpeg filter: Generate PAL 100% color bars.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.pal100bars.create

Ffmpeg filter: Generate PAL 100% color bars.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.pal75bars

Ffmpeg filter: Generate PAL 75% color bars.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) ->
ffmpeg.filter.video

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

ffmpeg.filter.pal75bars.create

Ffmpeg filter: Generate PAL 75% color bars.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?size : string?, ?s : string?, ?rate : string?,
 ?r : string?, ?duration : int?, ?d : int?,
 ?sar : string?, ffmpeg.filter.graph) -> unit

Arguments:

  • size (of type string?, which defaults to null): set video size. (default: 320x240)
  • s (of type string?, which defaults to null): set video size. (default: 320x240)
  • rate (of type string?, which defaults to null): set video rate. (default: 25)
  • r (of type string?, which defaults to null): set video rate. (default: 25)
  • duration (of type int?, which defaults to null): set video duration. (default: -1)
  • d (of type int?, which defaults to null): set video duration. (default: -1)
  • sar (of type string?, which defaults to null): set video sample aspect ratio. (default: 1/1)
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type () -> unit): Set the filter’s input(s)

ffmpeg.filter.palettegen

Ffmpeg filter: Find the optimal palette for a given stream.

Type:

(?max_colors : int?, ?reserve_transparent : bool?,
 ?transparency_color : string?, ?stats_mode : int?,
 ffmpeg.filter.graph, ffmpeg.filter.video) ->
ffmpeg.filter.video

Arguments:

  • max_colors (of type int?, which defaults to null): set the maximum number of colors to use in the palette. (default: 256)
  • reserve_transparent (of type bool?, which defaults to null): reserve a palette entry for transparency. (default: true)
  • transparency_color (of type string?, which defaults to null): set a background color for transparency. (default: lime)
  • stats_mode (of type int?, which defaults to null): set statistics mode. (default: 0, possible values: 0 (full), 1 (diff), 2 (single))
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.palettegen.create

Ffmpeg filter: Find the optimal palette for a given stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?max_colors : int?, ?reserve_transparent : bool?,
 ?transparency_color : string?, ?stats_mode : int?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • max_colors (of type int?, which defaults to null): set the maximum number of colors to use in the palette. (default: 256)
  • reserve_transparent (of type bool?, which defaults to null): reserve a palette entry for transparency. (default: true)
  • transparency_color (of type string?, which defaults to null): set a background color for transparency. (default: lime)
  • stats_mode (of type int?, which defaults to null): set statistics mode. (default: 0, possible values: 0 (full), 1 (diff), 2 (single))
  • (unlabeled) (of type ffmpeg.filter.graph)

Methods:

  • output (of type ffmpeg.filter.video): Filter output(s)
  • process_command (of type (?fast : bool, string, string) -> string): process_command(?fast, "command", "argument") sends the given command to this filter. Set fast to true to only execute the command when it is fast.
  • set_input (of type (ffmpeg.filter.video) -> unit): Set the filter’s input(s)

ffmpeg.filter.paletteuse

Ffmpeg filter: Use a palette to downsample an input video stream.

Type:

(?dither : int?, ?bayer_scale : int?, ?diff_mode : int?,
 ?new : bool?, ?alpha_threshold : int?,
 ?debug_kdtree : string?, ?color_search : int?,
 ?mean_err : bool?, ?debug_accuracy : bool?,
 ffmpeg.filter.graph, ffmpeg.filter.video,
 ffmpeg.filter.video) -> ffmpeg.filter.video

Arguments:

  • dither (of type int?, which defaults to null): select dithering mode. (default: 5, possible values: 1 (bayer), 2 (heckbert), 3 (floyd_steinberg), 4 (sierra2), 5 (sierra2_4a))
  • bayer_scale (of type int?, which defaults to null): set scale for bayer dithering. (default: 2)
  • diff_mode (of type int?, which defaults to null): set frame difference mode. (default: 0, possible values: 1 (rectangle))
  • new (of type bool?, which defaults to null): take new palette for each output frame. (default: false)
  • alpha_threshold (of type int?, which defaults to null): set the alpha threshold for transparency. (default: 128)
  • debug_kdtree (of type string?, which defaults to null): save Graphviz graph of the kdtree in specified file
  • color_search (of type int?, which defaults to null): set reverse colormap color search method. (default: 0, possible values: 0 (nns_iterative), 1 (nns_recursive), 2 (bruteforce))
  • mean_err (of type bool?, which defaults to null): compute and print mean error. (default: false)
  • debug_accuracy (of type bool?, which defaults to null): test color search accuracy. (default: false)
  • (unlabeled) (of type ffmpeg.filter.graph)
  • (unlabeled) (of type ffmpeg.filter.video)
  • (unlabeled) (of type ffmpeg.filter.video)

ffmpeg.filter.paletteuse.create

Ffmpeg filter: Use a palette to downsample an input video stream.. Use this operator to initiate the filter independently of its inputs, to be able to send commands to the filter instance.

Type:

(?dither : int?, ?bayer_scale : int?, ?diff_mode : int?,
 ?new : bool?, ?alpha_threshold : int?,
 ?debug_kdtree : string?, ?color_search : int?,
 ?mean_err : bool?, ?debug_accuracy : bool?,
 ffmpeg.filter.graph) -> unit

Arguments:

  • dither (of type int?, which defaults to null): select dithering mode. (default: 5, possible values: 1 (bayer), 2 (heckbert), 3 (floyd_steinberg), 4 (sierra2), 5 (sierra2_4a))
  • b