Due to a bug with Nvidia Shadowplay, I have a bunch of videos that look like this. A bunch of random frames have been replaced with pure black frames.
I'd like to fix one of these videos to remove the flickering. I saw an answer here which suggests the following ffmpeg command:
ffmpeg -i in.mp4 -vf blackframe=0,metadata=select:key=lavfi.blackframe.pblack:value=50:function=less -vsync cfr -c:a copy out.mp4
However, this replaces all the black frames with the most recent non-black frame, which makes the video look like a slideshow.
Is there any way to use a similar ffmpeg command (or any other tool) to use motion interpolation to fix the missing frames?