@K.i.N.G
Assuming that StaxRip uses avisynth (think it does), then maybe below of use
Mainly pointing out the problem with convertToY/Y8, and a way around the problem.
EDIT: Not sure if technically correct to just re-use raw UV without some kind of chroma shift for YUV444, maybe post in Avisynth usage to find out.