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)?
Solved! Go to Solution.
I have some other questions:
1. Can you explain me what is the sliceMode parameter in the encoder?
2. What the differences between the available modes? Is sliceSize related to NALU Size?
3. i saw that the encoder only supports Base profile, but i didn't see any limitation regarding to set H264 level. Can you explain me how to set the level for the encoder?