Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Built-in filters

Official built-in filters register under std. The FFMS2-backed source(...) call is documented alongside them because it is the normal entry point for clips used with those filters.

For the canonical pixel format and color metadata strings accepted by source, convert_format, convert_colorspace, and merge_planes, see Format and color metadata strings.

Call forms

  • Use bare source(...) for FFMS2 input.
  • Use std.<filter>(input, #{ ... }) or clip.std.<filter>(#{ ... }) for one-input built-in filters such as resize, crop, and convert_colorspace.
  • Use array input form for multi-input filters such as std.merge_planes([y, u, v], #{ format: "yuv420p8" }) and std.copy_props([metadata_source, target]).

Filter families

  • source input: source(...)
  • conversion: convert_bit_depth, convert_colorspace, convert_format
  • spatial: crop, resize, split_plane, merge_planes
  • metadata: set_prop, clear_prop, copy_props, require_prop
  • temporal: assume_fps, select, trim