How to discard broken frames from MP4 file with FFMPEG

I have a partially broken MP4. Sometimes the playback just freeze, so that only the top of the content have some garbage and the rest of the frame is empty.

Is there any tricks in ffmpeg to remove those frames?

Naturally I have tried all kind of basic things, like repackaging the mp4 and re-encode it to mp4.
The file was not playable originally so it was fixed with untrunk first. And got the same results also with Fix.Video

I believe answering this question is impossible without having a sample file.

Read more here: Source link