Solution works for my case as well. Same kind of Error Message. No Cloud used at all.
Cause: Encoding process was terminated abruptly by process killing (accidental/unexpected logging off, shutdown)
OS: Windows 7 Ultimate x64
Status: Solution to overwrite amtlib.dll worked
Thank you!