Run
ffmpeg -v error -i infile.mp4 -f null - 2>error.log
Then inspect error.log. File will be blank if no errors.