The major cause behind SLOB being stuck on testing recording encoders is bad internet connection.   Testing may stop at any point like 50% or 60% and that basically happens when your internet fluctuates a lot. Better check your internet speed, restart your modem and device. Additionally you can also skip optimization, on the start auto optimization screen at the bottom right you will find an option of skip.