Vapoursynth TFMBob
TFMBob is a "smart bobber": it first tries to rebuild progressive frames by field matching and only interpolates the frames that stay combed. The output has double frame rate.
Filtering → (De-)Interlace/Telecine → Deinterlacer

What it does
TFMBob runs the field matcher TFM twice, once for each field phase, and interleaves both results. Progressive content keeps its full detail (each picture simply appears twice), while truly interlaced parts are bobbed by NNEDI3 or QTGMC. This avoids the shimmer a plain bobber causes on mostly progressive or mixed material.
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Deinterlacer | – (function) | NNEDI3, QTGMC | NNEDI3 | Bobber for combed frames: NNEDI3, or QTGMC with preset Fast. |
| PP | PP | 0 – 7 | 6 (motion-adaptive cubic) | TFM post-processing of combed frames; with the values that deinterlace, the bobbed frame is used. |
| MI | MI | 0 – 4194304 | 80 | Number of combed pixels inside one block above which a frame counts as combed. |
| Chroma threshold | cthresh | −1 – 255 | 9 | Combing threshold (pixel difference, 8-bit scale); despite the label it is not chroma specific. |
| Chroma | chroma | on/off | off | Include chroma in the combed-frame decision. |
| Tools | – | nnedi3 family, or the QTGMC families | – | Implementations of the bobber's plugins. |
Values are only written when they differ from the defaults (Hybrid's defaults are the script's).
Example
Default settings on an 8-bit YUV 4:2:0 interlaced source (704x576, 25 fps, top field first):
clip = TFMBob.TFMBobN(clip, tools={'mv': 'mvutensils', 'expr': 'akarin', 'nnedi3': 'znedi3', 'eedi3': 'vszip', 'dfttest': 'neo_fft', 'nlmeans': 'knlm', 'bm3d': 'bm3d', 'rg': 'zsmooth', 'median': 'zsmooth', 'fft3d': 'neo_fft', 'grain': 'noise'})
# Making sure content is perceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
How Hybrid calls it
- Field order: read from the field order property Hybrid sets after the source (detected scan type or Overwrite input scan type); TFM, NNEDI3 and QTGMC all follow it.
- Output frame rate: always double rate (one frame per field).
- Afterwards the clip counts as progressive. No decimation.
- Works on 8–16-bit YUV 4:2:0, 4:2:2 and 4:4:4. The thresholds stay on the 8-bit scale; TFM scales them.
Background
TFMBob is a VapourSynth port of jagabo's AviSynth functions TFMBobN (with NNEDI3) and TFMBobQ (with QTGMC), shipped with Hybrid's scripts. It uses TFM from the TIVTC plugin with the bobbed frames as replacement clip for combed frames.
Sources
- vapoursynth-tivtc README (TFM)
- Hybrid's tooltips