How do I convert the record files which are generated in a YUV format to other formats like avi or mov which can be played by commercial video players?
You can use ffmpeg to easily convert between YUV to your desired video format. The command to be used is-
ffmpeg.exe -pix_fmt uyvy422 -s 320x240 -i <input yuv file> -c:v copy -vtag 2uvy -y <output filename and format eg out.avi>
Retrieving data ...