> Your quality issue may simply be the result of going from rgb input to yuv output. this was indeed the case since, as I found in the source, yuv420p (~12bpp) is the only format supported by this codec.