Could someone please help me to detect what type of source I have in this video and how to deinterlace de video appropriately, using avisynth script

I don't need help with any program to do it automatically I need help with "using avisynth script" thanks for the help.

here is a small piece of the video in mkv

https://www.mediafire.com/file/fvke9h04xqzd4jt/Taste_00006_%25281%2529.mkv/file

and please someone has some guide to be able to detect these difficult cases, I already tried with megui's automatic detection, I searched all over the internet and I can not deinterlace this video properly, if you know any method or any program that detects it automatically please help I have tried many hours everything and nothing, I suppose it will come down to experience and a good eye in the end, but surely there must be a method. thank you