Intermittent hardware encoding failure

Looks like it starts out with your hardware encoder but then your graphics driver has trouble encoding the video:

2018-02-14T05:56:03 MCEBuddy.AppWrapper.Handbrake → Encoding: task 1 of 1, 63.84 % (63.48 fps, avg 61.60 fps, ETA 00h06m25s)Error code -21, hb_qsv_wait_on_sync 602
2018-02-14T05:56:03 MCEBuddy.AppWrapper.Handbrake → ERROR: encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)

I know Intel graphics drivers are very quirky and unstable so it can be difficult to find the right now. We have (I think) 3 drivers listed on our recommendation page. Did you try all 3? These are recommended on community feedback and general testing and are relatively stable for hardware encoding purposes.

If none of those three work try to use one of these drivers:

  1. The latest intel driver from Windows Update (uninstall all your old drivers and then have windows update install the latest one)
  2. Install the latest WHQL certified driver from the Intel website
  3. Install the latest driver available on the Intel website

Keep us posted on how it goes