AnsweredAssumed Answered

Sample application for encoding using VPU

Question asked by Dhaval Vadhar on Sep 1, 2015
Latest reply on Sep 9, 2015 by Dhaval Vadhar

Hi,

 

I am trying to develop a sample application to encode 720x480 raw YUV video to H.264. That raw video is in UYVY format. So before developing one of my own encoding application I tried to encode this raw video using 'mxc_vpu_test' application. For that I used following command:

 

$ ./mxc_vpu_test.out -E "-i capturedata.yuv -o encodedata.h264 -f 2 -c 60 -w 720 -h 480"

 

This has generate the encodedata.h264 file. But when I played it on VLC player, the video was corrupted (see following snapshot).

 

corrupt_encoded_video_snapshot.jpg

 

Am I doing something wrong?

 

Thanks,

Dhaval

Outcomes