This question arose occasionally here and I didn't really see any proper solution to it. Stabilizing filters like depan or mvdepan was not enough, in which the inner part of the frame still fluctuate like crazy on playback. Here's my attempt to clean it up Code:
Something I liked to do with old anime was stab with a high dy/xmax + msmooth for "edge noise" or ringing + (for hard cases) temporaldegrain with a fft3d prefiltered clip + dithering (overkill, maybe, but for crappy sources.....) For line flickering, by LaTo : Code:
After using stab() on sample1 it looks like the frames are stretching and squishing vertically. And in some frames only parts of the frame appear to stretch from one frame to the next. That might be why stab() can't really stabilize the picture. I tried using zoom estimation to compensate for this but no luck. I wonder if an incorrect deinterlace or IVTC could be at fault here? Like somehow the wrong fields in different parts of the frame were weaved.
@onesloth Yes, stab() or any other stabilizing filter alone will not work on this, nor does any temporal smoother. And I think this flickering problem doesn't have anything to do with IVTC, since most old anime in the 90s were like that. @toof I change the strength to 1 in that deflickering script, and it works fine in all three samples now, yay. One minor problem is the small flickering on the top and bottom of the frame sometime, but I can live with that. I'll put the script here just for future references: Code:
to dig this thread back up, as I learn more about how the mt_merge and mt_edge work, i can concluded, in my many tests the last two days, the key of the whole thing is the sigma value of the fft3dgpu/fft3dfilter, setting it to 4 or 5 will basically get the job done. And the temporaldegrain script is not necessary. So the updated script will be: Code:
--------------------- Oh wait, was she a great big fat person?