A vapoursynth python script for auto interlacing detection and deinterlace