use ffmpeg to create script that crop yuv encoder input to width and height that are complete division of the base size unit, example : 4x4.