# Deinterlacing * **QTGMC** ```python= import havsfunc as haf # havsfunc script required video = haf.QTGMC(video, Preset="Slower", TFF=True) # Double the frames video = haf.QTGMC(video, Preset="Slower", TFF=True, FPSDivisor=2) # Single rate output ``` :::info The most confusing thing about qtgmc is when to use it. Generally: * **Interlaced content**: live performances, variety shows. Typical formats: .ts/.tp/.m2ts * **Progressive content**: fancams, vlive/instagram videos, some variety shows (basically 1080p/720p/480p/..., anything with a p. Typical formats: .mp4/.avi qtgmc is designed to work with interlaced video. Don't waste your time with fancams, it won't do shit. ::: An example: <center><img src="https://66.media.tumblr.com/f8be9209d7eaa72d80d6faff7d6976d4/f0782a2b9da2ca98-df/s400x600/ad1c50a101123b3f2cfae903a1edb69b10ed2440.gif"><img src="https://66.media.tumblr.com/69d013cb69f59213aac7cba7eef5c48e/f0782a2b9da2ca98-fc/s400x600/19648b8d7c58fc0a474b1fc04f0971449f45083c.gif"></center>