I'm trying to use the vpu encoder for encoding yuv stream from my camera to H264.
My camera (Microsoft LiveCam 1080p) generates YUYV format. I tried to give this raw file to the encoder test app (./mxc-vpu-test -E "-i itzik.yuv -w 640 -h 480 -f 2 -o itzik2.h264"), but i got corrupted H264 file.
Is this possible at all? If not, What should I do to get it encoded (This is the only YUV i can get from my camera)?