Some AviSynth script function to make video compositing and editing easier, with examples.