/FFTSpectrum

A VapourSynth filter that displays the FFT frequency spectrum of a given clip.

Primary LanguageCGNU General Public License v2.0GPL-2.0

FFTSpectrum

A VapourSynth filter that displays the FFT frequency spectrum of a given clip. Supposedly useful for determining original resolution of upscaled anime content.

Usage

fftspectrum.FFTSpectrum(clip clip, bint grid=False)
  • clip - Clip to process. It must have constant format and dimensions, and a luma plane with 8-bit integer samples.
  • grid - Specifies whether a grid with origin at the center of the image and spacing of 100 pixels should be drawn over the resulting spectrum.

Examples

Without grid: No grid

With grid: With grid

Credits

FFTSpectrum is based on the AviUtl filter with the same name, written by Hiroaki Gotou in 2008.