VapourSynth r25 documentation
previous | next | index

# DoubleWeave

`std.``DoubleWeave`(clip clip, bint tff)

  Weaves the fields back together from a clip with interleaved fields.

  Since VapourSynth has no notion of field order internally, tff must be set. Setting tff to true means top fields first and false means bottom fields first.

  DoubleWeave’s output has the same number of frames as the input. One must use DoubleWeave together with SelectEvery to undo the effect of SeparateFields:

      sep = c.std.SeparateFields(source, tff=True)
      # maybe do stuff to the fields here
      woven = c.std.DoubleWeave(sep, tff=True)
      woven = c.std.SelectEvery(woven, 2, 0)