Add support for yuv input and h.264 output