@libreleah does vlc (or any other video player) able to play the video at all?
If yes. Just play the video and skip over to see which part was corrupted. Then cut those parts off. (But i think it's no use anyway).
Or try to convert them i to other format.
If not possibly corrupted even before encoding take places.
Solution? No chance