encode yuv422 to h264
improved