finally find the bug which caused by wrong width of capture. allow setup chromeformat when initialize myx264, however, it seems x264 internally only supports 420p. need more testing to confirm