Autodeint

a lua script to automatically insert the right deinterlacing filter based on lavfi=idet. This depends on a pending patch to ffmpeg to put the reqiured metadata in the avframe.