What is FFMPEG? Start with FFMPEG home page
The most common format is YUV4:2:0 planar 8-bit (YUV420p). For yuv to uncompressed avi conversion use command:
ffmpeg.exe -s 352x288 -vcodec rawvideo -f rawvideo -pix_fmt yuv420p -i
in.yuv -sameq out.avi
where framesize is set with -s 352x288
And for avi to yuv conversion use command:
ffmpeg -i in.avi -vcodec rawvideo -pix_fmt yuv420p -o out.yuv
Converts any input to 420 planar yuv.