Fixing screen flicker / screen tearing
The propose algorithm can be implemented using Blender's Compositor.

Here's a working project file:
https://is.gd/TeA4xC

You need to supply the same video file as input to three input nodes - each with a specified frame offset.

This is capable of removing flickers that last no longer than 1 frame.

I tried using this for my footage, but I had issues with A/V sync after remuxingthe result with the original audio, so I dropped the idea.

Here's how the example clip looks like after being processed with this file:

                
            

You can tell the flicker is much less pronounced. There are some artifacts, but they are way less distracting.

Hopefully someone will find this useful - I ultimately didn't :/

Enjoy.