Thanks for trying.
Take into account the source video has odd format 1920 x 1088 ...
No, the sample source format I provide is 1080.
The 1088 you see opening, is the rounding by 16 of 1080 by AVDM with some 1080 videos (still a issue).
But not a problem, since 'crop filter' hides it, cropping the 8 ghost bottom lines.
the issue is there when you choose in Output Format: MP4 muxer and not with MP4v2 muxer
Yes, 'MP4v2 Muxer' doesn't stop the encoding process on the 'bad' sequence :
13.920,
21, 40, 80, 14.120, 160, 200, 240, 280,
320missing, 14.360 secondes).
Frame 14.320 is skipped (to much errors in the GOP ?, or resync decision due to 21 ?).
And finally the result is good, silently encoding the 'bad' sequence.
Mp4v2 is a good choice here.
_____________
Otherside, wanting to be aware of 'too much errors' somewhere in a video,
'MP4 Muxer' is my first choice for now.
If you know, in clean situation, what has 'MP4v2 Muxer' much to offer over 'MP4 Muxer' ...