Improved checks for x264 failures